Jump to content
  • Advertisement
Sign in to follow this  
zero_792

devIL Import Problem

This topic is 4662 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

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 :)

Share this post


Link to post
Share on other sites
Advertisement
Guest Anonymous Poster
What version of LWJGL do you use? Try with the lates build - v0.99

Share this post


Link to post
Share on other sites
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?

Share this post


Link to post
Share on other sites
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?

Share this post


Link to post
Share on other sites
Im using Eclipse.To run it,I did right-click > run as > Java Application, and then the error appears in the console.

Share this post


Link to post
Share on other sites
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?

Share this post


Link to post
Share on other sites
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!

Share this post


Link to post
Share on other sites
Sign in to follow this  

  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

We are the game development community.

Whether you are an indie, hobbyist, AAA developer, or just trying to learn, GameDev.net is the place for you to learn, share, and connect with the games industry. Learn more About Us or sign up!

Sign me up!