Failed package compiles: can't find opencv on debian (ros electric)
Hi,
I'm trying to compile ccny_vision/ar_pose and other packages that require opencv, on my amd64 Debian system. I have compiled and installed the latest stable opencv release via svn. I've tinkered with CMakeLists.txt and manifest.xml of the packages I've been trying to compile, and looked through a bunch of other files. But in the end I still get an error of this type:
mkdir -p bin cd build && cmake -Wdev -DCMAKE_TOOLCHAIN_FILE=
rospack find rosbuild
/rostoolchain.cmake ..
[rosbuild] Building package cv_bridge [rosbuild] Cached build flags older than manifests; calling rospack to get flags Failed to invoke /home/joris/ros/ros/bin/rospack cflags-only-I;--deps-only cv_bridge
Package opencv-2.3.1 was not found in the pkg-config search path. Perhaps you should add the directory containingopencv-2.3.1.pc' to the PKG_CONFIG_PATH environment variable
pkg-config opencv-2.3.1 --cflags`" && echo $ret" in [/home/joris/ros/vision_opencv/opencv2/manifest.xml] [rospack] error in backquote expansion for cv_bridge
No package 'opencv-2.3.1' found
[rospack] warning: got non-zero exit status from executing backquote expression "ret="
Any help would be appreciated. Perhaps A simple howto about how to find and include OpenCV from ROS packages (including non electric-updated ones) for people like me who aren't familiar with the ROS / cmake linking process, would be a good idea too...
Joris