opencv配置问题
森木42588 发布于2020-07 浏览:2713 回复:3
0
收藏
快速回复

Scanning dependencies of target easyedge_serving
[ 16%] Building CXX object CMakeFiles/easyedge_serving.dir/demo_serving.cpp.o
[ 33%] Linking CXX executable easyedge_serving
/usr/bin/ld: warning: libopencv_imgcodecs.so.4.1, needed by /dbdata/easyedge-jetson/cpp/jetpack4.4/demo/../lib/libeasyedge.so, not found (try using -rpath or -rpath-link)
/usr/bin/ld: warning: libopencv_imgproc.so.4.1, needed by /dbdata/easyedge-jetson/cpp/jetpack4.4/demo/../lib/libeasyedge.so, not found (try using -rpath or -rpath-link)
/usr/bin/ld: warning: libopencv_core.so.4.1, needed by /dbdata/easyedge-jetson/cpp/jetpack4.4/demo/../lib/libeasyedge.so, not found (try using -rpath or -rpath-link)
[ 33%] Built target easyedge_serving

请各位大神帮帮忙

收藏
点赞
0
个赞
共3条回复 最后由a18571138864回复于2022-07
#4森木42588回复于2020-07

执行 ./easyedge_multi_thread

root@samuel-desktop:/home/easyedge-jetson/cpp/jetpack4.4/demo/build# ./easyedge_multi_thread
./easyedge_multi_thread: error while loading shared libraries: libeasyedge_extension.so.0.5.4: cannot open shared object file: No such file or directory

请各位大神帮帮忙

我自己检查,得到的原因可能是opencv配置环境的问题,但是我对这个原因不确定。

请不吝指教!

0
#3森木42588回复于2020-07

samuel@samuel-desktop:~$ head -n 1 /etc/nv_tegra_release
# R32 (release), REVISION: 4.3, GCID: 21589087, BOARD: t186ref, EABI: aarch64, DATE: Fri Jun 26 04:34:27 UTC 2020

我的环境是docker的image 的container:

root@samuel-desktop:/dbdata/easyedge-jetson/cpp/jetpack4.4/demo# dpkg -l | grep opencv
ii libopencv-calib3d3.2:arm64 3.2.0+dfsg-4ubuntu0.1 arm64 computer vision Camera Calibration library
ii libopencv-contrib3.2:arm64 3.2.0+dfsg-4ubuntu0.1 arm64 computer vision contrlib library
ii libopencv-core3.2:arm64 3.2.0+dfsg-4ubuntu0.1 arm64 computer vision core library
ii libopencv-features2d3.2:arm64 3.2.0+dfsg-4ubuntu0.1 arm64 computer vision Feature Detection and Descriptor Extraction library
ii libopencv-flann3.2:arm64 3.2.0+dfsg-4ubuntu0.1 arm64 computer vision Clustering and Search in Multi-Dimensional spaces library
ii libopencv-highgui3.2:arm64 3.2.0+dfsg-4ubuntu0.1 arm64 computer vision High-level GUI and Media I/O library
ii libopencv-imgcodecs3.2:arm64 3.2.0+dfsg-4ubuntu0.1 arm64 computer vision Image Codecs library
ii libopencv-imgproc3.2:arm64 3.2.0+dfsg-4ubuntu0.1 arm64 computer vision Image Processing library
ii libopencv-ml3.2:arm64 3.2.0+dfsg-4ubuntu0.1 arm64 computer vision Machine Learning library
ii libopencv-objdetect3.2:arm64 3.2.0+dfsg-4ubuntu0.1 arm64 computer vision Object Detection library
ii libopencv-photo3.2:arm64 3.2.0+dfsg-4ubuntu0.1 arm64 computer vision computational photography library
ii libopencv-shape3.2:arm64 3.2.0+dfsg-4ubuntu0.1 arm64 computer vision shape descriptors and matchers library
ii libopencv-stitching3.2:arm64 3.2.0+dfsg-4ubuntu0.1 arm64 computer vision image stitching library
ii libopencv-superres3.2:arm64 3.2.0+dfsg-4ubuntu0.1 arm64 computer vision Super Resolution library
ii libopencv-video3.2:arm64 3.2.0+dfsg-4ubuntu0.1 arm64 computer vision Video analysis library
ii libopencv-videoio3.2:arm64 3.2.0+dfsg-4ubuntu0.1 arm64 computer vision Video I/O library
ii libopencv-videostab3.2:arm64 3.2.0+dfsg-4ubuntu0.1 arm64 computer vision video stabilization library
ii libopencv-viz3.2:arm64 3.2.0+dfsg-4ubuntu0.1 arm64 computer vision 3D data visualization library
ii python3-opencv 3.2.0+dfsg-4ubuntu0.1 arm64 Python 3 bindings for the computer vision library

0
#2lujays回复于2020-07

你好,请按如下方式执行终端命令以提供JetPack版本,以及是否有安装OpenCV:

 

1. 查看JetPack版本:

head -n 1 /etc/nv_tegra_release

 

2. 查看OpenCV:

dpkg -l | grep opencv

 

0
TOP
切换版块