Posted by
jiapei100 on
May 25, 2011; 9:16am
URL: https://forum.jogamp.org/Fail-to-build-jogl-demos-and-jogl-utils-tp2983654.html
Hi, all:
Unable to build jogl-demos and jogl-utils.
1) For jogl-demos,
now, only 2 files under javabullet.demos.opengl failed to build .
a) 2 errors in DemoApplication.java around line 157-162
GLES2.FIXED_EMULATION_VERTEXCOLORTEXTURE
GLProfile.getProfile()
b) JOGL.java around line 80-82
GLProfile.setProfileGLAny();
NWCapabilities caps = new NWCapabilities();
2) For jogl-utils,
now, only 6 files under net.java.joglutils failed to build.
a) DisplayListRenderer.java
around line 267
texture.put(id, AWTTextureIO.newTexture(bufferedImage, true));
around line 311, 312 and 388
t.enable();
t.bind();
t.disable();
b) GLTextureElement.java
line 93-97
prevTexture.disable();
curTexture.enable();
curTexture.bind();
c) BufferFactory.java
BufferUtil undefined in the whole file
d) Texture2.java
newTextureData() is wrongly called
e) DisplayShelfRenderer.java
around line 159
sharedPbuffer = GLDrawableFactory.getFactory(GLProfile.getDefault()).createGLPbuffer(new GLCapabilities(GLProfile.getDefault()), null, 1, 1, null);
f) MyModel.java
line 117-118, and 143
texture[tempObj.materialID].enable();
texture[tempObj.materialID].bind();
texture[tempObj.materialID].disable();
Is there any possibility to revise all current errors?
Cheers
Pei