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}<br>
${catkin_LIBRARIES})"
Originally posted by Leyonce on ROS Answers with karma: 97 on 2014-03-21
Post score: 0
Original comments
Comment by demmeln on 2014-03-23:
the link to the gist is dead
Comment by Leyonce on 2014-03-23:
I've made a new one.Thanks for your patience.I'm really grateful.