LWJGL Forum

Programming => Lightweight Java Gaming Library => Topic started by: jjones7947 on November 30, 2007, 21:48:09

Title: Exception in thread "main" java.lang.UnsatisfiedLinkError: nilGenImages
Post by: jjones7947 on November 30, 2007, 21:48:09
Project structure:(Eclipse)
all dlls are in a sub-folder "native"
all jars are in the build path
All the scene construction to include image loading is done inside of a method which starts with calling create on all 3 Devil packages
IL, ILU, and ILUT
and ends with calling destroy on all.
This is an ant built JNI project where I'm using lwjgl for rendering and wiring in physics engine written in C. This means that I added
"-Djava.library.path=native" as an argument to the launch configuration and appended "native" to the system path through the IDE.
NOTE: Error did not occur prior to upgrading to 1.1.3 release. Also, have another project which shares major code, and earlier release of
lwjgl which runs with no errors.

Thanks
Jim
Title: Re: Exception in thread "main" java.lang.UnsatisfiedLinkError: nilGenImages
Post by: Schnitter on November 30, 2007, 23:30:05
Did you write IL.create() bevore using this method?
Title: Re: Exception in thread "main" java.lang.UnsatisfiedLinkError: nilGenImages
Post by: jjones7947 on December 01, 2007, 00:21:41
Didn't have to, called the one in the IL class.