From: Jacob M. <ja...@ma...> - 2002-03-01 15:17:49
|
Try using the latest version of Gl4Java instead. v.2.8.2. (Don't download from source forge. They are old if I recall correctly) Either use the installer on the gl4java home page or get the files here: http://jausoft.com/Files/Java/1.1.X/GL4Java/binpkg/ Jacob Marner ----- Original Message ----- From: <NM...@th...> To: <gl4...@li...> Cc: <wj...@Th...> Sent: Friday, March 01, 2002 16:08 Subject: [gl4java-usergroup] Error building Sun's Java 1.4 JCanyon demo > 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 > > > > > > > > > > > > _______________________________________________ > gl4java-usergroup mailing list > gl4...@li... > https://lists.sourceforge.net/lists/listinfo/gl4java-usergroup > |