Ask Your Question

Unknown CMake command "rosbuild_add_boost_directories"

asked 2016-09-24 04:08:21 -0500

lizhecome gravatar image

I want to use boost on Ros, but when I add rosbuild_add_boost_directories() in CMakelist, the error happend, very strange

edit retag flag offensive close merge delete

1 Answer

Sort by » oldest newest most voted

answered 2016-09-24 05:32:40 -0500

gvdhoorn gravatar image

If this is a Catkin package, don't use any of the rosbuild_* CMake macros. Use find_package(Boost ..) etc.

edit flag offensive delete link more


Thanks, it work for me

lizhecome gravatar image lizhecome  ( 2016-09-25 08:16:06 -0500 )edit

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools

1 follower


Asked: 2016-09-24 04:08:21 -0500

Seen: 345 times

Last updated: Sep 24 '16