Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

How to build catkin compatible third party library in catkin workspace?

I have followed the recommendations for allowing a third-party library (which I maintain) to be built in the ROS ecosystem, by adding the relevant package.xml file and corresponding install target. However, I would like now to build a ros node which depends on this package and therefore would like this third-party library to be built inside my catkin workspace. I have moved my third-party library to the source space of my catkin workspace, but now catkin_make complains:

This workspace contains non-catkin packages in it, and catkin cannot build a non-homogeneous workspace without isolation.

How can I make catkin_make to invoke catkin_make_isolated for these non-catkin packages automatically? Otherwise, what is the usual practice in these cases? I would like to avoid maintaining different catkin workspaces since it complicates the workflow