[gameprogrammer] Re: JOGL - Trouble getting started...
- From: Stephen <gp@xxxxxxxxxxxxxxxxxxxxxxxx>
- To: gameprogrammer@xxxxxxxxxxxxx
- Date: Sat, 26 Nov 2005 07:36:50 +0000
I always have this problem with Eclipse. I alway unzip the jar into a
new subdirectory called jogl off of the main project dir (so you've got
./project/jogl/net/java/etc...). Then refresh your projct, go into
Project properties, select Java Build Path, Libraries, and click on Add
Class Folder, and just tick the new subdirectory you created.
(I know the whole idea of JAR's is to keep everything in one place, but
I never get on with them, and I find them miles easier to use once they
are unzipped. If you then use multiple JAR's in a project, you can just
stick them all in one subdir and just specifiy that dir in the
-classpath option.)
Good luck, and I'd really like to see what you write. I use JOGL all
the time (http://www.carlylesmith.karoo.net/lazersquad3d) but I'm sure I
could learn a thing or two.
Mike Gillissie wrote:
Hey folks - I'm trying to get started on some JOGL learning, and have
run into my first roadblock before even getting so much as a Hello
World up and running.
I've downloaded jogl.jar from Sun, as well as the Windows native
libraries, which have been extracted into a folder within my path.
Also, the jogl.jar file is in my classpath.
Now, in all of the example code I've seen, they've got the following
import:
import net.java.games.jogl.*;
Problem is, Eclipse tells me quite adamantly that "Import net cannot
be resolved."
I've probably missed something simple - can anybody spot my mistake?
Thanks in advance, guys!
-Mike
---------------------
To unsubscribe go to http://gameprogrammer.com/mailinglist.html
- Follow-Ups:
- [gameprogrammer] Re: JOGL - Trouble getting started...
- From: Paulo Pinto
- References:
- [gameprogrammer] JOGL - Trouble getting started...
- From: Mike Gillissie
Other related posts:
- » [gameprogrammer] JOGL - Trouble getting started...
- » [gameprogrammer] Re: JOGL - Trouble getting started...
- » [gameprogrammer] Re: JOGL - Trouble getting started...
- » [gameprogrammer] Re: JOGL - Trouble getting started...
- » [gameprogrammer] Re: JOGL - Trouble getting started...
I've downloaded jogl.jar from Sun, as well as the Windows native libraries, which have been extracted into a folder within my path. Also, the jogl.jar file is in my classpath.
Now, in all of the example code I've seen, they've got the following import:
import net.java.games.jogl.*;
Problem is, Eclipse tells me quite adamantly that "Import net cannot be resolved."
I've probably missed something simple - can anybody spot my mistake?
Thanks in advance, guys!
-Mike
--------------------- To unsubscribe go to http://gameprogrammer.com/mailinglist.html
- [gameprogrammer] Re: JOGL - Trouble getting started...
- From: Paulo Pinto
- [gameprogrammer] JOGL - Trouble getting started...
- From: Mike Gillissie