We closed this forum 18 June 2010. It has served us well since 2005 as the ALPHA forum did before it from 2002 to 2005. New discussions are ongoing at the new URL http://forum.processing.org. You'll need to sign up and get a new user account. We're sorry about that inconvenience, but we think it's better in the long run. The content on this forum will remain online.
IndexProgramming Questions & HelpIntegration › JOAL & Eclipse Integration
Page Index Toggle Pages: 1
JOAL & Eclipse Integration (Read 565 times)
JOAL & Eclipse Integration
Oct 9th, 2007, 2:50pm
 
sorry, for posting a stupid thread like this, but there's always a stupid beginning. I am not able to integrate eclipse ide (latest version)with joal,not even jogl ,i hv downloaded every plugin available, hv put everything in the plugins folder of eclipse...installed the openAL sdk,but still the import statements doesnt work even when, given a "clean start" to eclipse.

import net.java.games.joal.*;
import net.java.games.joal.util.*;

i m gettin errors wen writing these import statements...

help me out please....


thanks in advance
Re: JOAL & Eclipse Integration
Reply #1 - Oct 9th, 2007, 7:43pm
 
What errors are you getting?

From what I remember, in order to get OpenGL stuff to run in Eclipse, you need at the very least to import the jars (so they end up under the Referenced Libraries heading) and run the applet with JOGLAppletLauncher instead of the usual Applet Launcher.  You set this by going to Open Run Dialog, finding your project, and setting the Main->Applet field to com.sun.opengl.util.JOGLAppletLauncher.

If it would help, I have a project that I'm working on that's up at http://code.google.com/p/rgbgame/, and I think you can get the files through anonymous SVN using the command "svn checkout http://rgbgame.googlecode.com/svn/trunk/ rgbgame".  That requires that you have Subversion installed.  I'm pretty sure that it has the Eclipse project included and set up, using OpenGL plus Processing.  Maybe it will at least get you started...in order to run the thing, you still may have to set the run settings as I mentioned above (not sure if this comes along with the project), and you might need to run the build.xml script first to compile everything in the right way.  It does occur to me that it would probably be useful if someone posted a blank Eclipse project that had all of this stuff worked out...anyone have something like this?

I've never used JOAL, though, so I can't offer any advice there.
Page Index Toggle Pages: 1