Hi,
Somebody could here help me in the installation of the JOGL in a system IRIX,
one schemes SGI, I did not find material and I did not obtain you make it alone…
Hi,
Somebody could here help me in the installation of the JOGL in a system IRIX,
one schemes SGI, I did not find material and I did not obtain you make it alone…
Somebody already heard here to speak of some installation of the JOGL in the IRIX ???
i think, i have a working port. it is based on jogl-1.1.1-rc1-src.zip.
you can find the (undocumented) runtime-bin’s at
http://www.wias-berlin.de/people/bremer/tools/jogl-bin.tgz
i.b.
Do you have diffs of the build.xml and other files you needed to change in order to enable this port? I’ll be glad to make those changes in the main source tree to at least make it easier for people to build on IRIX in the future.
i know, the list of changes should be documented, but i had no time up to now.
i was following the path of the hpux port.
it begins with ant, this works itself, but the port of cpptasks was a hard job. and is not complete.
(why using this highly nonportable overkill if one has to compile only one c-file as in case of gluegen?)
and ends up with changes in build.xml and some small additions of precompiler-macros of the form #ifdef __sgi
in the native code.
i.b.
Our earlier build process had tons of environment variables and per-platform expressions that had to be evaluated in order to generate the appropriate C compiler command lines. The cpptasks refactoring seems to have simplified the build process, but maybe we can learn from Java 3D or another project which invokes the C compiler manually.
the execution of system commands from java is something very special.
you can spend a lot of time on problems which you not have without java.
no tty, the LANG environment variable takes precedence over the locale,
if the command is a shell script, $* does not contain the usual stuff
to give only some examples.
in my case there was LANG=posix, i dont know, where this come from (ssh over a linux gate???)
(in a normal shell (csh, tcsh, sh) this has no effect with respect to sgi’s (mips pro) cc or CC.)
as a result the cc on irix called from java in the cctask was not able to find the message database
and gives up with fatal error. normaly a system call in a c programm has no special effects.
after this unusual interrupt ant had some problems with the dependencies chain… this is a very long story.
to find out where to define the compiler flags you have to go through a hierarchy of abstract classes in cctask source code.
the interesting stuff is undocumented, nice reverse engineering task.
btw irix has 3 api’s (o)32, n32 and n64, how does this fit in the ant/cctask-philosophy?
(the same as for gcc 4 on x86_64 if you want to be compatible to 32-bit gcc 3 (gcc -m32 -fabi-verision=1))
ant works fine, if the system is supported (say mainstream), in any other case you have much more trouble as with the
“usual” autoconfig stuff.
i.b.
(i’m porting a large spectrum of opensource software since more then 10 years to irix and osf1.
setting CC to cc to avoid gcc, ./configure, make, make install thats it)
The case of compiling C code from ant is a special case, but in general I agree with you; I don’t like autoconfig, but I do agree that ant is good for exactly the tasks it’s designed for but when you start to need more out of it it doesn’t work well. Make / GNU Make and make rules are a much better dependence mechanism than the hidden / explicit dependencies required when using ant.
Anyway, sorry for the trouble you ran into, but if you have patches you’d like me to apply to the JOGL tree I’ll be happy to.
for now i have put my current state in some tar files under
http://www.wias-berlin.de/people/bremer/tools/
my ant version is 1.7.0 , i found also some antlr-2.7.4.jar but i dont remember for
what is this needed
i’m offline from next monday for 3 weeks.
(cctasks should be read cpptasks)
i.b.
I am trying to get this JOGL to work on on IRIX as well as this is the error that I get…
GLCapabilities [DoubleBuffered: false, Stereo: false, HardwareAccelerated: true, DepthBits: 24, StencilBits: 0, Red: 8, Green: 8, Blue: 8, Alpha: 0, Red Accum: 0, Green Accum: 0, Blue Accum: 0, Alpha Accum: 0, Multisample: false ]
Xlib: extension “GLX” missing on display “localhost:65.0”.
Exception in thread “main” java.lang.NullPointerException
at com.sun.opengl.impl.x11.X11GLDrawableFactory.chooseGraphicsConfiguration(X11GLDrawableFactory.java:152)
at javax.media.opengl.GLCanvas.chooseGraphicsConfiguration(GLCanvas.java:409)
at javax.media.opengl.GLCanvas.(GLCanvas.java:117)
at javax.media.opengl.GLCanvas.(GLCanvas.java:86)
at test.image.(image.java:75)
at test.image.main(image.java:100)
I am not a Unix expert, so I really need some assistance.
Thanks in Advance.