java - Trying to use new package -
basically i've downloaded package worldwind jdk allows rendering of 3ds models. however, life of me, i've been unable use of these files using standard imports, , googlefoo failing pretty hard in coming way use them.
import on primary renderer file this
import gov.nasa.worldwind.movable; import gov.nasa.worldwind.geom.angle; import gov.nasa.worldwind.geom.latlon; import gov.nasa.worldwind.geom.position; import gov.nasa.worldwind.geom.quaternion; import gov.nasa.worldwind.geom.vec4; import gov.nasa.worldwind.globes.globe; import gov.nasa.worldwind.render.drawcontext; import gov.nasa.worldwind.render.renderable; import gov.nasa.worldwind.util.logging; import javax.media.opengl.gl; //problems reside these imports import net.java.joglutils.model.modelfactory; import net.java.joglutils.model.examples.displaylistrenderer; import net.java.joglutils.model.geometry.model; public class movable3dmodel implements renderable, movable{ }
the error when trying use them
the import net cannot resolved.
the files come in string of different folders, need of them used, , lost go here ><
edit1: throwing in edits answer questions question using eclipse. worldwind dependancies using few jogls import, not issue. issue trying use
this classpath issue. downloaded worldwind myself , see comes in zip. can't point classpath that. have extract , add jars in there classpath. see "worldwind.jar" in there. seems have classes you're importing.
adding classpath depends on environment you're using. should take step , learn more classpath first. there plenty of tutorials. here's some:
- http://docs.oracle.com/javase/6/docs/technotes/tools/solaris/classpath.html if you're on solaris/linux-like environment
- http://docs.oracle.com/javase/6/docs/technotes/tools/windows/classpath.html if you're on windows
the classpath essential learning how debug java programs. if learn understand now, you'll better java programmer forever
Comments
Post a Comment