Comments (11)
Have you installed gperf and added path to it to the %PATH% environment variable?
from td.
After installing Windows 10 SDK with VS Build Tools installer it compiled. Don't know what it was.
from td.
@levlam I also have such problem. Did all as said in instruction. gperf
is working fine from cmd
(of course everywhere, not only in his directory).
from td.
@levlam yeah. i install gperf completly
from td.
Could you try to manually run from the <path to TDLib sources>/tdutils/generate/ directory command
powershell -ExecutionPolicy ByPass " & gperf -m100 --output-file=auto/mime_type_to_extension.cpp auto/mime_type_to_extension.gperf"
?
from td.
I can't use it with Golang, so just publish here precompiled binaries, maybe will be usefull for someone:
https://drive.google.com/open?id=17xL9TVWlsuPyok7j6FgZ-BJhsV1ZocjE
MSVC, x64.
from td.
L11R: you build is x32, not x64
From dumpbin /headers tdjson.dll:
FILE HEADER VALUES
14C machine (x86)
from td.
This is win64 build: https://drive.google.com/open?id=1j2AADHKj2NJi1LrXoC63oPAqlYf09fP5
For build you need gperf in PATH, vcpkg and cmake
If you want build x64 version you need use x64 vcpkg triplet and x64 cmake generator:
.\vcpkg --triplet x64-windows install openssl zlib
[go to td dir]
mkdir build
cd build
cmake -DCMAKE_TOOLCHAIN_FILE=C:\src\vcpkg\scripts\buildsystems\vcpkg.cmake -DVC
PKG_TARGET_TRIPLET=x64-windows -DCMAKE_GENERATOR_PLATFORM=x64 ..
cmake --build . --config Release
from td.
We (vcpkg) should detect VCPKG_TARGET_TRIPLET
correctly, so it should work with just:
cmake .. -DCMAKE_TOOLCHAIN_FILE=…/vcpkg.cmake -A x64
from td.
@ras0219-msft Please tell your colleagues that it's impossible to use windows 10 in the modern world.
For coding in general, a terrible operating system. The speed of my hands is higher than the speed of the operating system.
Please.
from td.
Error message, shown when gperf is not found, should be much better in TDLib 1.2.0.
from td.
Related Issues (20)
- Disable storing messages HOT 6
- Forum groups view counter is broken HOT 1
- noob question HOT 1
- A question about receiving messages HOT 2
- How many times can the login code be incorrect HOT 3
- Linux is not an operating system, Linux is kernel. HOT 3
- فهد السواط
- chatMemberStatusAdministrator not work HOT 2
- Error while trying to create a chat by `createNewSupergroupChat` HOT 1
- Website support does not respond HOT 4
- updateNewMessage returns message.id which is not unique for the chat it belongs HOT 2
- Tdlib not working on android 14. (Flutter) HOT 5
- Program Bug Bounty
- Th
- Build tdlib on Windows: cannot open include file: 'td/mtproto/mtproto_api.h': No such file or directory HOT 3
- tdlib Java example on Windows: fatal error on the latest build (f013f47) HOT 16
- "Request is empty" Error When running the Java TDLib Application HOT 5
- Firebase cloud messages current protocol will be removed this month HOT 2
- Use of deleted function when casting update_new_message to messagePhoto(trying to get caption) HOT 3
- How to destroy an object created by td_create_client_id HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from td.