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)
- [ 1][t 0][1722393961.183200836][tl_jni_object.cpp:39] Can't find field [reaction] with signature [Ljava/lang/String;] HOT 16
- مساعدة HOT 6
- Error to run tdlib in springboot project in windows 10 HOT 17
- Tdlib version 1.8.34 error `400 Chat not found` HOT 2
- How should I remove the Tdlib version information at the end of the login information? HOT 5
- when i build example cpp ,i got this : TdConfig.cmake, version: 1.8.34 (32bit) HOT 2
- Current build scripts does not generate dSYMs which may cause warnings under Xcode 16 HOT 10
- Signaler
- Can't build android tdlib HOT 6
- How to Set a Timeout for TdApi.DownloadFile in Java with tdlib? HOT 5
- > _ No description provided. _
- TdApi.getRemoteFile return size = 0 for existing file HOT 2
- Mutliple Client on Springboot java HOT 3
- wasm size HOT 2
- Invalid phone number error on fragment numbers HOT 11
- "searchUserByPhoneNumber" Method Returns 404 on Production Server HOT 3
- https://github.com/tdlib/td/issues/3006#issue-2438111346
- How to disable saving files to disk? (use_file_database=false don't help) HOT 2
- /assets/images/electrocat.png HOT 1
- Creating an instance of inputFile HOT 2
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.