macOS-arm64 - problem linking libraries
Posted: Sat Feb 27, 2021 3:36 pm
Hi,
I am using CodeLite on macOS 11.2.1 with an M1 chip. I have a C++ project that links to libraries (openmpi and hypre). The compilation works fine, but when trying to link to the libraries, I get the following error message:
Hans
I am using CodeLite on macOS 11.2.1 with an M1 chip. I have a C++ project that links to libraries (openmpi and hypre). The compilation works fine, but when trying to link to the libraries, I get the following error message:
I am pretty sure that I am actually building for macOS-arm64, compiling the project outside CodeLite using a make file works fine. I was wondering whether this issue could be possibly fixed from CodeLite's side? Appreciating the help!ld: warning: ignoring file /usr/local/hypre/lib/libHYPRE.a, building for macOS-x86_64 but attempting to link with file built for macOS-arm64
ld: warning: ignoring file /usr/local/openmpi/lib/libmpi.dylib, building for macOS-x86_64 but attempting to link with file built for macOS-arm64
Hans