mkdir -p bin cd build && cmake -Wdev -DCMAKE_TOOLCHAIN_FILE=`rospack find rosbuild`/rostoolchain.cmake .. -- The C compiler identification is GNU -- The CXX compiler identification is GNU -- Check for working C compiler: /usr/bin/gcc -- Check for working C compiler: /usr/bin/gcc -- works -- Detecting C compiler ABI info -- Detecting C compiler ABI info - done -- Check for working CXX compiler: /usr/bin/c++ -- Check for working CXX compiler: /usr/bin/c++ -- works -- Detecting CXX compiler ABI info -- Detecting CXX compiler ABI info - done [rosbuild] Building package soem_hexapod_drivers [rosbuild] Cached build flags older than manifests; calling rospack to get flags [rosbuild] Including /opt/ros/diamondback/stacks/ros_comm/clients/roslisp/cmake/roslisp.cmake [rosbuild] Including /opt/ros/diamondback/stacks/ros_comm/clients/rospy/cmake/rospy.cmake [rosbuild] Including /opt/ros/diamondback/stacks/ros_comm/clients/cpp/roscpp/cmake/roscpp.cmake Orocos-RTT found in /opt/ros/diamondback/stacks/orocos_toolchain_ros/rtt/install/lib/cmake/orocos-rtt/orocos-rtt-gnulinux-libraries.cmake -- Found orocos-rtt for the gnulinux target. Available transports: corba mqueue [UseOrocos] Building package soem_hexapod_drivers -- checking for one of the modules 'soem_core;soem_core-gnulinux' -- checking for one of the modules 'soem_master;soem_master-gnulinux' -- found soem_master-gnulinux, version 1.0 [UseOrocos] Linking all targets with libraries from package 'soem_master'. -- checking for one of the modules 'rtt_ros_integration;rtt_ros_integration-gnulinux' -- found rtt_ros_integration-gnulinux, version 1.0 [UseOrocos] Linking all targets with libraries from package 'rtt_ros_integration'. -- checking for one of the modules 'rtt_ros_integration_hexapod_msgs;rtt_ros_integration_hexapod_msgs-gnulinux' [rosbuild] Including /opt/ros/diamondback/stacks/orocos_toolchain_ros/rtt_ros_integration/cmake/GenerateRTTtypekit.cmake -- Found orocos-rtt for the gnulinux target. Available transports: corba mqueue -- - Found requested orocos-rtt components: rtt-scripting rtt-marshalling [UseOrocos] Building package soem_hexapod_drivers -- checking for one of the modules 'soem_core;soem_core-gnulinux' [UseOrocos] Linking all targets with libraries from package 'soem_master'. [UseOrocos] Linking all targets with libraries from package 'rtt_ros_integration'. -- checking for one of the modules 'rtt_ros_integration_hexapod_msgs;rtt_ros_integration_hexapod_msgs-gnulinux' -- Found orocos-rtt for the gnulinux target. Available transports: corba mqueue -- - Found requested orocos-rtt components: rtt-scripting rtt-marshalling [UseOrocos] Building package soem_hexapod_drivers -- checking for one of the modules 'soem_core;soem_core-gnulinux' [UseOrocos] Linking all targets with libraries from package 'soem_master'. [UseOrocos] Linking all targets with libraries from package 'rtt_ros_integration'. -- checking for one of the modules 'rtt_ros_integration_hexapod_msgs;rtt_ros_integration_hexapod_msgs-gnulinux' CMake Error at /opt/ros/diamondback/stacks/orocos_toolchain_ros/rtt_ros_integration/cmake/GenerateRTTtypekit.cmake:82 (add_custom_command): add_custom_command Wrong syntax. A TARGET or OUTPUT must be specified. Call Stack (most recent call first): CMakeLists.txt:36 (ros_generate_rtt_typekit) [UseOrocos] Building plugin library soem_wrxxxx in ROS tree. [UseOrocos] Building plugin library soem_hp0002 in ROS tree. -- Configuring incomplete, errors occurred! make: *** [all] Error 1