Hi Robert,

I have just checked in changes that will hopefully address the
undefined #define's.   Could you please do an svn update and let me
know how you get on.

I updated, and again I had to add GLAPIENTRY to the declarations of glu*() functions in include/osg/GLU (except gluErrorString).

And then I got the warnings and errors in the attached file. Seems to mostly be conversions from void* to an actual type (GLubyte*, GLushort*, etc.).

There's still a missing define in there (GL_PROXY_TEXTURE_3D) and a missing function declaration (glTexImage3D).

Thanks,

J-S
--
______________________________________________________
Jean-Sebastien Guay    [email protected]
                               http://www.cm-labs.com/
                        http://whitestar02.webhop.org/
1>------ Build started: Project: osg, Configuration: Release Win32 ------
1>Compiling...
1>tess.cpp
1>..\..\..\src\osg\glu\libtess\tess.cpp(504) : warning C4611: interaction 
between '_setjmp' and C++ object destruction is non-portable
1>geom.cpp
1>dict.cpp
1>sweep.cpp
1>tessmono.cpp
1>mesh.cpp
1>render.cpp
1>priorityq.cpp
1>memalloc.cpp
1>normal.cpp
1>mipmap.cpp
1>..\..\..\src\osg\glu\libutil\mipmap.cpp(3528) : error C2440: '=' : cannot 
convert from 'void *' to 'GLushort *'
1>        Conversion from 'void*' to pointer to non-'void' requires an explicit 
cast
1>..\..\..\src\osg\glu\libutil\mipmap.cpp(3530) : error C2440: '=' : cannot 
convert from 'void *' to 'GLushort *'
1>        Conversion from 'void*' to pointer to non-'void' requires an explicit 
cast
1>..\..\..\src\osg\glu\libutil\mipmap.cpp(7390) : error C2440: '=' : cannot 
convert from 'void *' to 'GLushort *'
1>        Conversion from 'void*' to pointer to non-'void' requires an explicit 
cast
1>..\..\..\src\osg\glu\libutil\mipmap.cpp(7392) : error C2440: '=' : cannot 
convert from 'void *' to 'GLushort *'
1>        Conversion from 'void*' to pointer to non-'void' requires an explicit 
cast
1>..\..\..\src\osg\glu\libutil\mipmap.cpp(7434) : error C2065: 
'GL_PROXY_TEXTURE_3D' : undeclared identifier
1>..\..\..\src\osg\glu\libutil\mipmap.cpp(7441) : error C3861: 'glTexImage3D': 
identifier not found
1>..\..\..\src\osg\glu\libutil\mipmap.cpp(7812) : error C3861: 'glTexImage3D': 
identifier not found
1>..\..\..\src\osg\glu\libutil\mipmap.cpp(7901) : error C2664: 
'halveImage_ubyte' : cannot convert parameter 4 from 'const void *' to 'const 
GLubyte *'
1>        Conversion from 'void*' to pointer to non-'void' requires an explicit 
cast
1>..\..\..\src\osg\glu\libutil\mipmap.cpp(7913) : error C2664: 
'halveImage_byte' : cannot convert parameter 4 from 'const void *' to 'const 
GLbyte *'
1>        Conversion from 'void*' to pointer to non-'void' requires an explicit 
cast
1>..\..\..\src\osg\glu\libutil\mipmap.cpp(7925) : error C2664: 
'halveImage_ushort' : cannot convert parameter 4 from 'const void *' to 'const 
GLushort *'
1>        Conversion from 'void*' to pointer to non-'void' requires an explicit 
cast
1>..\..\..\src\osg\glu\libutil\mipmap.cpp(7937) : error C2664: 
'halveImage_short' : cannot convert parameter 4 from 'const void *' to 'const 
GLshort *'
1>        Conversion from 'void*' to pointer to non-'void' requires an explicit 
cast
1>..\..\..\src\osg\glu\libutil\mipmap.cpp(7949) : error C2664: 
'halveImage_uint' : cannot convert parameter 4 from 'const void *' to 'const 
GLuint *'
1>        Conversion from 'void*' to pointer to non-'void' requires an explicit 
cast
1>..\..\..\src\osg\glu\libutil\mipmap.cpp(7961) : error C2664: 'halveImage_int' 
: cannot convert parameter 4 from 'const void *' to 'const GLint *'
1>        Conversion from 'void*' to pointer to non-'void' requires an explicit 
cast
1>..\..\..\src\osg\glu\libutil\mipmap.cpp(7973) : error C2664: 
'halveImage_float' : cannot convert parameter 4 from 'const void *' to 'const 
GLfloat *'
1>        Conversion from 'void*' to pointer to non-'void' requires an explicit 
cast
1>..\..\..\src\osg\glu\libutil\mipmap.cpp(8252) : error C3861: 'glTexImage3D': 
identifier not found
1>..\..\..\src\osg\glu\libutil\mipmap.cpp(8267) : error C2664: 
'halveImage_ubyte' : cannot convert parameter 4 from 'void *' to 'const GLubyte 
*'
1>        Conversion from 'void*' to pointer to non-'void' requires an explicit 
cast
1>..\..\..\src\osg\glu\libutil\mipmap.cpp(8279) : error C2664: 
'halveImage_byte' : cannot convert parameter 4 from 'void *' to 'const GLbyte *'
1>        Conversion from 'void*' to pointer to non-'void' requires an explicit 
cast
1>..\..\..\src\osg\glu\libutil\mipmap.cpp(8291) : error C2664: 
'halveImage_ushort' : cannot convert parameter 4 from 'void *' to 'const 
GLushort *'
1>        Conversion from 'void*' to pointer to non-'void' requires an explicit 
cast
1>..\..\..\src\osg\glu\libutil\mipmap.cpp(8303) : error C2664: 
'halveImage_short' : cannot convert parameter 4 from 'void *' to 'const GLshort 
*'
1>        Conversion from 'void*' to pointer to non-'void' requires an explicit 
cast
1>..\..\..\src\osg\glu\libutil\mipmap.cpp(8315) : error C2664: 
'halveImage_uint' : cannot convert parameter 4 from 'void *' to 'const GLuint *'
1>        Conversion from 'void*' to pointer to non-'void' requires an explicit 
cast
1>..\..\..\src\osg\glu\libutil\mipmap.cpp(8327) : error C2664: 'halveImage_int' 
: cannot convert parameter 4 from 'void *' to 'const GLint *'
1>        Conversion from 'void*' to pointer to non-'void' requires an explicit 
cast
1>..\..\..\src\osg\glu\libutil\mipmap.cpp(8339) : error C2664: 
'halveImage_float' : cannot convert parameter 4 from 'void *' to 'const GLfloat 
*'
1>        Conversion from 'void*' to pointer to non-'void' requires an explicit 
cast
1>..\..\..\src\osg\glu\libutil\mipmap.cpp(8427) : error C3861: 'glTexImage3D': 
identifier not found
1>error.cpp
1>..\..\..\src\osg\glu\libutil\error.cpp(125) : warning C4245: 'initializing' : 
conversion from 'int' to 'GLuint', signed/unsigned mismatch
_______________________________________________
osg-submissions mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-submissions-openscenegraph.org

Reply via email to