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

csparse_extension libraby not found #624

Closed
bgn-dev opened this issue Dec 28, 2022 · 3 comments
Closed

csparse_extension libraby not found #624

bgn-dev opened this issue Dec 28, 2022 · 3 comments
Labels

Comments

@bgn-dev
Copy link

bgn-dev commented Dec 28, 2022

Code:
[ 50%] Linking CXX executable bundle_adjustment_g2o ld: library not found for -lg2o_csparse_extension clang: error: linker command failed with exit code 1 (use -v to see invocation) make[2]: *** [bundle_adjustment_g2o] Error 1 make[1]: *** [CMakeFiles/bundle_adjustment_g2o.dir/all] Error 2 make: *** [all] Error 2

I've searched so much, and im not finding anything with the library named: -lg2o_csparse_extension.
I looked up in my /PATH/g2o/solvers/csparse and there is a file named csparse_extension.h.

Where can i find the library?

@RainerKuemmerle
Copy link
Owner

What is the content of yout lib folder of your g2o build?
What is the content of build/g2o/config.h? In particular, the value of G2O_HAVE_CSPARSE indicates whether g2o ws build with csparse support or not.
It could be that dependencies are not found. Make sure, that libsuitesparse-dev is installed

Copy link

github-actions bot commented Jan 1, 2025

This issue is stale because it has been open 60 days with no activity. Remove stale label or comment or this will be closed in 14 days.

@github-actions github-actions bot added the Stale label Jan 1, 2025
Copy link

This issue was closed because it has been stalled for 14 days with no activity.

@github-actions github-actions bot closed this as not planned Won't fix, can't repro, duplicate, stale Jan 27, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants