[Bug 919] New: ROS: CMakeLists.txt generated by orocreate-pkg sets RTT_HINTS incorrectly

http://bugs.orocos.org/show_bug.cgi?id=919

Summary: ROS: CMakeLists.txt generated by orocreate-pkg sets
RTT_HINTS incorrectly
Product: OCL
Version: unspecified
Platform: All
OS/Version: All
Status: NEW
Severity: minor
Priority: P3
Component: Deployment
AssignedTo: orocos-dev [..] ...
ReportedBy: yoos117 [..] ...
CC: orocos-dev [..] ...
Estimated Hours: 0.0

I am using OCL as a ROS package.

Around line 22 of the CMakeLists.txt of the package created using
orocreate-pkg, RTT_HINTS is set like this:

set( RTT_HINTS HINTS ${rtt_PACKAGE_PATH}/install )

That might work if RTT is compiled manually using CMake, but the ROS package
has the precompiled files elsewhere. Thus that line should actually be:

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

FYI, someone had a similar problem back in October:
http://www.orocos.org/forum/orocos/orocos-users/rosrun-ocl-orocreate-pkg...

Thanks.

Soo-Hyun Yoo

[Bug 919] ROS: CMakeLists.txt generated by orocreate-pkg sets RT

http://bugs.orocos.org/show_bug.cgi?id=919

Steven Bellens <steven [dot] bellens [..] ...> changed:

What |Removed |Added
----------------------------------------------------------------------------
CC| |steven [dot] bellens [..] ...e
| |n.be

[Bug 919] ROS: CMakeLists.txt generated by orocreate-pkg sets RT

Hi Steven,
I had the same problem. It seems that after rtt is built generated libs/include/etc files are not copied to ../install directory.
That is where ocl searches first. So, just manually invoking `make install'  in rtt directory should do the job. 
Then you can build ocl as usual.

Sincerely
Azamat