I've tried to make a rough draft for the rosjava recipe. Here's where the
installation takes place; this is an attempt to adapt these installation
instructions
<http://wiki.ros.org/rosjava/Tutorials/indigo/Source%20Installation>.
do_configure_prepend() {
install -d ${D}/home/root/rosjava/src
wstool init -j4 ${D}/home/root/rosjava/src
https://raw.githubusercontent.com/rosjava/rosjava/indigo/rosjava.rosinstall
cd ${D}/home/root/rosjava
rosdep update
rosdep install --rosdistro indigo --from-paths src -i -y
PYTHONPATH="${STAGING_DIR_HOST}/opt/ros/indigo/lib/python2.7/site-packages"
export PYTHONPATH
export CMAKE_PREFIX_PATH="/opt/ros/indigo"
bbwarn "CMAKE_PREFIX_PATH=${CMAKE_PREFIX_PATH}"
export RT_LIBRARY=${libdir}
catkin_make
}
During this task, the catkin_make instruction fails with this error message:
| CMake Error at /opt/ros/indigo/share/catkin/cmake/assert.cmake:17
(message):
|
|
| Assertion failed: check for file existence, but filename
| (RT_LIBRARY-NOTFOUND) unset. Message: RT Library
|
| Call Stack (most recent call first):
| /opt/ros/indigo/share/catkin/cmake/tools/rt.cmake:42
(assert_file_exists)
| /opt/ros/indigo/share/catkin/cmake/all.cmake:147 (include)
| /opt/ros/indigo/share/catkin/cmake/catkinConfig.cmake:20 (include)
| CMakeLists.txt:52 (find_package)
There isn't a setup.bash which is created for me to use, as this appears to
be created in catkin.inc within the ${PN}-dev package. Adding catkin-dev
and catkin-runtime-dev to the DEPENDS variable of my recipe appears to do
nothing (setup.bash isn't available during the build).
I have the creeping suspicion that I've gone in completely the wrong
direction here. Any help at all would be greatly appreciated..
Thanks,
Travis Pressler