Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

Lorenz, I'm sorry but you're answer both version of them are giving another error:

CMakeFiles/epsilon_node_1.dir/src/epsilon_node_1.o: undefined reference to symbol 'boost::system::system_category()'

I've already had problems with boost in this project, which I've solved according to the solution in that question and I've expanded it into:

target_link_libraries(epsilon_node_1 ${Boost_FILESYSTEM_LIBRARY} ${Boost_SYSTEM_LIBRARY} ${Boost_BIND_LIBRARY})

But this doesn't solve the problem, do you know by any chance the name CMake needs for the bind to work?

Lorenz, I'm sorry but you're your answer both version of them are giving another error:

CMakeFiles/epsilon_node_1.dir/src/epsilon_node_1.o: undefined reference to symbol 'boost::system::system_category()'

I've already had problems with boost in this project, which I've solved according to the solution in that question and I've expanded it into:

target_link_libraries(epsilon_node_1 ${Boost_FILESYSTEM_LIBRARY} ${Boost_SYSTEM_LIBRARY} ${Boost_BIND_LIBRARY})

But this doesn't solve the problem, do you know by any chance the name CMake needs for the bind to work?