ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange |
1 | initial version |
This worked for me. The biggest issue I've had is with breaking changes in boost regex. You'll have to modify every CMakeList.txt in your workspace where boost is used (notably in the ImagePipeline package if you're using ROS Perception).
I don't know if the find_package 1.74.0 is required. I suspect only the Boost_INCLUDE_DIRS and Boost_LIBRARIES are needed.
In the CMakeLists.txt"
...
find_package(Boost 1.74.0 REQUIRED COMPONENTS system regex)
...
include_directories(
#your other dirs
${Boost_INCLUDE_DIRS}
)
...
target_link_libraries(your_executable
#your other libs
${Boost_LIBRARIES}
)
...
2 | No.2 Revision |
This worked for me. The biggest issue I've had is with breaking changes in boost regex. You'll have to modify every CMakeList.txt in your workspace where boost is used (notably in the ImagePipeline package if you're using ROS Perception).
I don't know if the find_package 1.74.0 is required. I suspect only the Boost_INCLUDE_DIRS and Boost_LIBRARIES are needed.
In the CMakeLists.txt"CMakeLists.txt:
...
find_package(Boost 1.74.0 REQUIRED COMPONENTS system regex)
...
include_directories(
#your other dirs
${Boost_INCLUDE_DIRS}
)
...
target_link_libraries(your_executable
#your other libs
${Boost_LIBRARIES}
)
...