Mxnet make : /usr/bin/ld -lippicv not found

本文介绍了一种解决方案,用于处理OpenCV中ippicv库的依赖问题。通过使用sudo命令创建软链接,将libippicv.a从OpenCV的3rdparty目录连接到系统的本地库目录,从而确保了ippicv库能够被正确地调用。

摘要生成于 C知道 ,由 DeepSeek-R1 满血版支持, 前往体验 >

Solution:

$ locate ippicv

sudo ln -s /usr/local/share/OpenCV/3rdparty/lib/libippicv.a /usr/local/lib/libippicv.a


pi@raspberrypi:~/ncnn-master/build $ workon venv9 (venv9) pi@raspberrypi:~/ncnn-master/build $ python Python 3.9.2 (default, Mar 12 2021, 04:06:34) [GCC 10.2.1 20210110] on linux Type "help", "copyright", "credits" or "license" for more information. >>> import ncnn Traceback (most recent call last): File "<stdin>", line 1, in <module> ModuleNotFoundError: No module named 'ncnn' >>> exit() (venv9) pi@raspberrypi:~/ncnn-master/build $ cmake -D NCNN_DISABLE_RTTI=OFF -D NCNN_BUILD_TOOLS=ON .. -- CMAKE_INSTALL_PREFIX = /home/pi/ncnn-master/build/install -- NCNN_VERSION_STRING = 1.0.20250309 CMake Warning at CMakeLists.txt:191 (message): The compiler does not support arm vfpv4. NCNN_VFPV4 will be OFF. -- Target arch: arm 32bit -- OpenCV library: /usr -- version: 4.5.1 -- libraries: opencv_core;opencv_highgui;opencv_imgproc;opencv_imgcodecs;opencv_videoio -- include path: /usr/include/opencv4 -- Could NOT find protobuf (missing: protobuf_DIR) -- Could NOT find protobuf (missing: protobuf_DIR) -- Configuring done -- Generating done -- Build files have been written to: /home/pi/ncnn-master/build (venv9) pi@raspberrypi:~/ncnn-master/build $ make -j4 make install [ 1%] Built target ncnn-generate-spirv [ 1%] Built target ncnnmerge [ 3%] Built target caffe2ncnn [ 3%] Built target mxnet2ncnn [ 4%] Built target darknet2ncnn [ 4%] Built target onnx2ncnn [ 72%] Built target ncnn [ 73%] Built target p2pnet [ 73%] Built target benchncnn [ 74%] Built target yolov8_seg [ 75%] Built target mobilenetssd [ 76%] Built target peleenetssd_seg [ 77%] Built target rvm [ 78%] Built target yolov8 [ 79%] Built target shufflenetv2 [ 80%] Built target yolov5 [ 81%] Built target fasterrcnn [ 81%] Built target yolov8_obb [ 82%] Built target squeezenetssd [ 83%] Built target yolov7_pnnx [ 84%] Built target rfcn [ 84%] Built target yolov7 [ 85%] Built target yolov2 [ 85%] Built target squeezenet_c_api [ 87%] Built target yolov5_pnnx [ 87%] Built target yolact [ 87%] Built targe
最新发布
03-10
评论 1
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值