I am a new user of MMG3D and I would like to ask for your help solving a linking error.
I downloaded and compile the latest version from https://github.com/MmgTools/mmg.git. I have no problems running the examples provided with the library. Yet, my objective is to interface MMG3D with a c++ finite element code through its API functions.
I encountered the following linking error:
Linux_64 link with g++
apimesh_Linux_64/Adapt.o:(.bss+0x0): multiple definition of `MMG3D_lenedgCoor’
apimesh_Linux_64/MMG3D_mesher.o:(.bss+0x0): first defined here
Here is an example on how I make use of the library in the previous files :
Do you have any idea on how to solve this problem?