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

Link error when building PyMesh #336

Open
wadudmiah opened this issue Nov 9, 2022 · 1 comment
Open

Link error when building PyMesh #336

wadudmiah opened this issue Nov 9, 2022 · 1 comment

Comments

@wadudmiah
Copy link

Hi, when I try to build PyMesh, I get the following link error:

Consolidate compiler generated dependencies of target mmg2d
[ 20%] Linking C executable bin/mmg2d_O3
lib/libmmg2d.a(API_functions.c.o):(.bss+0x0): multiple definition of `MMG5_indPt'
CMakeFiles/mmg2d.dir/src/mmg2d/mmg2d.c.o:(.bss+0xb78): first defined here
lib/libmmg2d.a(API_functions.c.o):(.bss+0x8): multiple definition of `MMG5_indElt'
[ ... many similar errors ... ]

I have built MMG2D and MMG3D separately without such errors. Is there a way to tell PyMesh to use the already successfully installed MMG{2,3}D?

@daniel-sali
Copy link

See

* MMG: Set ``MMG_PATH`` to the install directory of MMG.

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