Jirr - Unsatisfied Link error - Did I error on setting up?
Posted: Thu Jun 18, 2009 6:11 am
Hello I followed this tutorial http://irrlicht.sourceforge.net/phpBB2/ ... 6ab56b9c2f but this seems just a tiny bit out of date and I'm wondering if that is the reason why I'm getting errors.
I'm able to follow the tutorial and get it to build and give no compile errors although when I try to actually run the program I get an unsatisfied link error.
java.lang.UnsatisfiedLinkError: no irrlicht_wrap.dll in java.library.path
at java.lang.ClassLoader.loadLibrary(Unknown Source)
at java.lang.Runtime.loadLibrary0(Unknown Source)
at java.lang.System.loadLibrary(Unknown Source)
at com.leadercode.Demo.<clinit>(Demo.java:8)
Exception in thread "main"
As you can see in the tutorial it has a line of code System.loadLibrary("irrlicht_wrap.dll"); I've tried a few different paths for irrlicht_wrap, including the full path, but it didn't work much either way.(Its the loading of .dll's that I'm unfamiliar with in java). I believe that I followed the tutorial correctly.
Any help is appreciated, thank you.
*Edit* I've already tried declaring the direct path in my -Djava.library.path argument as well.
I'm able to follow the tutorial and get it to build and give no compile errors although when I try to actually run the program I get an unsatisfied link error.
java.lang.UnsatisfiedLinkError: no irrlicht_wrap.dll in java.library.path
at java.lang.ClassLoader.loadLibrary(Unknown Source)
at java.lang.Runtime.loadLibrary0(Unknown Source)
at java.lang.System.loadLibrary(Unknown Source)
at com.leadercode.Demo.<clinit>(Demo.java:8)
Exception in thread "main"
As you can see in the tutorial it has a line of code System.loadLibrary("irrlicht_wrap.dll"); I've tried a few different paths for irrlicht_wrap, including the full path, but it didn't work much either way.(Its the loading of .dll's that I'm unfamiliar with in java). I believe that I followed the tutorial correctly.
Any help is appreciated, thank you.
*Edit* I've already tried declaring the direct path in my -Djava.library.path argument as well.