Hi Markus,
I recall that the rosout is not built occurred, when the CMAKE_PREFIX_PATH is
not set. As your update_bash funftion does not export this variable in the
bashrc, I expect that the variable is not set in the bash environment,
Am Donnerstag, 22. Mai 2014 11:40:08 UTC+2 schrieb Markus Eich:
> #CMAKE_PREFIX_PATH=/usr
> #touch /usr/.catkin
>
I assume you are missing the export in the line above causing the error:
>
> ERROR: rosout is not built. Please run 'rosmake rosout'
>
The export is missing when you write your bashrc file:
>
> update_bash(){
> echo 'export ROS_ROOT=/usr' >> ${IMAGE_ROOTFS}/home/${USERNAME}/.bashrc
> echo 'export ROS_MASTER_URI=http://localhost:11311' >>
> ${IMAGE_ROOTFS}/home/${USERNAME}/.bashrc
> echo 'CMAKE_PREFIX_PATH=/usr' >> ${IMAGE_ROOTFS}/home/${USERNAME}/.bashrc
> touch ${IMAGE_ROOTFS}/usr/.catkin
> }
I hope this helps.
Best regards,
Lukas