[ros-users] ROS compilation on Natty Narwhale (11.04)

Markus Eich markus.eich at dfki.de
Tue May 3 17:42:33 UTC 2011


Dear all,

I just tried to build ROS on Ubuntu 11.04 from source. After adepting 
the rosdep.yaml files i am at the point of building opencv2 (taken from

SVN_DIR = build/opencv-svn
SVN_URL = https://code.ros.org/svn/opencv/branches/2.2/opencv
SVN_REVISION = -r4812


The problem seems with Natty, that it throws a linker error

===========================


make[3]: Betrete Verzeichnis 
'/home/eich/ros/vision_opencv/opencv2/build/opencv-svn/build'
  make[3]: Verlasse Verzeichnis 
'/home/eich/ros/vision_opencv/opencv2/build/opencv-svn/build'
  make[3]: Betrete Verzeichnis 
'/home/eich/ros/vision_opencv/opencv2/build/opencv-svn/build'

   Linking CXX executable ../../bin/opencv_createsamples
   ../../lib/libopencv_highgui.so.2.2.0: undefined reference to 
`cvCreateCameraCapture_V4L(int)'
   collect2: ld returned 1 exit status

===========================
The problem seems to be the restructure of V4L on 11.04. I checked the 
web, but there seem to be no solution yet. Any ideas?


Cheers,

Markus



More information about the ros-users mailing list