devIL Import Problem
Im using LWJGL,and I cant import the devIL library for texturing. All of my other imports are working,so this one should be too.
Here is my import line:
import org.lwjgl.devil.IL;
(it justs gives me a error whenever I try running wit with this)
Thanks :)
Quote:Original post by zero_792
What ia a compiler and editor error?
Does the editor show the error or when you try to compile/build does it show the error?
Quote:Original post by zero_792
When I press the run(or whatever) button,it gives me the error. Dunno if that helps.
:)
What IDE are you using? Have you tried doing a clean build without clicking run? If so did the clean build generate any errors? What kind of error messages are you getting?
Im using Eclipse.To run it,I did right-click > run as > Java Application, and then the error appears in the console.
In eclipse go to the project menu and select build all. If you get and error after doing that let us know.
Also what are the error messages?
Also what are the error messages?
Ah, Eclipse? In order to run LWJGL prorams FROM Eclipse , you should go to Run button (green arrow) ---> Arguments dialog window. There, in VM Arguments textfield, add
-Djava.library.path=C:\....your path...\lwjgl-win32-0.99\native
That should do it!
-Djava.library.path=C:\....your path...\lwjgl-win32-0.99\native
That should do it!
This topic is closed to new replies.
Advertisement
Popular Topics
Advertisement