gazebosim / gazebo-classic

Gazebo classic. For the latest version, see https://github.com/gazebosim/gz-sim
http://classic.gazebosim.org/
Other
1.17k stars 477 forks source link

Gazebo 9 looks for OpenCV 2.4 core .so and quits #2543

Open osrf-migration opened 5 years ago

osrf-migration commented 5 years ago

Original report (archived issue) by Anonymous.


recreate by:

  1. install full ros kinetic
  2. remove gazebo7
  3. install gazebo9
  4. build opencv 3.3.1
  5. run gazebo
  6. issue recreates.

workaround : paste libopencv_core.so.2.4 libopencv_core.so.2.4.9 libopencv_imgproc.so.2.4 libopencv_imgproc.so.2.4.9 to /opt/ros/kinetic/lib/x86_64-linux-gnu/

osrf-migration commented 5 years ago

Original comment by Jose Luis Rivero (Bitbucket: Jose Luis Rivero, GitHub: j-rivero).


Gazebo9 binaries (from .deb packages) are built using the opencv binaries provided by each of the Ubuntu distros. In Ubuntu Xenial the version available in Ubuntu is 2.4.9. It is not going to be possible to use a different version (different from 2.4.x) in Gazebo binaries (ABI compatibility). If you want to use 3.x opencv you will need to: 1) change Ubuntu distribution, 2) compile Gazebo from source after installing the new opencv 3.3.1.

Please let me know if I failed to understand your problem.