Displaying 2 results from an estimated 2 matches for "gltexcoordpoint".
Did you mean:
gltexcoordpointer
2008 Mar 16
3
rgl build warnings and loading error on Linux
...ing message itself is repeated during the entire build
process. However, the package builds fine, but fails to load:
> library(rgl)
Error in dyn.load(file, ...) :
unable to load shared library '/usr/lib/R/library/rgl/libs/rgl.so':
/usr/lib/R/library/rgl/libs/rgl.so: undefined symbol: glTexCoordPointer
Error : .onLoad failed in 'loadNamespace' for 'rgl'
Error: package/namespace load failed for 'rgl'
I had the exact same error message with rgl_0.76.
Could anyone suggest how to make rgl build correctly?
Liviu
2006 Oct 12
0
Privates example? (fwd)
...GLfloat *vertices = w->vertices + (stride - 2);
stride *= sizeof (GLfloat);
@@ -3559,11 +3568,11 @@
glEnableClientState (GL_TEXTURE_COORD_ARRAY);
currentTexUnit = texUnit;
}
- vertices -= w->texCoordSize;
- glTexCoordPointer (w->texCoordSize, GL_FLOAT, stride, vertices);
+ vertices -= aw->texCoordSize;
+ glTexCoordPointer (aw->texCoordSize, GL_FLOAT, stride, vertices);
}
- glDrawElements (GL_QUADS, w->indexCount, GL_UNSIGNED_SHORT,
+ glDrawElements (GL_QUADS,...