How to import lwjgl_util

2019-09-18 16:30发布

问题:

I am trying to make a 3d lwjgl object, and have done so, but am getting an error telling me that I don't have the XPMFile. So I did some research, and have found that I need to load the XPMFile, but can't seem to find out how to do so. So I am wondering how to load the XPMFile for lwjgl_Util.

**EDIT**

Ok, I've decided to change the question to fit what I know now. The new Question is:

How do you import lwjgl_util, so that you don't get the XPMFile error???

回答1:

have you put lwjgl_util.jar on the classpath? (i.e. the same place you put lwjgl.jar in eclipse).



回答2:

This is the general package.

import org.lwjgl.util.*;