why do I get an error when building my pakage?
Hi,
I'm using ubuntu 13.04 an I have created a package using catkin_create_pkg tutorial_opencv image_transport roscpp std_msgs opencv2 cv_bridge uvc_camera.There is c++ program in my package called DisplayImage.The pkg is in my catkin workspace .When I built it I had an error
CMake Error at /opt/ros/hydro/share/catkin/cmake/catkinConfig.cmake:72 (find_package):
Could not find a package configuration file provided by "opencv2" with any
of the following names:
opencv2Config.cmake
opencv2-config.cmake
I included in the CMakelist.txt
" FIND_PACKAGE(OpenCV REQUIRED)
include_directories( ${catkin_INCLUDE_DIRS} ${OpenCV_INCLUDE_DIRS})
add_executable( DisplayImage DisplayImage.cpp )
TARGET_LINK_LIBRARIES(DisplayImage ${OpenCV_LIBS}
${catkin_LIBRARIES})"
Here is the full content of my CMakelist.txt plus the output of "VERBOSE=1 catkin_make -j1 " https://gist.github.com/Leyonce/9731649 I am supposing the problem has to do with the fact that thoses files don't exsit in the opencv2 package and In my utmost arrogant opinion they don't exist at all.What I see is the OpenCvConfig.cmake file and the OpenCVConfig-version.cmake file in the OPENCV directory which is supposed to be a library. Can anyone help?
the link to the gist is dead
I've made a new one.Thanks for your patience.I'm really grateful.