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

Build error: undefined reference to 'g2o...' #418

Open
kushoucode opened this issue Oct 29, 2021 · 1 comment
Open

Build error: undefined reference to 'g2o...' #418

kushoucode opened this issue Oct 29, 2021 · 1 comment

Comments

@kushoucode
Copy link

I just use the command './build.sh' to build ORB_SLAM3, but met a problem when linking, I guess.
Here I show the log file of building.
log.txt

@Dave-van-der-Meer
Copy link

I had a simular issue, related to linking issues with g2o and I solved it following the issue #458. The solution was to change the compiler version in the CMakeFile.txt using the following command:

sed -i 's/++11/++14/g' CMakeLists.txt

This solved the issue for me.

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

2 participants