ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange
Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

Did you add an executable or library called my_target? If not, having a statement like target_link_libraries(my_target ${OpenCV_LIBRARIES}) does not make sense. This seems to be your cmake error.

I would be best if you edit your question to provide the full contents of your CMakeLists.txt and the full output of VERBOSE=1 catkin_make -j1 (don't use rosmake with a catkin package).

Did you add an executable or library called my_target? If not, having a statement like target_link_libraries(my_target ${OpenCV_LIBRARIES}) does not make sense. This seems to be your cmake error.

I would be best if you edit your question to provide the full contents of your CMakeLists.txt and the full output of VERBOSE=1 catkin_make -j1 (don't use rosmake with a catkin package).

Edit:

For sure the following line should be removed: https://gist.github.com/Leyonce/9731649#file-cmakelist-L11

And it would be good to move line https://gist.github.com/Leyonce/9731649#file-cmakelist-L9 to around line 105 to keep things in order.

You are not building any executables or libraries. What is your package supposed to build?