Building Soem drivers fails

Hi,

I just wanted to compile my own soem drivers but I get an error when compiling. The drivers worked before and I did not change anything to the drivers. I do not have any problems building any other packages like soem_beckhoff_drivers etc.

I'm using the orocos-toolchain-ros 0.4.0 from the prebuild deb packages. I attached the build_output.log but for convenience:

  [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!

Thanks Jeroen

AttachmentSize
build_output.txt3.42 KB

Building Soem drivers fails

On Wed, Jul 6, 2011 at 12:30 PM, <jjpa [dot] willems [..] ...> wrote:
> Hi,
>
> I just wanted to compile my own soem drivers but I get an error when
> compiling.
> The drivers worked before and I did not change anything to the drivers. I do
> not have any problems building any other packages like soem_beckhoff_drivers
> etc.
>
> I'm using the orocos-toolchain-ros 0.4.0 from the prebuild deb packages.
> I attached the build_output.log but for convenience:
>

>  [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!
> 

>
> Thanks Jeroen

The code seems not to be robust against the fact that your package
does not contain any msg files. I would suggest you uncomment the
ros_generate_rtt_typekit() call from your CMakeLists.txt file ?

We'll update the macro that it issues a warning if no msg files have
been found...

Peter
--
Orocos-Users mailing list
Orocos-Users [..] ...
http://lists.mech.kuleuven.be/mailman/listinfo/orocos-users

Building Soem drivers fails

On Thu, Jul 7, 2011 at 00:27, Peter Soetens <peter [..] ...>
wrote:
> On Wed, Jul 6, 2011 at 12:30 PM, <jjpa [dot] willems [..] ...> wrote:
>> Hi,
>>
>> I just wanted to compile my own soem drivers but I get an error when
>> compiling.
>> The drivers worked before and I did not change anything to the drivers. I
do
>> not have any problems building any other packages like
soem_beckhoff_drivers
>> etc.
>>
>> I'm using the orocos-toolchain-ros 0.4.0 from the prebuild deb packages.
>> I attached the build_output.log but for convenience:
>>

>>  [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!
>> 

>>
>> Thanks Jeroen
>
> The code seems not to be robust against the fact that your package
> does not contain any msg files. I would suggest you uncomment the
> ros_generate_rtt_typekit() call from your CMakeLists.txt file ?
>

Commenting the ros_generate_rtt_typekit() solved my problem, the driver
works again.

> We'll update the macro that it issues a warning if no msg files have
> been found...
>
> Peter
>

Thanks Jeroen