From: Francisco A. <big...@ya...> - 2001-04-27 19:30:41
|
Hi, i have serveral weeks now trying to get gl4java work in my linux box and i havent been able to do so, here is my configuration: * Fujitsu C Series * Video Card (dump from HardDrake): Vendor: Trident Microsystems Model: Cyber 9525 (generic) Cyber 9525 Bus Type: PCI * RAM: 192 Mb * Linux: Mandrake 7.2, KDE 2.1 I have compiled Mesa 3.4.1 but is not installed in the system, i'm using it from a 'temp' location. I must note that i have had some trouble using OpenGL with the package k-3d (www.k-3d.com), which is a 3d modeller that uses Mesa. The problem was that the package needed 16 bits (r5, g6, b5) OpenGL mode, but my system supported only a (weird?) 15 bits mode, so i had to change the source to use that mode (r5, g5, b5) and it works fine now. Here is the problem i'm facing: when trying to run any example there is a serie of errors like this one (this is the result of trying to run the demos/SwingDemos/InternalGLFrameDemo1): <snip> [root@trantor SwingDemos]# /opt/jdk1.3/jre/bin/java InternalGLFrameDemo1 GLContext.loadNativeLibraries will do it ! jvm vendor: Sun Microsystems Inc. jvm version: 1.3.0_02 jvm version (parsed): major: 1, minor: 3 loaded native library: GL4JavaJauGljJNI13 loaded native library: GL4JavaJauGLJNI12 Sorry, can't find the library: GL4JavaJauGLUJNI12 java.lang.UnsatisfiedLinkError: /mnt/linux/opt/jdk1.3/jre/lib/i386/libGL4JavaJauGLUJNI12.so: /mnt/linux/opt/jdk1.3/jre/lib/i386/libGL4JavaJauGLUJNI12.so: undefined symbol: gluTessNormal GLJPanel could not load def. native libs. Exception during loading: CrossColorJPanel java.lang.NullPointerException GLJPanel::componentResized(CrossColorJPanel[,0,37,290x203,layout=java.awt.FlowLayout,alignmentX=null,alignmentY=null,border=,flags=2,maximumSize=,minimumSize=,preferredSize=,defaultLayout=java.awt.FlowLayout[hgap=5,vgap=5,align=center]]) GLContext createGLContext GLContext createGLContext GLContext createGLContext GLContext createGLContext GLContext createGLContext GLContext GLContext() failed </snip> After this is shown the window appears, but does not show the gl4java components. The same error goes with all the examples. I would appreciate your help on this a lot, since i'm porting a huge applications from java3d to gl4java, and i'm interested in working with some gl4java projects. Thanks __________________________________________________ Do You Yahoo!? Yahoo! Auctions - buy the things you want at great prices http://auctions.yahoo.com/ |