onnxruntime 编译 踩坑记录

阅读 30

2023-11-17

1.要通过git拉取代码,不然会报错

subprocess.CalledProcessError: Command '['git', 'submodule', 'sync', '--recursive']' returned non-ze

2.The C++ compiler "E:/XXX/sdk/ndk/21.4.7075529/toolchains/llvm/prebuilt/windows-x86_64/bin/clang++.exe" is not able to compile a simple test program.

在对应的编译文件中设置

set(CMAKE_CXX_COMPILER_WORKS TRUE)



精彩评论(0)

0 0 举报