ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange |
1 | initial version |
Thank you for your answer Jensenb. In the catkin CMakeList.txt I declared the following:
add_executable(imageconv_node src/ros_cpp.cpp )
<-- which is really the library (it has no main)
target_link_libraries(
<-- compiled before
/home/edward/c920/upd_to_ros3.o
${catkin_LIBRARIES}
)
Then get the following error:
CMake Error at CMakeLists.txt:115 (target_link_libraries): Cannot specify link libraries for target "/home/edward/c920/upd_to_ros3.o" which is not built by this project.
How to continue?
2 | No.2 Revision |
Thank you for your answer Jensenb. In the catkin CMakeList.txt I declared the following:
add_executable(imageconv_node src/ros_cpp.cpp )
<-- which is really the library (it has no main)
target_link_libraries(
<-- compiled before
/home/edward/c920/upd_to_ros3.o
${catkin_LIBRARIES}
)
Then get the following error:
CMake Error at CMakeLists.txt:115 (target_link_libraries): Cannot specify link libraries for target "/home/edward/c920/upd_to_ros3.o" which is not built by this project.
How to continue?