When compiling on my system, I encountered a linking error with Boost, even though Boost is installed on the system, and CMake can locate it. The Boost version is 1.53.0.
After researching, I found that the issue is related to the Boost library version being outdated and not compatible with C++11 ABI. Following the instructions in this link ( https://stackoverflow.com/questions/54987856/boost-linking-problems ) and modifying CMake accordingly resolved the issue.
When compiling on my system, I encountered a linking error with Boost, even though Boost is installed on the system, and CMake can locate it. The Boost version is 1.53.0.
After researching, I found that the issue is related to the Boost library version being outdated and not compatible with C++11 ABI. Following the instructions in this link ( https://stackoverflow.com/questions/54987856/boost-linking-problems ) and modifying CMake accordingly resolved the issue.
add_compile_definitions(_GLIBCXX_USE_CXX11_ABI=0)