LWJGL
May 20, 2013, 23:59:58
Welcome,
Guest
. Please
login
or
register
.
Did you miss your
activation email?
1 Hour
1 Day
1 Week
1 Month
Forever
Login with username, password and session length
News
:
LWJGL 2.9.0 released!
Home
Help
Search
Login
Register
LWJGL
>
Archive
>
DevIL
>
DevIL crashes my game engine
Pages: [
1
]
« previous
next »
Print
Author
Topic: DevIL crashes my game engine (Read 4866 times)
dosse
Newbie
Posts: 10
DevIL crashes my game engine
«
on:
September 18, 2009, 11:16:06 »
Hi, i have this problem with devil: if i run my GE on windows, everything works fine, but when I try to run it from linux, I keep getting this error:
- CORE MESSAGE: can't create DevIL (Core.init())
org.lwjgl.LWJGLException: Could not load devil library.
at org.lwjgl.devil.ILNative.nCreateIL(Native Method)
at org.lwjgl.devil.ILNative.createIL(ILNative.java:116)
at org.lwjgl.devil.IL.create(IL.java:590)
at org.easyway.system.Core.init(Core.java:289)
at org.easyway.system.Sincro.run(Sincro.java:58)
- CORE MESSAGE: You have selected a resolution that isn't supported: I'll try to change the resolution.. please wait (Core.createWindow)
Exception in thread "Thread-1" java.lang.UnsatisfiedLinkError: org.lwjgl.devil.IL.nilGenImages(ILjava/nio/IntBuffer;I)V
at org.lwjgl.devil.IL.nilGenImages(Native Method)
at org.lwjgl.devil.IL.ilGenImages(IL.java:344)
at org.easyway.objects.texture.ImageData.<init>(ImageData.java:166)
at org.easyway.objects.texture.TextureID.<init>(TextureID.java:105)
at org.easyway.objects.texture.TextureID.<init>(TextureID.java:76)
at org.easyway.objects.texture.Texture.<init>(Texture.java:118)
at org.easyway.objects.texture.Texture.getTexture(Texture.java:612)
at mygame.NewClass.preCacheMenu(NewClass.java:157)
at mygame.NewClass.loop(NewClass.java:199)
at org.easyway.system.Core.coreLoop(Core.java:474)
at org.easyway.system.Sincro.run(Sincro.java:77)
Can you help me?
thanks!
Logged
Matzon
Administrator
Demigod
Posts: 2237
Re: DevIL crashes my game engine
«
Reply #1 on:
September 18, 2009, 23:29:17 »
devil is only supported in 1.x series
make sure that the binary is locatable
Logged
http://lwjgl.org
dosse
Newbie
Posts: 10
Re: DevIL crashes my game engine
«
Reply #2 on:
September 19, 2009, 04:45:56 »
it finds the binary, but the game crashes when it loads the first texture...
btw, how can i switch to version 2.x? can i just change the files in the lwjgl directory of my ge? sorry for the noob's question...
Logged
dosse
Newbie
Posts: 10
Re: DevIL crashes my game engine
«
Reply #3 on:
September 19, 2009, 05:38:51 »
i made some tries and found out that the only library with problems is devil... is there an alternative to use something else and rewrite so much code?
Logged
dosse
Newbie
Posts: 10
Re: DevIL crashes my game engine
«
Reply #4 on:
September 19, 2009, 06:49:14 »
i solved the problem by redownloading the native libraries for linux... apparently the devil libraries were corrupt...
Logged
kappa
Administrator
Nerdus Imperius
Posts: 1112
Re: DevIL crashes my game engine
«
Reply #5 on:
September 19, 2009, 06:56:52 »
there is an alternative to devil and fmod (recommended in lwjgl 2.0), its called slick-util (note separate from slick), you can use that to load textures and sounds.
It can be found at
http://slick.cokeandcode.com/downloads/util/
with javadoc being at
http://slick.cokeandcode.com/javadoc-util/
Logged
dosse
Newbie
Posts: 10
Re: DevIL crashes my game engine
«
Reply #6 on:
September 19, 2009, 07:10:47 »
Quote from: javalwjgl on September 19, 2009, 06:56:52
there is an alternative to devil and fmod (recommended in lwjgl 2.0), its called slick-util (note separate from slick), you can use that to load textures and sounds.
It can be found at
http://slick.cokeandcode.com/downloads/util/
with javadoc being at
http://slick.cokeandcode.com/javadoc-util/
thanks! i think that i'll use that in the next version of my engine instead of devil
Logged
Pages: [
1
]
Print
« previous
next »
Jump to:
Please select a destination:
-----------------------------
Programming
-----------------------------
=> Lightweight Java Library Game Development
=> LWJGL Documentation
=> Bug Reports / RFE
=> OpenGL
=> OpenAL
=> General Java Game Development
-----------------------------
Archive
-----------------------------
=> Resolved Bugs/RFE
=> DirectX
=> DevIL
=> FMOD
Loading...