devIL Import Problem

Started by
19 comments, last by hvor3 18 years, 3 months ago
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 :)
Advertisement
What version of LWJGL do you use? Try with the lates build - v0.99
... and what is your error, compile error or editor error?
I am using v0.99. What ia a compiler and editor error?
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?
<a href="http://ruggles.hopto.org>My Personal Website
When I press the run(or whatever) button,it gives me the error. Dunno if that helps.
:)
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?
<a href="http://ruggles.hopto.org>My Personal Website
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?
<a href="http://ruggles.hopto.org>My Personal Website
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!

This topic is closed to new replies.

Advertisement