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

ImportError: import liboofem undefined symbol: gc #15

Closed
guanshaoheng opened this issue Jul 31, 2020 · 2 comments
Closed

ImportError: import liboofem undefined symbol: gc #15

guanshaoheng opened this issue Jul 31, 2020 · 2 comments
Labels

Comments

@guanshaoheng
Copy link

Thanks for your excellent work in this domain!

when runing the makefile in multi1, the error raised at "import liboofem

File "multi1.py", line 9, in import liboofem ImportError: /home/shguan/dem-fem-coupling-master/install/liboofem.so: undefined symbol: gc

could you help me about this problem?

sh. Guan
guanshaoheng@qq.com

BEST WISHES

@guanshaoheng
Copy link
Author

I found the reason that in the cmake step, i have open the -DUSE_OOFEG="ON" which caused this error

@guanshaoheng
Copy link
Author

cmake -DUSE_OOFEG="ON" -DUSE_PYTHON_BINDINGS="ON" -DCKIT_DIR="/home/shguan/oofem/Ckit" -DELIXIR_DIR="/home/shguan/oofem/Elixir" ../oofem-2.5

should be repalced by

cmake -DUSE_PYTHON_BINDINGS="ON" -DCKIT_DIR="/home/shguan/oofem/Ckit" -DELIXIR_DIR="/home/shguan/oofem/Elixir" ../oofem-2.5

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