javax.media.opengl.GLException: No default device available

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

javax.media.opengl.GLException: No default device available

Jonathan S. Fisher
Hello everyone, I'm trying to run the demo here by Xerxes:
http://www.raspberrypi.org/phpBB3/viewtopic.php?p=211874#p211874
https://raw.github.com/xranby/jogl-demos/master/src/demos/es2/RawGL2ES2demo.java

exabrial@arclight:~/Downloads/jogamp-all-platforms$ java -Dnativewindow.ws.name=jogamp.newt.driver.bcm.vc.iv \
> -cp jar/jogl-all.jar:jar/gluegen-rt.jar:. RawGL2ES2demo
Exception in thread "main" javax.media.opengl.GLException: No default device available
        at javax.media.opengl.GLProfile.getProfileMap(GLProfile.java:1860)
        at javax.media.opengl.GLProfile.get(GLProfile.java:768)
        at javax.media.opengl.GLProfile.get(GLProfile.java:784)
        at RawGL2ES2demo.main(RawGL2ES2demo.java:252)


I've tried the lastest JDK7 from Oracle for OSX as well as the older JDK6 from Apple. Any idea what I'm doing wrong? I ran a few OpenGL demos on my mac just to make sure it's working correctly. I also tried running it inside an X11 term with the same result.

Thank you for your work on the project, and thanks for any help
Reply | Threaded
Open this post in threaded view
|

Re: javax.media.opengl.GLException: No default device available

gouessej
Administrator
Hi

Don't use the option -Dnativewindow.ws.name=jogamp.newt.driver.bcm.vc.iv as it is only necessary on Raspberry Pi
Julien Gouesse | Personal blog | Website