Posted by
BFarns on
May 31, 2013; 4:09pm
URL: https://forum.jogamp.org/building-on-Solaris-SPARC-tp4029278p4029286.html
So after I added strip to my PATH variable, everything built but the unit tests failed, which I'll get to later (I didn't notice at first because my history is pretty short and the build says successful after the tests run). And when i ran my application i got an error about missing a jar, gluegen-natives-solaris-sparc.jar. The build only built gluegen-rt-natives-solaris-sparc.jar (as far as natives jars for gluegen). But, that jar seemed to contain the library I was missing so i renamed it (took out -rt) and it no longer complained about missing jars.
Then I ran into the MachineDescription problem mentioned in this thread (which is also what i see in the failed unit tests):
http://forum.jogamp.org/Solaris-Sparc-builds-td4025566.htmlSo I applied those code changes and rebuilt and ran the tests again. I still got failures on the tests. And now when I run my application I get an exception (at the bottom).
I'm not a JOGL developer, I have been using jzy3d and just been trying to create a build for Solaris SPARC, so I'm not sure what to look at to try to fix this. So any hints or suggestions appreciated. Also let me know what other information I should be providing to get help on this.. I'm running Solaris 10 btw. I'm trying to build the code from v2.0 rc11.
javax.media.opengl.GLException: Profile GL_DEFAULT is not available on null, but: []
at javax.media.opengl.GLProfile.get(GLProfile.java:771)
at javax.media.opengl.GLProfile.getDefault(GLProfile.java:555)
at javax.media.opengl.GLProfile.getDefault(GLProfile.java:566)
at org.jzy3d.global.Settings.<init>(Unknown Source)
at org.jzy3d.global.Settings.getInstance(Unknown Source)
at org.jzy3d.chart.Chart.<init>(Unknown Source)
... (cut out the layer from our code in the action to calling chart init in jzy3d)
at javax.swing.AbstractButton.fireActionPerformed(Unknown Source)
at javax.swing.AbstractButton$Handler.actionPerformed(Unknown Source)
at javax.swing.DefaultButtonModel.fireActionPerformed(Unknown Source)
at javax.swing.DefaultButtonModel.setPressed(Unknown Source)
at javax.swing.plaf.basic.BasicButtonListener.mouseReleased(Unknown Source)
at java.awt.Component.processMouseEvent(Unknown Source)
at javax.swing.JComponent.processMouseEvent(Unknown Source)
at java.awt.Component.processEvent(Unknown Source)
at java.awt.Container.processEvent(Unknown Source)
at java.awt.Component.dispatchEventImpl(Unknown Source)
at java.awt.Container.dispatchEventImpl(Unknown Source)
at java.awt.Component.dispatchEvent(Unknown Source)
at java.awt.LightweightDispatcher.retargetMouseEvent(Unknown Source)
at java.awt.LightweightDispatcher.processMouseEvent(Unknown Source)
at java.awt.LightweightDispatcher.dispatchEvent(Unknown Source)
at java.awt.Container.dispatchEventImpl(Unknown Source)
at java.awt.Window.dispatchEventImpl(Unknown Source)
at java.awt.Component.dispatchEvent(Unknown Source)
at java.awt.EventQueue.dispatchEventImpl(Unknown Source)
at java.awt.EventQueue.access$000(Unknown Source)
at java.awt.EventQueue$1.run(Unknown Source)
at java.awt.EventQueue$1.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at java.security.AccessControlContext$1.doIntersectionPrivilege(Unknown Source)
at java.security.AccessControlContext$1.doIntersectionPrivilege(Unknown Source)
at java.awt.EventQueue$2.run(Unknown Source)
at java.awt.EventQueue$2.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at java.security.AccessControlContext$1.doIntersectionPrivilege(Unknown Source)
at java.awt.EventQueue.dispatchEvent(Unknown Source)
at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source)
at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
at java.awt.EventDispatchThread.run(Unknown Source)