https://blog.csdn.net/u010518385/article/details/116701542
按照这个链接安装ncnn,在这之前的git submodule update --init时就有一些问题,make -j4时卡在93%
[ 93%] Linking CXX executable rvm
[ 93%] Linking CXX executable yolov4
[ 93%] Linking CXX executable p2pnet
/usr/bin/ld: ../src/libncnn.a(cpu.cpp.o): undefined reference to symbol 'dlopen@@GLIBC_2.4'
/usr/bin/ld: //lib/arm-linux-gnueabihf/libdl.so.2: error adding symbols: DSO missing from command line
collect2: error: ld returned 1 exit status
make[2]: *** [benchmark/CMakeFiles/benchncnn.dir/build.make:94: benchmark/benchncnn] Error 1
make[1]: *** [CMakeFiles/Makefile2:651: benchmark/CMakeFiles/benchncnn.dir/all] Error 2
make[1]: *** Waiting for unfinished jobs....
/usr/bin/ld: ../src/libncnn.a(cpu.cpp.o): undefined reference to symbol 'dlopen@@GLIBC_2.4'
/usr/bin/ld: //lib/arm-linux-gnueabihf/libdl.so.2: error adding symbols: DSO missing from command line
collect2: error: ld returned 1 exit status
make[2]: *** [examples/CMakeFiles/yolov4.dir/build.make:99: examples/yolov4] Error 1
make[1]: *** [CMakeFiles/Makefile2:750: examples/CMakeFiles/yolov4.dir/all] Error 2
/usr/bin/ld: ../src/libncnn.a(cpu.cpp.o): undefined reference to symbol 'dlopen@@GLIBC_2.4'
/usr/bin/ld: //lib/arm-linux-gnueabihf/libdl.so.2: error adding symbols: DSO missing from command line
collect2: error: ld returned 1 exit status
make[2]: *** [examples/CMakeFiles/rvm.dir/build.make:99: examples/rvm] Error 1
make[1]: *** [CMakeFiles/Makefile2:717: examples/CMakeFiles/rvm.dir/all] Error 2
/usr/bin/ld: ../src/libncnn.a(cpu.cpp.o): undefined reference to symbol 'dlopen@@GLIBC_2.4'
/usr/bin/ld: //lib/arm-linux-gnueabihf/libdl.so.2: error adding symbols: DSO missing from command line
collect2: error: ld returned 1 exit status
make[2]: *** [examples/CMakeFiles/p2pnet.dir/build.make:99: examples/p2pnet] Error 1
make[1]: *** [CMakeFiles/Makefile2:684: examples/CMakeFiles/p2pnet.dir/all] Error 2
make: *** [Makefile:130: all] Error 2
```-
重新下载了几次了,都是这个样子,系统也重装过,不过没有啥用啊,求大神帮帮我!!
你好,我是有问必答小助手,非常抱歉,本次您提出的有问必答问题,技术专家团超时未为您做出解答
本次提问扣除的有问必答次数,将会以问答VIP体验卡(1次有问必答机会、商城购买实体图书享受95折优惠)的形式为您补发到账户。
因为有问必答VIP体验卡有效期仅有1天,您在需要使用的时候【私信】联系我,我会为您补发。
要么 cmake 的时候把 `NCNN_VULKAN=ON 改为 OFF,要么安装上 Vulkan,推荐链接https://xfxuezhang.blog.csdn.net/article/details/121695743。应该就能解决了