锐单电子商城 , 一站式电子元器件采购平台!
  • 电话:400-990-0325

ndk编译 toolchains/llvm/prebuilt/windows-x86_64/bin/clang++.exe

时间:2023-01-13 02:30:00 贴片电容cl21b103ka6187r20kl1单圈电位器cl21b223kb陶瓷电容cl21b331kb陶瓷电容cl21b392kb陶瓷电容

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

锐单商城拥有海量元器件数据手册IC替代型号,打造电子元器件IC百科大全!

相关文章