Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cannot build a Kotlin project that is using SLSQP library from Maven #18

Open
Ariannnnnn opened this issue Dec 3, 2024 · 0 comments
Open

Comments

@Ariannnnnn
Copy link

I have imported the maven library using implementation("com.skew.slsqp4j:slsqp4j:0.1") in build.gradle.kts file. gradle clean build runs successfully but upon running the minimize function I get the following error. My system is MacOS Sonoma 14.7.

Exception in thread "main" java.lang.UnsatisfiedLinkError: Can't load library: /var/folders/6w/xqzv7d355zv5m79s1kplgnzwvlpzzc/T/libslsqp12170805205483178640.so
	at java.base/java.lang.ClassLoader.loadLibrary(ClassLoader.java:2638)
	at java.base/java.lang.Runtime.load0(Runtime.java:768)
	at java.base/java.lang.System.load(System.java:1854)
	at com.skew.slsqp4j.util.NativeUtils.loadLib(NativeUtils.java:122)
	at com.skew.slsqp4j.util.NativeUtils.<clinit>(NativeUtils.java:132)
	at com.skew.slsqp4j.Slsqp.minimizeWithVectorConstraints(Slsqp.java:406)
	at com.skew.slsqp4j.Slsqp.minimize(Slsqp.java:339)
	...
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant