|
boost::filesystem::path lib("lib"); |
That's not a portable way of determining the catkin library path. You cannot rely on lib being a correct default on all systems. At least on 64-bit systems, lib64 should be tried first. You could simply check whether the compiler is building in 64 or 32 bit mode.