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

cannot import g2o in my intepretor #50

Closed
shaoxh opened this issue Feb 13, 2021 · 1 comment
Closed

cannot import g2o in my intepretor #50

shaoxh opened this issue Feb 13, 2021 · 1 comment

Comments

@shaoxh
Copy link

shaoxh commented Feb 13, 2021

I have finish the final installation: "python setup.py install".
The .so file have been added to the packages.
But when I import g2o, there is error like this: "malloc(): memory corruption".
When I debug an example called ba_demo.py, error message like this:
Traceback (most recent call last):
File "", line 971, in _find_and_load
File "", line 955, in _find_and_load_unlocked
File "", line 658, in _load_unlocked
File "", line 571, in module_from_spec
File "", line 922, in create_module
File "", line 219, in _call_with_frames_removed
ImportError: /usr/lib/python3/dist-packages/g2o.cpython-36m-x86_64-linux-gnu.so: undefined symbol: cs_di_schol
python-BaseException

But the thing is ".so" file have been sucessfully achieved. All is right.
I have no idea where this error come from.

I realize nobody ask this kind question. Is this because this project no longer fit to the current g2o codes?

@shaoxh
Copy link
Author

shaoxh commented Feb 13, 2021

I am using python 3.6, eigen 3.39

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