Kintinuous icon indicating copy to clipboard operation
Kintinuous copied to clipboard

ROS causing problems with build

Open griz1112 opened this issue 8 years ago • 2 comments

The reason this happens is that ROS has a separate set of opencv libs that reside on a temp filesystem while its running everything to do with opencv is directed to this set of files. So to build other cuda applications with ROS installed you need replace the installed files with those that are compiled with cuda enabled. Basically you create a new ros-kinetic-opencv3 package as a deb uninstall ros-kinetic-opencv3 modify the ros-latest.list to point to your deb and install that. The point it back at the default location and reinstall ros-kinetic-desktop or desktop-full. You can alter some of the env variables but that doesn't work in all cases this does.

griz1112 avatar Apr 18 '17 21:04 griz1112

Or use ccmake and point cmake to locally installed versions of libraries that you wish to use, instead of the system-wide installation

dcanelhas avatar Apr 19 '17 07:04 dcanelhas

Asking for trouble with ROS going outside for libs. http://qiita.com/kendemu/items/a805b0b9828b6f6031db . this link has the correct procedure. Even if you link to the system libs it can't see them when ROS is active. ROS puts the opencv stuff in a tmp filesystem and points everything to it. Nice having cuda enabled opencv in ROS.

griz1112 avatar Aug 10 '17 08:08 griz1112