Hello, If I use the orocos_typegen_headers(myheader.h), it generates the files in the build space. When I try to launch the component I get the error :
7.657 [ ERROR ][TypekitRepository::Import] the Typelib transport will not be available for types defined in this typekit 7.657 [ ERROR ][TypekitRepository::Import] cannot load the typekit's Typelib registry from 7.657 [ ERROR ][TypekitRepository::Import] /home/hoarau/lwr_ws/install/share/orogen/myheader.tlb 7.657 [ ERROR ][TypekitRepository::Import] remember to do 'make install' before you use the oroGen-generated libraries ?If I go to the build directory and make install, it's working fine.
Why not add the exported targets directly in the devel space ?
Above this line https://github.com/orocos-toolchain/rtt/blob/master/UseOROCOS-RTT.cmake#L565
I would simply add :
if(ORO_USE_CATKIN) list(APPEND ${PROJECT_NAME}_EXPORTED_LIBRARY_DIRS "${CATKIN_DEVEL_PREFIX}/lib/orocos${OROCOS_SUFFIX}/${PROJECT_NAME}/types") endif()Then it's working fine as all the generated files goes to the devel space. But I don't know all the implications that change would represent :) Any thoughts ?
orocos typgen headers and devel space
Which version are you using? catkin or rosbuild?
Last Friday I was updating an old package for 14.04+indigo+rosbuild, and
importing a typekit (kuka's fricomm) produced quite a lot of errors like
yours, but in the end the typekit was available so i did not try to
understand what I did wrong...
cheers, Gianni.
On 21/12/15 14:13, hoarau [dot] robotics [..] ... wrote:
> Hello,
> If I use the orocos_typegen_headers(myheader.h), it generates the files in
> the build space.
> When I try to launch the component I get the error :
>
>
> 7.657 [ ERROR ][TypekitRepository::Import] the Typelib transport will not
> be available for types defined in this typekit
> 7.657 [ ERROR ][TypekitRepository::Import] cannot load the typekit's
> Typelib registry from
> 7.657 [ ERROR ][TypekitRepository::Import]
> /home/hoarau/lwr_ws/install/share/orogen/myheader.tlb
> 7.657 [ ERROR ][TypekitRepository::Import] remember to do 'make install'
> before you use the oroGen-generated libraries ?
>
>
> If I go to the build directory and make install, it's working fine.
>
> Why not add the exported targets directly in the devel space ?
>
> Above this line
> https://github.com/orocos-toolchain/rtt/blob/master/UseOROCOS-RTT.cmake#...
>
> I would simply add :
>
> if(ORO_USE_CATKIN)
> list(APPEND ${PROJECT_NAME}_EXPORTED_LIBRARY_DIRS
> "${CATKIN_DEVEL_PREFIX}/lib/orocos${OROCOS_SUFFIX}/${PROJECT_NAME}/types")
> endif()
>
>
> Then it's working fine as all the generated files goes to the devel space.
> But I don't know all the implications that change would represent :)
> Any thoughts ?
orocos typgen headers and devel space
I'm on 14.04 + Indigo + catkin + rtt 2.8.
The mqueue typekit is not available unless I add the above lines or make
install in the build directory.
2015-12-21 14:53 GMT+01:00 Gianni Borghesan <gianni [dot] borghesan [..] ...>:
> Which version are you using? catkin or rosbuild?
> Last Friday I was updating an old package for 14.04+indigo+rosbuild, and
> importing a typekit (kuka's fricomm) produced quite a lot of errors like
> yours, but in the end the typekit was available so i did not try to
> understand what I did wrong...
>
>
> cheers, Gianni.
>
> On 21/12/15 14:13, hoarau [dot] robotics [..] ... wrote:
> > Hello,
> > If I use the orocos_typegen_headers(myheader.h), it generates the files
> in
> > the build space.
> > When I try to launch the component I get the error :
> >
> >
> > 7.657 [ ERROR ][TypekitRepository::Import] the Typelib transport
> will not
> > be available for types defined in this typekit
> > 7.657 [ ERROR ][TypekitRepository::Import] cannot load the typekit's
> > Typelib registry from
> > 7.657 [ ERROR ][TypekitRepository::Import]
> > /home/hoarau/lwr_ws/install/share/orogen/myheader.tlb
> > 7.657 [ ERROR ][TypekitRepository::Import] remember to do 'make
> install'
> > before you use the oroGen-generated libraries ?
> >
> >
> > If I go to the build directory and make install, it's working fine.
> >
> > Why not add the exported targets directly in the devel space ?
> >
> > Above this line
> >
> https://github.com/orocos-toolchain/rtt/blob/master/UseOROCOS-RTT.cmake#...
> >
> > I would simply add :
> >
> > if(ORO_USE_CATKIN)
> > list(APPEND ${PROJECT_NAME}_EXPORTED_LIBRARY_DIRS
> >
> "${CATKIN_DEVEL_PREFIX}/lib/orocos${OROCOS_SUFFIX}/${PROJECT_NAME}/types")
> > endif()
> >
> >
> > Then it's working fine as all the generated files goes to the devel
> space.
> > But I don't know all the implications that change would represent :)
> > Any thoughts ?
>
> --
> Orocos-Users mailing list
> Orocos-Users [..] ...
> http://lists.mech.kuleuven.be/mailman/listinfo/orocos-users
>