这是我第一次使用Xcode命令行工具(13.2.1)。我正在按照有关如何在此处构建ncnn的说明: https://github.com/tencent/ncnn/wiki/how-to-build#build-for-macos
我需要进入Xcode还是可以在终端中运行命令?
Xcode命令行工具的功能是什么?在这种情况下应该如何应用?
对于进一步的上下文,我使用以下说明转换了yolox.onnx模型:
我在构建NCNN时会遇到错误调用)制作[2]:*** [工具/onnx/onnx2ncnn]错误1 make [1]:*** [工具/onnx/onnx/cmakefiles/onnx2ncnn.dir/all]错误2
转换转换的方向onnx to ncnn告诉我:
cd <path of ncnn>
cd build/tools/ncnn```
However I do not have a ncnn folder inside of my tools folder...
This is my first time using Xcode Command Line Tools (13.2.1). I am following the instructions on how to build ncnn here: https://github.com/Tencent/ncnn/wiki/how-to-build#build-for-macos
Do I need to go into Xcode or can I just run the commands in the Terminal?
What is the function of Xcode Command Line Tools and how should it be applied in this case?
For further context I am converting a YOLOX.onnx model using these instructions: https://yolox.readthedocs.io/en/latest/demo/ncnn_cpp_readme.html
and I am getting the error when building ncnn: clang: error: linker command failed with exit code 1 (use -v to see invocation) make[2]: *** [tools/onnx/onnx2ncnn] Error 1 make[1]: *** [tools/onnx/CMakeFiles/onnx2ncnn.dir/all] Error 2
The directions to convert onnx to ncnn tell me to:
cd <path of ncnn>
cd build/tools/ncnn```
However I do not have a ncnn folder inside of my tools folder...
发布评论