ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange
Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

If you just upgraded you need to make sure that all generated and itermediate files are removed before recompiling. The build system cannot track changes to system libraries, you need to force it to refind them and remove all references to the old files. Typically this involves an rm -rf of build devel and install folders. Or the isolated versions if using isolated builds.

If you just upgraded you need to make sure that all generated and itermediate files are removed before recompiling. The build system cannot track changes to system libraries, you need to force it to refind them and remove all references to the old files. Typically this involves an rm -rf of build devel and install folders. Or the isolated versions if using isolated builds.

Edit:

The missing files are installed by libboost-regex1.54-dev on my system:

$ dpkg -L libboost-regex1.54-dev
/.
/usr
/usr/share
/usr/share/doc
/usr/share/doc/libboost-regex1.54-dev
/usr/share/doc/libboost-regex1.54-dev/copyright
/usr/lib
/usr/lib/x86_64-linux-gnu
/usr/lib/x86_64-linux-gnu/libboost_regex.a
/usr/share/doc/libboost-regex1.54-dev/changelog.Debian.gz
/usr/lib/x86_64-linux-gnu/libboost_regex.so

You need to make sure that cmake can find boost correctly and invalidate any cmake caches if the version or location of boost has changed. (rm -rf of build and devel are the recommended way to make sure to invalidate those caches. If you're linking against other things compiled from source you will need to rebuild/link them as well.)