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

On Monday, April 4, 2016 at 3:07:32 PM UTC-4, [email protected] wrote:
>
> The following is a copy of an email I sent to Lukas Bulwahn which I've 
> reposted here so that discussion can be open:
>
> I'm interested in developing a BitBake recipe for installation of the 
> indigo version of rosjava (http://wiki.ros.org/rosjava 
> <http://www.google.com/url?q=http%3A%2F%2Fwiki.ros.org%2Frosjava&sa=D&sntz=1&usg=AFQjCNFt9K5PnKRyM5t098L9eVw2avWWrw>).
>  
> My initial questions are:
>
>     1. Is this email the best way to get assistance or should I perhaps 
> ask questions by some other method?
>     2. Does what I'm asking make sense?
>     3. Has this problem already been solved?
>     4. Can this problem be easily solved by metadata included in the 
> meta-ros layer?
>
> Best Regards,
> Travis Pressler
>

Reply via email to