Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Linking error with libboost #17

Open
SongyuanZhao opened this issue Feb 4, 2024 · 0 comments
Open

Linking error with libboost #17

SongyuanZhao opened this issue Feb 4, 2024 · 0 comments

Comments

@SongyuanZhao
Copy link

SongyuanZhao commented Feb 4, 2024

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)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant