Is there a Linux AMD64 build of jogl ? I’ve tried to run the x86 version of jogl but it dosen’t seem to work. It just complians that it can’t load libjogl_cg.so etc… even though it is both in my system path and java library path.
Cheers
// Tomas
Is there a Linux AMD64 build of jogl ? I’ve tried to run the x86 version of jogl but it dosen’t seem to work. It just complians that it can’t load libjogl_cg.so etc… even though it is both in my system path and java library path.
Cheers
// Tomas
Dont know if it helps, but some more info is in this thread http://www.java-gaming.org/cgi-bin/JGNetForums/YaBB.cgi?board=jogl;action=display;num=1092232529;start=7#7
(Hey Tomas, how’s Brussels?"
// Gregof
[quote]Dont know if it helps, but some more info is in this thread http://www.java-gaming.org/cgi-bin/JGNetForums/YaBB.cgi?board=jogl;action=display;num=1092232529;start=7#7
(Hey Tomas, how’s Brussels?"
// Gregof
[/quote]
Excelent fruit beer and french fries
On FC3 I had to do one more thing beyond the patch for Issue 88 to get it to work, and that was to point the linker to the 64 bit X11 libraries (/usr/X11R6/lib64 rather than lib).
So, additional changes to the build file might include adding a specific linker target of “linker.cfg.linux.amd64” :
314a335,341
<target name="declare.linux.amd64" depends="declare.x11.amd64"> <property name="java.includes.dir.platform" value="${java.includes.dir.linux}" /> <property name="java.lib.dir.platform" value="${java.lib.dir.linux.amd64}" /> <property name="compiler.cfg.id" value="compiler.cfg.linux.amd64" /> <property name="linker.cfg.id" value="linker.cfg.linux.amd64" /> </target>
and
708a741,745
<linker id="linker.cfg.linux.amd64" name="gcc"> <syslibset dir="/usr/X11R6/lib64" libs="GL, GLU, X11"/> <syslibset dir="${x11.cg.lib}" libs="Cg, CgGL" if="c.compiler.use-cglib"/> </linker>
With this, the jogl and the demos seem to build and run (FC3 (2.6.9-1.667smp kernel), dual Opteron, gcc 3.4.2 20041017 (Red Hat 3.4.2-6.fc3), JDK 1.5.0-b64, apache-ant-1.6.2, antlr-2.7.4, NVIDIA FX3000 with 6629 driver, IBM T221 DG 3 monitor).
David
Hi David,
I’ve updated the patch linked in issue 88 with your proposed implementation. It should now compile fine 1.1b07.
Still, the issuetracker doesn’t allow me to add any logs to the issue…
Thanks.
If you’re an Observer of the JOGL project then you should be able to add comments to any issue that’s been filed. Are you having problems doing this?
Ok, I didn’t know about this. I just submitted a request to be an ‘Observer’. Thanks.