Unsatisifed link error in ProjectBuilder on windows platform


(Markus Oley) #1

Hi,

we are using the projectbuilder in our tests and in one test we get an error: Caused by: net.rubygrapefruit.platform.NativeException: Failed to load native library ‘native-platform.dll’ for Windows 7 x86.
at net.rubygrapefruit.platform.internal.NativeLibraryLoader.load(NativeLibraryLoader.java:49)
at net.rubygrapefruit.platform.Native.init(Native.java:55)
at org.gradle.internal.nativeintegration.services.NativeServices.initialize(NativeServices.java:74)
at org.gradle.internal.nativeintegration.services.NativeServices.initialize(NativeServices.java:60)
at org.gradle.testfixtures.internal.ProjectBuilderImpl.createProject(ProjectBuilderImpl.java:74)
at org.gradle.testfixtures.ProjectBuilder.build(ProjectBuilder.java:99)
at org.gradle.testfixtures.ProjectBuilder$build$2.call(Unknown Source)
at org.codehaus.groovy.runtime.callsite.CallSiteArray.defaultCall(CallSiteArray.java:48)
at org.codehaus.groovy.runtime.callsite.AbstractCallSite.call(AbstractCallSite.java:113)
at org.codehaus.groovy.runtime.callsite.AbstractCallSite.call(AbstractCallSite.java:117)
at …createProject(…groovy:72)
… 63 more
Caused by: java.lang.UnsatisfiedLinkError: C:\Users…\prjSyndromDir\userHome\native\19\windows-i386\native-platform.dll: Can’t find dependent libraries
at java.lang.ClassLoader$NativeLibrary.load(Native Method)
at java.lang.ClassLoader.loadLibrary0(ClassLoader.java:1938)
at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1821)
at java.lang.Runtime.load0(Runtime.java:809)
at java.lang.System.load(System.java:1086)
at net.rubygrapefruit.platform.internal.NativeLibraryLoader.load(NativeLibraryLoader.java:45)
… 78 more

Can you please give me a hint what’s wrong with my environment?
Thanks
Cheers

Markus