Closed Dear-Jn closed 2 months ago
The error "The following configuration files were considered but not accepted:" means that you build TDLib for x86, but trying to build the example for x64/ARM64. You need to specify the same -A
parameter to cmake as was specified during TDLib building.
The error "The following configuration files were considered but not accepted:" means that you build TDLib for x86, but trying to build the example for x64/ARM64. You need to specify the same
-A
parameter to cmake as was specified during TDLib building.
Thank you very much, it is working now, thank you.😄
C:\Users\Administrator\td\example\cpp\build (master) $ cmake -DCMAKE_BUILD_TYPE=Debug -DTd_DIR=C:/Users/Administrator/td/example/cpp/td/lib/cmake/Td .. 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.19045. CMake Error at CMakeLists.txt:5 (find_package): Could not find a configuration file for package "Td" that is compatible with requested version "1.8.34".
The following configuration files were considered but not accepted:
-- Configuring incomplete, errors occurred!
Actually, i have build all the need in example project