Skip to content
New issue

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

my problem in build when running make command #188

Open
qiyu-lu opened this issue Oct 6, 2024 · 1 comment
Open

my problem in build when running make command #188

qiyu-lu opened this issue Oct 6, 2024 · 1 comment

Comments

@qiyu-lu
Copy link

qiyu-lu commented Oct 6, 2024

My environment is ubuntu20.04,use opencv4,

when i run make,occur this error:

/usr/bin/ld: warning: libopencv_imgcodecs.so.4.2, needed by /opt/ros/noetic/lib/libcv_bridge.so, may conflict with libopencv_imgcodecs.so.410
/usr/bin/ld: warning: libopencv_imgproc.so.4.2, needed by /opt/ros/noetic/lib/libcv_bridge.so, may conflict with libopencv_imgproc.so.410
/usr/bin/ld: CMakeFiles/ORB_SLAM.dir/src/Tracking.cc.o: undefined reference to symbol '_ZN2cv8cvtColorERKNS_11_InputArrayERKNS_12_OutputArrayEii'
/usr/bin/ld: /usr/lib/x86_64-linux-gnu/libopencv_imgproc.so.4.2.0: error adding symbols: DSO missing from command line
collect2: error: ld returned 1 exit status
make[2]: *** [CMakeFiles/ORB_SLAM.dir/build.make:1387:../bin/ORB_SLAM] 错误 1
make[1]: *** [CMakeFiles/Makefile2:209:CMakeFiles/ORB_SLAM.dir/all] 错误 2

how can i solve this?

@qiyu-lu
Copy link
Author

qiyu-lu commented Oct 6, 2024

ok,i solved, because i install two different versions of opencv, occur confict

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant