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
> 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! <code> 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
> :)
 
Just to make sure: did you source the env.sh script in the
orocos_toolchain folder?
 
Steven
 
>
> --
> Orocos-Users mailing list
> Orocos-Users [..] ...
> http://lists.mech.kuleuven.be/mailman/listinfo/orocos-users
>
-- 
Orocos-Users mailing list
Orocos-Users [..] ...
http://lists.mech.kuleuven.be/mailman/listinfo/orocos-users