We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
下载vulkan-sdk 1.3.204.1~rc1-1lunarg18.04-1 sudo apt install vulkan-sdk 之后
cd ncnn mkdir build && cd build 执行 cmake -DCMAKE_TOOLCHAIN_FILE=../toolchains/host.gcc.toolchain.cmake -DNCNN_VULKAN=ON -DNCNN_BUILD_EXAMPLES=ON -DNCNN_PYTHON=ON .. 能够编译成功 但是build目录下没有tool
但是添加-DNCNN_BUILD_TOOLS=ON 就不能编译成功
The text was updated successfully, but these errors were encountered:
贴一下编译失败的提示
Sorry, something went wrong.
删除 build 目录,重新 cmake -DNCNN_VULKAN=ON ..
cmake -DNCNN_VULKAN=ON ..
Member
[ 35%] Linking CXX static library libMachineIndependent.a [ 35%] Built target MachineIndependent Makefile:135: recipe for target 'all' failed make: *** [all] Error 2 从build目录看,是有tools/onnx的
如果是cmake -DCMAKE_TOOLCHAIN_FILE=../toolchains/host.gcc.toolchain.cmake -DNCNN_VULKAN=ON .. 则编译成功,但是没tools目录,大概率这个DCMAKE_TOOLCHAIN_FILE 有点问题吧
No branches or pull requests
下载vulkan-sdk 1.3.204.1~rc1-1lunarg18.04-1
sudo apt install vulkan-sdk
之后
cd ncnn
mkdir build && cd build
执行
cmake -DCMAKE_TOOLCHAIN_FILE=../toolchains/host.gcc.toolchain.cmake -DNCNN_VULKAN=ON -DNCNN_BUILD_EXAMPLES=ON -DNCNN_PYTHON=ON ..
能够编译成功
但是build目录下没有tool
但是添加-DNCNN_BUILD_TOOLS=ON
就不能编译成功
The text was updated successfully, but these errors were encountered: