Closed whitecoffee closed 6 years ago
I fix it when I add following code `set(Boost_USE_STATIC_LIBS OFF) set(Boost_USE_MULTITHREADED ON) set(Boost_USE_STATIC_RUNTIME OFF) find_package(Boost 1.45.0 COMPONENTS filesystem regex)
rosbuild_add_executable(tracker src/tracker.cpp) target_link_libraries(tracker OpenNI2 NiTE2 Boost::filesystem Boost::regex)`
When I run
rosmake
I gotI realize the FALG
-lboost_system
must be added in CMakeList. But I don't know where to add in this case...