Open hudda10 opened 1 year ago
The command to build JniLib is failing on Mac M1 , OS Sonoma 14
gcc -shared -lgfortran -L /usr/local/gfortran/lib/ -o /slsqp4j/slsqp4j/build/libs/libslsqp.so /slsqp4j/slsqp4j/build/c/slsqp.o /slsqp4j/slsqp4j/build/fortran/slsqp.o
with error
found architecture 'arm64', required architecture 'x86_64' ld: Undefined symbols: slsqp, referenced from: _Java_com_skew_slsqp4j_util_NativeUtils_slsqp in slsqp.o clang: error: linker command failed with exit code 1
The command to build JniLib is failing on Mac M1 , OS Sonoma 14
gcc -shared -lgfortran -L /usr/local/gfortran/lib/ -o /slsqp4j/slsqp4j/build/libs/libslsqp.so /slsqp4j/slsqp4j/build/c/slsqp.o /slsqp4j/slsqp4j/build/fortran/slsqp.o
with error
found architecture 'arm64', required architecture 'x86_64' ld: Undefined symbols: slsqp, referenced from: _Java_com_skew_slsqp4j_util_NativeUtils_slsqp in slsqp.o clang: error: linker command failed with exit code 1