From: <NM...@th...> - 2002-03-01 15:08:48
|
Hi, I am trying to build the JCanyon demo that Sun Microsystems has posted as an official Java 1.4 demo at http://java.sun.com/products/jfc/tsc/articles/jcanyon/ On the page it states that the demo uses an "unmodified 2.8.x" distribution of GL4Java. I've downloaded and installed the latest GL4Java binaries ( rel-2-8-0-8 prerelease ) from sourceforge. When building I get the compiler errors shown below. They indicate that the compiler can not find the GLFunc14 method glAllocateMemoryNV(int, float, float, float). It is referenced in both the DBFlyer and DBZoomer class on lines (720, 725) and (593, 598) respectively. I have used JAD to decompile the GLFunc14.class file that is in the rel-2-8-0-8 prerelease of GL4Java. The glAllocateMemoryNV(int, float, float, float) method does not exist in the interface. Does the new GL4Java release not include this method? Do I just not have the correct version of the GL4Java jar? Am I just doing something wrong? I viewed the API documentation at http://gl4java.sourceforge.net/docs/html/index.html and the method is listed. Thanks for your help, Noah HERE IS THE COMPILER ERRORS GENERATED : D:\jcanyon-src>make javac -g -d . terrain/*.java tools/*.java edu/mit/alum/kbrussel/linalg/*.java ac tion/*.java f16/*.java comparison/*.java terrain/DBFlyer.java:720: cannot resolve symbol symbol : method glAllocateMemoryNV (int,float,float,float) location: interface gl4java.GLFunc14 bigArrayVar = gl.glAllocateMemoryNV(bufferSizeInBytes, 0f, 0f, priority).asFloatBuffer(); ^ terrain/DBFlyer.java:725: cannot resolve symbol symbol : method glAllocateMemoryNV (int,float,float,float) location: interface gl4java.GLFunc14 bigArrayVar = gl.glAllocateMemoryNV(bufferSizeInBytes, 0f, 0f, 1.f).asFloatBuffer(); ^ terrain/DBZoomer.java:593: cannot resolve symbol symbol : method glAllocateMemoryNV (int,int,int,float) location: interface gl4java.GLFunc14 bigArrayVar = gl.glAllocateMemoryNV(bufferSizeInBytes, 0, 0, priority).asFloatBuffer(); ^ terrain/DBZoomer.java:598: cannot resolve symbol symbol : method glAllocateMemoryNV (int,int,int,float) location: interface gl4java.GLFunc14 bigArrayVar = gl.glAllocateMemoryNV(bufferSizeInBytes, 0, 0, 1.f).asFloatBuffer(); ^ 4 errors make: *** [all] Error 1 |