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

It looks like you have a syntax error in your CMakeLists.txt file, in part of the file that you haven't included in your answer.

Without the rest of your CMakeLists.txt it's hard to say what is wrong, but perhaps one of the previous cmake commands is missing a closing parenthesis.

It looks like you have a syntax error in your CMakeLists.txt file, in part of the file that you haven't included in your answer.

Without the rest of your CMakeLists.txt it's hard to say what is wrong, but perhaps one of the previous cmake commands is missing a closing parenthesis.

UPDATE

You should remove or comment this line:

add_library()/add_executable()/target_link_libraries()

It doesn't do anything, and the / characters are a syntax error.

It looks like you have a syntax error in your CMakeLists.txt file, in part of the file that you haven't included in your answer.

Without the rest of your CMakeLists.txt it's hard to say what is wrong, but perhaps one of the previous cmake commands is missing a closing parenthesis.

UPDATE

You should remove or comment this line:

add_library()/add_executable()/target_link_libraries()

It doesn't do anything, and the / characters are a syntax error.

UPDATE

The error Could not find 'share/cv_bridge/cmake/cv_bridge-msg-paths.cmake' suggests that there's something wrong with your message dependencies; I think it can't find messages for cv_bridge

Do your messages depend on any messages from cv_bridge? Otherwise, I would suggest you remove cv_bridge as a dependency in generate_messages()