Error building with OpenCV Dependency
I'm trying to build a package on Electric that uses OpenCV but I am getting an error saying I don't have OpenCV 2.3.2. I'm fairly new to Ubuntu so I'm not sure what I am doing wrong. Can anyone give me some pointers. Here is the error I recieve when running rosmake on my package.
mkdir -p bin
cd build && cmake -Wdev -DCMAKE_TOOLCHAIN_FILE=`rospack find rosbuild`/rostoolchain.cmake ..
[rosbuild] Building package cv_bridge
[rosbuild] Including /opt/ros/electric/stacks/ros_comm/clients/rospy/cmake/rospy.cmake
[rosbuild] Including /opt/ros/electric/stacks/ros_comm/clients/cpp/roscpp/cmake/roscpp.cmake
[rosbuild] Including /opt/ros/electric/stacks/ros_comm/clients/roslisp/cmake/roslisp.cmake
CMake Error at CMakeLists.txt:14 (find_package):
Could not find a configuration file for package "OpenCV" that is compatible
with requested version "2.3.2".
The following configuration files were considered but not accepted:
/usr/share/OpenCV-2.3.1/OpenCVConfig.cmake, version: 2.3.1
-- Configuring incomplete, errors occurred!
make: *** [all] Error 1
Kevin, There is nothing in the CMakeLists.txt file, but the manifest.xml has "<rosdep name="opencv2"/>" I just made a new package with the dependencies I need and tried to make it. I haven't put any real code into it yet.