ndk编译报错:
CMake Error at CMakeLists.txt:1 (project): The CMAKE_CXX_COMPILER:
G:/soft/android-ndk-r21e/toolchains/llvm/prebuilt/windows-x86_64/bin/clang .exe
is not a full path to an existing compiler tool.
后来发现是ndk版本的问题
解决方案:下载windows版的ndk就好了
android-ndk-r21e-windows-x86_64\\android-ndk-r21e
我原来用的ndk:
android-ndk-r21e-linux-x86_64