Closed rdataforge closed 11 months ago
Did you follow https://tdlib.github.io/td/build.html?language=Other and checked the option "Install built TDLib to /usr/local instead of placing the files to td/tdlib"? Did you install all the mentioned development dependencies "Git, g++ >= 4.9.2, make, CMake >= 3.0.2, OpenSSL-dev, zlib-dev, gperf, PHP"?
Yes, all dependencies are in place and followed the link to generate commands. Missed the check option referring to /usr/local, my bad. Thanks for pointing it out
Getting a similar issue for C# UWP, "cp build-uwp/vsix/tdlib.vsix ../../../tdlib" fails because it cannot find tdlib.vsix Looking into the td folder tdlib.vsix is literally nowhere to be found even if I wanted to fix the path myself
EDIT: Turns out I get a cmake error saying it cannot find gperf.
EDIT 2: Installed gperf on my system, now it complains that No CMAKE_CXX_COMPILER could be found
:
-- Building for: Visual Studio 17 2022 CMake Deprecation Warning at CMakeLists.txt:1 (cmake_minimum_required): Compatibility with CMake < 3.5 will be removed from a future version of CMake.
Update the VERSION argument
value or use a ... suffix to tell CMake that the project does not need compatibility with older versions. -- Selecting Windows SDK version 10.0.22621.0 to target Windows 10.0. -- The CXX compiler identification is unknown -- The C compiler identification is unknown CMake Error at CMakeLists.txt:9 (project): No CMAKE_CXX_COMPILER could be found.
CMake Error at CMakeLists.txt:9 (project): No CMAKE_C_COMPILER could be found.
@GuidoBelluomo Follow the build instructions at https://tdlib.github.io/td/build.html?language=C%23.
The first step is "Download and install Microsoft Visual Studio. Enable C++ and Windows 10 SDK support while installing." Hence, recheck that UWP support is enabled. Also, don't forget to "Close and re-open PowerShell if the PATH environment variable was changed."
@GuidoBelluomo Follow the build instructions at https://tdlib.github.io/td/build.html?language=C%23.
The first step is "Download and install Microsoft Visual Studio. Enable C++ and Windows 10 SDK support while installing." Hence, recheck that UWP support is enabled. Also, don't forget to "Close and re-open PowerShell if the PATH environment variable was changed."
I "enabled C++", in fact I enabled a whole bunch of C++ add-ons just to be safe. I also enabled UWP, thing is that it seems to compile a lot of things but still fails at some point.
How does it fail?
How does it fail?
Just like I showed earlier, I'll do the whole thing again on my home computer and see how that goes to also get a full log if possible
No CMAKE_CXX_COMPILER could be found.
The error means that compiler/UWP support installation isn't complete.
@levlam
Are you sure that is it? It's finding the compiler three times before failing at the fourth time, whatever it is doing there.
Also, it's installed
It fails to find UWP toolset for ARM.
This problem still exists; can you please add these instructions on github.com/tdlib/td to go to that HTML file?
@dchmelik What problem still exists?
I am building tdlib into my Arch linux to be available for telega (telegram emacs implementation) but I dont know where tdlib is located and telega keeps saying there is no tdlib in /usr/lib
where is tdlib located?