rosrun ocl orocreate-pkg not working under electric

Hello everybody,

rosrun ocl orocreate-pkg rtt_test rosmake rtt_test

Gives:

CMake Error at CMakeLists.txt:27 (find_package):
    Could not find a configuration file for package OROCOS-RTT.
 
    Set OROCOS-RTT_DIR to the directory containing a CMake configuration file
    for OROCOS-RTT.  The file will have one of the following names:
 
      OROCOS-RTTConfig.cmake
      orocos-rtt-config.cmake
 
 
 
  CMake Error at CMakeLists.txt:31 (include):
    include could not find load file:
 
      /UseOROCOS-RTT.cmake
 
 
  CMake Error at CMakeLists.txt:44 (orocos_component):
    Unknown CMake command "orocos_component".
 
 
  -- Configuring incomplete, errors occurred!

So it's not working under electric unfortunately. Rest of our packages work fine, just something to be looked at I guess.

Tim

PS. Thanks for fixing soem :)

rosrun ocl orocreate-pkg not

Hi Tim,

The CMakeLists.txt generated by orocreate-pkg sets RTT_HINTS incorrectly. On my installation, it was around line 22. The line:

set( RTT_HINTS HINTS ${rtt_PACKAGE_PATH}/install )

should be:

set( RTT_HINTS HINTS ${rtt_PACKAGE_PATH}/../install )

Hope that helps!

Soo-Hyun Yoo

rosrun ocl orocreate-pkg not working under electric

I'm quite sure I did. It's in the .bashrc because otherwise other packages don't build.

Tim

Sent from my mobile phone, please excuse my brevity.

----- Reply message -----
From: "Steven Bellens" <steven [dot] bellens [..] ...>
To: "Clephas, T.T.G." <t [dot] t [dot] g [dot] clephas [..] ...>
Cc: "orocos-users [..] ..." <orocos-users [..] ...>
Subject: [Orocos-users] rosrun ocl orocreate-pkg not working under electric
Date: Tue, Oct 25, 2011 20:33

2011/10/25 t [dot] t [dot] g [dot] clephas [..] ... <t [dot] t [dot] g [dot] clephas [..] ...>:
> Hello everybody, rosrun ocl orocreate-pkg rtt_test rosmake rtt_test Gives:
>  CMake Error at CMakeLists.txt:27 (find_package): Could not find a&#10;&gt; configuration file for package OROCOS-RTT. Set OROCOS-RTT_DIR to the&#10;&gt; directory containing a CMake configuration file for OROCOS-RTT. The file will&#10;&gt; have one of the following names: OROCOS-RTTConfig.cmake&#10;&gt; orocos-rtt-config.cmake CMake Error at CMakeLists.txt:31 (include): include&#10;&gt; could not find load file: /UseOROCOS-RTT.cmake CMake Error at&#10;&gt; CMakeLists.txt:44 (orocos_component): Unknown CMake command&#10;&gt; &quot;orocos_component&quot;. -- Configuring incomplete, errors occurred! &lt;code&gt; So&#10;&gt; it&#039;s not working under electric unfortunately. Rest of our packages work&#10;&gt; fine, just something to be looked at I guess. Tim PS. Thanks for fixing soem&#10;&gt; :)&#10;&#10;Just to make sure: did you source the env.sh script in the&#10;orocos_toolchain folder?&#10;&#10;Steven&#10;&#10;&gt;&#10;&gt; --&#10;&gt; Orocos-Users mailing list&#10;&gt; Orocos-Users [..] ...&#10;&gt; http://lists.mech.kuleuven.be/mailman/listinfo/orocos-users&#10;&gt;&#10;-- &#10;Orocos-Users mailing list&#10;Orocos-Users [..] ...&#10;http://lists.mech.kuleuven.be/mailman/listinfo/orocos-users