Skip to content

Instantly share code, notes, and snippets.

@zengjiapei3000
Created September 1, 2023 03:21
Show Gist options
  • Save zengjiapei3000/b6600bba1dff5e8a757f615916e44134 to your computer and use it in GitHub Desktop.
Save zengjiapei3000/b6600bba1dff5e8a757f615916e44134 to your computer and use it in GitHub Desktop.
build tdlib in mingw64
cmake -G Ninja "Unix Makefiles" -DCMAKE_INSTALL_PREFIX="D:\Applications\Scoop\apps\msys2\current\mingw64" -DCMAKE_CXX_COMPILER='g++' -DCMAKE_C_COMPILER='gcc' ..
CMake Warning:
Ignoring extra path from command line:
"D:/Applications/Scoop/apps/msys2/2023-01-27/usr/src/tdlib/build/Unix Makefiles"
CMake Error: Error: generator : Ninja
Does not match the generator used previously: Unix Makefiles
Either remove the CMakeCache.txt file and CMakeFiles directory or choose a different binary directory.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment