it seems that i am unable to see the obvious. I wanted to use some Boost library features for my project and know i am getting these nice errors all of a sudden:
The "system" lib is missing in the linking stage. My config is as follows and it fixes the error:
find_package(Boost 1.55.0 REQUIRED COMPONENTS system filesystem)
include_directories(... ${Boost_INCLUDE_DIRS})
link_directories(... ${Boost_LIBRARY_DIRS})
target_link_libraries(... ${Boost_LIBRARIES})
Note that using only
find_package(Boost 1.55.0 REQUIRED)
does not work as ${Boost_LIBRARIES}
won't be available then.