Migrating from ros indigo to ros kinetic, CMake can't finish the run.
I am currently trying to compile a project from Ubuntu 14.04 in 16.04 and have had to fix quite a few problems. This probem seems to be related to orocos for ros, but I’m unable to find the origin of the problem, so I have mostly made random searches with key words I thought to be relevant.
I am posting here because I thing the problem may be related to ros, maybe some compatibiliy error between ros indigo and ros kinetic?
For this project I am using these orocos packages for ros: rtt_ros_integration, rtt_common_msgs, rtt_ros_comm and rtt-roscomm and it is constructed with catkin
Does anyone understand what the problem is? I am not the one that made this CMake project and I haven't been able to locate the origin of the problem, so I can’t provide more info.
Here is the error generated by cmake:
-- Checking for one of the modules 'rtt_rosgraph_msgs-gnulinux'
-- [UseOrocos] Found orocos package 'rtt_rosgraph_msgs'.
-- Checking for one of the modules 'rtt_geometry_msgs-gnulinux'
-- [UseOrocos] Found orocos package 'rtt_geometry_msgs'.
-- - Detected OROCOS_TARGET environment variable. Using: gnulinux
-- Found orocos-rtt 2.9.0 for the gnulinux target. Available transports: corba mqueue
-- - Found requested orocos-rtt components: rtt-marshalling rtt-scripting rtt-scripting rtt-marshalling rtt-transport-mqueue rtt-transport-corba
-- Using these message generators: gencpp;geneus;genlisp;gennodejs;genpy
-- ros_generate_rtt_typekit: Could not find any .msg files in the lc_control package.
-- Using these message generators: gencpp;geneus;genlisp;gennodejs;genpy
-- [UseOrocos] Building plugin library rtt_lc_control_rosservice_proxies CMake Error at /opt/ros/kinetic/lib/cmake/orocos-rtt/UseOROCOS-RTT.cmake:761 (target_link_libraries): Target "lc_control_generate_messages_eus" of type UTILITY may not be linked into another target. One may link only to STATIC or SHARED libraries, or to executables with the ENABLE_EXPORTS property set. Call Stack (most recent call first): /opt/ros/kinetic/lib/cmake/orocos-rtt/UseOROCOS-RTT.cmake:786 (orocos_plugin) /opt/ros/kinetic/share/rtt_roscomm/src/templates/service/CMakeLists.txt:93 (orocos_service)
CMake Error at /opt/ros/kinetic/lib/cmake/orocos-rtt/UseOROCOS-RTT.cmake:761 (target_link_libraries): Target "lc_control_generate_messages_nodejs" of type UTILITY may not be linked into another target. One may link only to STATIC or SHARED libraries, or to executables with the ENABLE_EXPORTS property set. Call Stack (most recent call first): /opt/ros/kinetic/lib/cmake/orocos-rtt/UseOROCOS-RTT.cmake:786 (orocos_plugin) /opt/ros/kinetic/share/rtt_roscomm/src/templates/service/CMakeLists.txt:93 (orocos_service)
CMake Error at /opt/ros/kinetic/share/rtt_roscomm/src/templates/service/CMakeLists.txt:94 (target_link_libraries): Target "lc_control_generate_messages_eus" of type UTILITY may not be linked into another target. One may link only to STATIC or SHARED libraries, or to executables with the ENABLE_EXPORTS property set.
CMake Error at /opt/ros/kinetic/share/rtt_roscomm/src/templates/service/CMakeLists.txt:94 (target_link_libraries): Target "lc_control_generate_messages_nodejs" of type UTILITY may not be linked into another target. One may link only to STATIC or SHARED libraries, or to executables with the ENABLE_EXPORTS property set.
-- [UseOrocos] Generating package version 0.0.0 from rtt_lc_control_VERSION (package.xml).
-- [UseOrocos] Generating pkg-config file for package in catkin devel space.
-- [UseOrocos] Exporting targets rtt_lc_control_rosservice_proxies;roscpp_generate_messages_cpp;roscpp_generate_messages_eus;roscpp_generate_messages_lisp;roscpp_generate_messages_nodejs;roscpp_generate_messages_py;rosgraph_msgs_generate_messages_cpp;rosgraph_msgs_generate_messages_eus;rosgraph_msgs_generate_messages_lisp;rosgraph_msgs_generate_messages_nodejs;rosgraph_msgs_generate_messages_py ...
+100 for copy-pasting the console text (instead of screenshotting it), but could you please do it again? Use the
Preformatted Text
button this time though (the one with101010
on it) instead of the block quote. It's rather unreadable like this.Thank's for your input gvdhoorn, I thought it would be better with the block quote, but now it's changed.