zang09 / ORB_SLAM3_ROS2

ROS2 wrapping package for orbslam3 library
216 stars 81 forks source link

/usr/bin/ld: /usr/local/lib/libopencv_calib3d.so.407: error adding symbols: DSO missing from command line #5

Closed weiwei-dotcom closed 1 year ago

weiwei-dotcom commented 1 year ago

截图 2023-04-03 20-56-48 what's wrong with this error?

zang09 commented 1 year ago

Hi, may be you are not build with OpenCV 4.2.0 version.

1347849769 commented 1 year ago

I have the same question

1347849769 commented 1 year ago

截图 2023-04-03 20-56-48 这个错误有什么问题? This is not a problem with opencv. Maybe your ros2 version is not foxy. I changed the Ubuntu system to 20.04 and used the foxy version of ros2 to compile normally

EndlessLoops commented 1 year ago

https://github.com/alsora/ros2-ORB_SLAM2/issues/8#issuecomment-1461570970

Fran-FC commented 1 year ago

I fixed it and created a pull request, try it if you are still interested