DevIL on linux

I’m having problems having devIL load his native libraries :-\ , I have read on the lwgl wiki and on the lwgl forum that this is a known problem on macOS, but it was fixed on 0.99.

I’m using lwgl v0.99, configured as an user library on eclipse, with native libraries set for each jar, but i still get this error

org.lwjgl.LWJGLException: Could not load devil library.
	at org.lwjgl.devil.ILNative.nCreateIL(Native Method)
	at org.lwjgl.devil.ILNative.createIL(ILNative.java:64)
	at org.lwjgl.devil.IL.create(IL.java:583)
	at tutoriales.Lesson06.init(Lesson06.java:194)
	at tutoriales.Lesson06.run(Lesson06.java:66)
	at tutoriales.Lesson06.main(Lesson06.java:61)

when i run the code for the 6th nehe tutorial loading a texture.

do a ldd on the devil library to check that its dependencies are solved (same issue as with mac)

Thanks, i found that libILU was asking me for libdevil.so.1, i just apt’ed libdevil and now it works

thanks again, i’m feeling like teh n00b here ::slight_smile:

dont, it’s an issue with the devil release in that it isn’t statically compiled. nomberR has been looking for a solution but so far it involves linking the lib manually. He hasn’t found a solution for it on Mac either - so the current way to do it, is to ensure that the support libs are installed - bit annoying distribution wise - we are looking for people to help solving the issues.