Mac OSX 10.9 Jogl Eclipse Problem please help

classic Classic list List threaded Threaded
6 messages Options
Reply | Threaded
Open this post in threaded view
|

Mac OSX 10.9 Jogl Eclipse Problem please help

Dimitrij
Hello Guy,

after 8 hours to try to install JOGL on Mac OSX 10.9 i have no idea.

I have the following problem.

Fatal Error:Main class jogamp.opengl.openal.av.ALDummyUsage couldn't found.

I followed the link
https://jogamp.org/wiki/index.php/Setting_up_a_JogAmp_project_in_your_favorite_IDE

Pleas help
Reply | Threaded
Open this post in threaded view
|

Re: Mac OSX 10.9 Jogl Eclipse Problem please help

jmaasing
We can't help unless you show how you set up in eclipse. We don't know what you have tried or how you did it so we can't guess what you missed.
But the missing class is related to joal (audio library), do you you have joal.jar set up in your eclipse project?
http://jogamp.org/joal-demos/www/
Reply | Threaded
Open this post in threaded view
|

Re: Mac OSX 10.9 Jogl Eclipse Problem please help

Dimitrij
Hello,
thanks for quick answer.

i have created a user library. Following jar files are in this:
gluten-rt.jar
jogl-all.jar
joal-natives-macosx-universal.jar
joal.jar
gluegen-rt-natives-macosx-unversal.jar
jogl-all-natives-macosx-unversar.jar

Is it right?

And than i have created a new  project with this user library.
When i try to compile, eclipse says that main class can not be find.

thanks in advance
Dimitrij
Reply | Threaded
Open this post in threaded view
|

Re: Mac OSX 10.9 Jogl Eclipse Problem please help

gouessej
Administrator
Which version of JOGL and JOAL do you use? Which main class can't be found? Is it still ALDummyUsage? Then it's not an error at compile time but rather when running ALDummyUsage itself (in JOGL), which uses JoalVersion and AL (in JOAL). Do you really want to run ALDummyUsage or your own main class?
Julien Gouesse | Personal blog | Website
Reply | Threaded
Open this post in threaded view
|

Re: Mac OSX 10.9 Jogl Eclipse Problem please help

Dimitrij
I am using the version from this link:
https://jogamp.org/wiki/index.php/Setting_up_a_JogAmp_project_in_your_favorite_IDE

At the begin, there is a link to download a actual version of jogl.

it es the same error all of the time whit ALDummyUsage. No, i don't want to use it.

I created a call with a main function and wrote on line
System.out.println("Test");

And nothing happened. Eclipse don't build it.


Reply | Threaded
Open this post in threaded view
|

Re: Mac OSX 10.9 Jogl Eclipse Problem please help

gouessej
Administrator
If you don't try to build JOGL or to run ALDummyUsage, you shouldn't get this error. If you put your own class into a separate project depending on JOGL as a user library, it should work. I have already used JOGL 2 under Mac OS X in Eclipse Kepler without trouble. In my humble opinion, you can get this kind of error when trying to build JOGL without JOAL. For example, my own project works correctly under Mac:
http://svn.code.sf.net/p/tuer/code/pre_beta/
Julien Gouesse | Personal blog | Website