Native code libraries failing to load.

269 views
Skip to first unread message

dotas...@gmail.com

unread,
Sep 2, 2014, 12:21:43 PM9/2/14
to spar...@googlegroups.com
After switching libraries from DEX 4.8 to Sparksee, I get errors of the following nature: 

Native code library failed to load

java.lang.UnsatisfiedLinkError: C:\NON_SYSTEM_DOCUMENT_FOLDER\Workspace\TMP\.spa
rkseejava1067666651251846778.LibsDir\stlport.dll: Can't find dependent libraries

I can see similar files being generated by DEX in the TMP directory and DEX runs fine. The corresponding Sparksee directory is always empty and never runs.

The same happens whether or not I execute my own code, or the HelloSparksee example.

Is there something I'm missing here?

dotas...@gmail.com

unread,
Sep 2, 2014, 5:08:39 PM9/2/14
to spar...@googlegroups.com
Found a solution. 

Using Dependency Walker, I found two missing libraries:

MSVCP110.DLL
MSVCR110.DLL

I downloaded Visual C++ Redistributable for Visual Studio 2012 Update 4 and installed it. After a reboot, everything functioned just fine.

c3po.ac

unread,
Sep 3, 2014, 3:23:57 AM9/3/14
to spar...@googlegroups.com
Hi,

Yes, that's the right solution.
The native Sparksee libraries from Sparkseejava for Windows require the Visual C Runtime libraries.
Currently Visual Studio 2012 is used but other versions could be generated.

Best regards.

El dimarts 2 de setembre de 2014 23:08:39 UTC+2, dotas...@gmail.com va escriure:
Reply all
Reply to author
Forward
0 new messages