code-iai / iai_kinect2

Tools for using the Kinect One (Kinect v2) in ROS
Apache License 2.0
881 stars 519 forks source link

libopencv_core.so.4.5, needed by /home/jsdd/catkin_ws/devel/lib/libkinect2_registration.so, may conflict with libopencv_core.so.4.2 #580

Closed jsdd25 closed 2 years ago

jsdd25 commented 2 years ago

Hi, while doing the catkin build i got error -

[ 81%] Linking CXX shared library /home/jsdd/catkin_ws/devel/lib/libkinect2_bridge_nodelet.so
[ 81%] Built target kinect2_bridge_nodelet
/usr/bin/ld: warning: libopencv_calib3d.so.4.5, needed by /home/jsdd/catkin_ws/devel/lib/libkinect2_registration.so, may conflict with libopencv_calib3d.so.4.2
/usr/bin/ld: warning: libopencv_core.so.4.5, needed by /home/jsdd/catkin_ws/devel/lib/libkinect2_registration.so, may conflict with libopencv_core.so.4.2
/usr/bin/ld: warning: libopencv_imgproc.so.4.5, needed by /usr/local/lib/libopencv_calib3d.so.4.5.2, may conflict with libopencv_imgproc.so.4.2
[ 81%] Built target kinect2_bridge
[ 90%] Linking CXX executable /home/jsdd/catkin_ws/devel/lib/kinect2_calibration/kinect2_calibration
/usr/bin/ld: warning: libopencv_calib3d.so.4.5, needed by /home/jsdd/catkin_ws/devel/lib/libkinect2_registration.so, may conflict with libopencv_calib3d.so.4.2
/usr/bin/ld: warning: libopencv_core.so.4.5, needed by /home/jsdd/catkin_ws/devel/lib/libkinect2_registration.so, may conflict with libopencv_core.so.4.2
/usr/bin/ld: warning: libopencv_features2d.so.4.5, needed by /usr/local/lib/libopencv_calib3d.so.4.5.2, may conflict with libopencv_features2d.so.4.2
/usr/bin/ld: warning: libopencv_imgproc.so.4.5, needed by /usr/local/lib/libopencv_calib3d.so.4.5.2, may conflict with libopencv_imgproc.so.4.2
[ 90%] Built target kinect2_calibration
[100%] Linking CXX executable /home/jsdd/catkin_ws/devel/lib/kinect2_viewer/kinect2_viewer
/usr/bin/ld: warning: libopencv_core.so.4.5, needed by /home/jsdd/catkin_ws/devel/lib/libkinect2_registration.so, may conflict with libopencv_core.so.4.2
/usr/bin/ld: warning: libopencv_imgproc.so.4.5, needed by /usr/local/lib/libopencv_calib3d.so.4.5.2, may conflict with libopencv_imgproc.so.4.2
[100%] Built target kinect2_viewer

I am using ros Noetic with ubuntu20. Please suggest. Thanks