Open mmghannam opened 8 months ago
I see that you made an attempt at this in #13. I managed to get a bit closer by changing from:
#[cfg(not(windows))] println!("cargo:rustc-link-lib=static=scip");
to:
#[cfg(not(windows))] { println!("cargo:rustc-link-lib=static=gmp"); println!("cargo:rustc-link-lib=static=gmpxx"); println!("cargo:rustc-link-lib=static=ipopt"); println!("cargo:rustc-link-lib=static=soplex"); println!("cargo:rustc-link-lib=static=scip"); }
Instead of 834 we now "only" get 564 lines of undefined symbols on macos-arm: linking-errors-macos-aarch64.txt
Mainly it was including soplex that reduced the number of missing symbols.
soplex
There's a libsoplexshared.dylib file in libscip-macos-arm.zip lib/. Does that contain the rest of the referenced symbols?
libsoplexshared.dylib
Thanks for the suggestion @jacobsvante! I was starting to lose hope that this could work 😄 I added your suggestion plus the other missing libraries and reopened #13
Minor correction. New PR is at #19
I see that you made an attempt at this in #13. I managed to get a bit closer by changing from:
to:
Instead of 834 we now "only" get 564 lines of undefined symbols on macos-arm: linking-errors-macos-aarch64.txt
Mainly it was including
soplex
that reduced the number of missing symbols.There's a
libsoplexshared.dylib
file in libscip-macos-arm.zip lib/. Does that contain the rest of the referenced symbols?