ralna / RALFit

A non-linear least squares solver
Other
25 stars 6 forks source link

Build failed on macOS #93

Open hombit opened 4 years ago

hombit commented 4 years ago

Probably, clang's ld doesn't support -export-dynamic

make command outputs:

[ 23%] Built target ral_nlls
[ 26%] Built target target
[ 50%] Built target ral_nlls-static
[ 52%] Linking C executable nlls_c_test
ld: unknown option: -export-dynamic
clang: error: linker command failed with exit code 1 (use -v to see invocation)
make[2]: *** [test/nlls_c_test] Error 1
make[1]: *** [test/CMakeFiles/nlls_c_test.dir/all] Error 2
make: *** [all] Error 2