## UnsatisfiedLinkError Mac OS by calling simxStart

Typically: "How do I... ", "How can I... " questions
Posts: 6
Joined: 29 May 2013, 12:32

### Re: UnsatisfiedLinkError Mac OS by calling simxStart

Put your sources into dafault package or make the *.h fully qualified.

bnewman
Posts: 7
Joined: 05 Jul 2013, 19:51

### Re: UnsatisfiedLinkError Mac OS by calling simxStart

After Upgrading to 3.0.4, on OSX I have started to receive this error again. I did a make clean and remake on remoteApiSharedLibJava_Makefile, but still receive the error.

Code: Select all

Exception in thread "main" java.lang.UnsatisfiedLinkError: coppelia.remoteApi.simxStart(Ljava/lang/String;IZZII)I
at coppelia.remoteApi.simxStart(Native Method)
at simpleTest.<init>(simpleTest.java:62)
at simpleTest.main(simpleTest.java:213)
Is it possible the libremoteApiJava.dylib needs to be updated? The last one I have is from the zip file I found here.

These files are located in my java path.
• libremoteApiJava
remoteApi
remoteApiJava
What could be causing this issue?

Billy

coppelia
Posts: 7973
Joined: 14 Dec 2012, 00:25

### Re: UnsatisfiedLinkError Mac OS by calling simxStart

Hello Billy,

Are you sure the folder coppelia is also in the search path of Java? Since V-REP 3.0.4 all the functions are packaged inside coppelia.
Is the example application programming/Java/simpleTest.java working?

And make sure to use the libRemoteApiJava.dylib that comes with the last V-REP release (V3.0.4)
Cheers

bnewman
Posts: 7
Joined: 05 Jul 2013, 19:51

### Re: UnsatisfiedLinkError Mac OS by calling simxStart

Sorry for the hassle, but I am unable to find libRemoteApiJava.dylib in any of the program/directories associated with VREP. When I make remoteApiSharedLibJava_Makefile, it only produces remoteApiJava.dylib.

simpleTest.java does not run, although I did run before upgrading.

Billy

I was able to get it working by renaming remoteApiJava.dylib to libremoteApiJava.dylib