You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am trying to build the pymesh and I am getting this error
[ 91%] Linking CXX executable cork
ld: warning: ignoring file /opt/local/lib/libgmp.dylib, building for macOS-x86_64 but attempting to link with file built for macOS-arm64
Undefined symbols for architecture x86_64:
"___gmpn_add_n", referenced from:
...
error: linker command failed with exit code 1
I am not sure what is the issue exactly but I am suspecting that it is either related to the fact that I am using the macbook with new chip so the different processor causing some issue. The other possible issue can be that the gmp is not installed in the correct path or something causing the cork make file being not able to reach it.
Can anyone help with that issue?
The text was updated successfully, but these errors were encountered:
Install the third party dependencies using Macports, however make sure you do this using a terminal that is run with Rosseta. (arch must return i386 not arm64) - this is to ensure that the packages run as normal rather than complaining about the architecture.
In my case, for the 'boost' package, using MacPorts the instalation fails. Use brew instead, but again make sure you do this in a Rosseta terminal. I have installed home-brew with the Rosseta terminal too.
Follow the next steps in the instruction page to build and install pymesh.
I am trying to build the pymesh and I am getting this error
[ 91%] Linking CXX executable cork
ld: warning: ignoring file /opt/local/lib/libgmp.dylib, building for macOS-x86_64 but attempting to link with file built for macOS-arm64
Undefined symbols for architecture x86_64:
"___gmpn_add_n", referenced from:
...
error: linker command failed with exit code 1
I am not sure what is the issue exactly but I am suspecting that it is either related to the fact that I am using the macbook with new chip so the different processor causing some issue. The other possible issue can be that the gmp is not installed in the correct path or something causing the cork make file being not able to reach it.
Can anyone help with that issue?
The text was updated successfully, but these errors were encountered: