Hello Robert,
There are a few things that cause the build to be broken on Windows
since the addition of osg/glu/*.
First of all, all the glu*() functions in the source files are declared
with GLAPIENTRY. This doesn't exist currently, but GL_APIENTRY does
(witn an underscore after GL). Do you want to define both, or change
GLAPIENTRY to GL_APIENTRY in the new files?
Second, the forward declarations of those functions in include/osg/GLU
don't specify GLAPIENTRY or GL_APIENTRY, leading to "error C2373:
'gluSomeFunction' : redefinition; different type modifiers". The fix is
to add GLAPIENTRY (or GL_APIENTRY) to all functions declared in
include/osg/GLU. Attached is a modified file, using GLAPIENTRY - change
this to GL_APIENTRY if you choose to go that route.
Also in that file, GLUtesselator is first declared as a class (class
GLUtesselator) and then defined as a struct (in tess.h), leading to
"warning C4099: 'GLUtesselator' : type name first seen using 'class' now
seen using 'struct'". I changed it to struct in the GLU header, but you
could go the other way and change it to class in tess.h (and make sure
you add public:...)
After these changes, I still get this warning:
..\..\..\src\osg\glu\libtess\tess.cpp(504) : warning C4611: interaction
between '_setjmp' and C++ object destruction is non-portable
And I also get lots of undeclared identifier errors, which I've attached
in a text file (because they're long lines and T-Bird will wrap the
lines making them hard to read). I don't know how you want to address
these. Do you want to add the definitions to the file where they're
used, kind of like in include/osg/Texture and other places?
#ifndef GL_TEXTURE_3D
#define GL_TEXTURE_3D 0x806F
#endif
Or perhaps some/all of these are already defined somewhere else and just
need to be moved to some more general place, perhaps include/osg/GL? I
searched for GL_UNPACK_SKIP_IMAGES and only found it in mipmap.cpp, but
perhaps others are already defined elsewhere.
Anyways, until we fix this the build is still broken on Windows. If this
is in flux I'll just stop building until you tell me it should be OK.
Thanks,
J-S
--
______________________________________________________
Jean-Sebastien Guay [email protected]
http://www.cm-labs.com/
http://whitestar02.webhop.org/
/* -*-c++-*- OpenSceneGraph - Copyright (C) 1998-2006 Robert Osfield
*
* This library is open source and may be redistributed and/or modified under
* the terms of the OpenSceneGraph Public License (OSGPL) version 0.0 or
* (at your option) any later version. The full license is in LICENSE file
* included with this distribution, and on the openscenegraph.org website.
*
* This library is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* OpenSceneGraph Public License for more details.
*/
#ifndef OSG_GLU
#define OSG_GLU 1
#include <osg/GL>
extern OSG_EXPORT GLint GLAPIENTRY gluScaleImage (GLenum format, GLsizei wIn,
GLsizei hIn, GLenum typeIn, const void *dataIn, GLsizei wOut, GLsizei hOut,
GLenum typeOut, GLvoid* dataOut);
extern OSG_EXPORT const GLubyte * gluErrorString (GLenum error);
extern OSG_EXPORT GLint GLAPIENTRY gluBuild1DMipmapLevels (GLenum target, GLint
internalFormat, GLsizei width, GLenum format, GLenum type, GLint level, GLint
base, GLint max, const void *data);
extern OSG_EXPORT GLint GLAPIENTRY gluBuild1DMipmaps (GLenum target, GLint
internalFormat, GLsizei width, GLenum format, GLenum type, const void *data);
extern OSG_EXPORT GLint GLAPIENTRY gluBuild2DMipmapLevels (GLenum target, GLint
internalFormat, GLsizei width, GLsizei height, GLenum format, GLenum type,
GLint level, GLint base, GLint max, const void *data);
extern OSG_EXPORT GLint GLAPIENTRY gluBuild2DMipmaps (GLenum target, GLint
internalFormat, GLsizei width, GLsizei height, GLenum format, GLenum type,
const void *data);
extern OSG_EXPORT GLint GLAPIENTRY gluBuild3DMipmapLevels (GLenum target, GLint
internalFormat, GLsizei width, GLsizei height, GLsizei depth, GLenum format,
GLenum type, GLint level, GLint base, GLint max, const void *data);
extern OSG_EXPORT GLint GLAPIENTRY gluBuild3DMipmaps (GLenum target, GLint
internalFormat, GLsizei width, GLsizei height, GLsizei depth, GLenum format,
GLenum type, const void *data);
/* ErrorCode */
#define GLU_INVALID_ENUM 100900
#define GLU_INVALID_VALUE 100901
#define GLU_OUT_OF_MEMORY 100902
#define GLU_INCOMPATIBLE_GL_VERSION 100903
#define GLU_INVALID_OPERATION 100904
/* Boolean */
#define GLU_FALSE 0
#define GLU_TRUE 1
/* QuadricDrawStyle */
#define GLU_POINT 100010
#define GLU_LINE 100011
#define GLU_FILL 100012
#define GLU_SILHOUETTE 100013
/* QuadricCallback */
/* GLU_ERROR */
/* QuadricNormal */
#define GLU_SMOOTH 100000
#define GLU_FLAT 100001
#define GLU_NONE 100002
/* QuadricOrientation */
#define GLU_OUTSIDE 100020
#define GLU_INSIDE 100021
/* TessCallback */
#define GLU_TESS_BEGIN 100100
#define GLU_BEGIN 100100
#define GLU_TESS_VERTEX 100101
#define GLU_VERTEX 100101
#define GLU_TESS_END 100102
#define GLU_END 100102
#define GLU_TESS_ERROR 100103
#define GLU_TESS_EDGE_FLAG 100104
#define GLU_EDGE_FLAG 100104
#define GLU_TESS_COMBINE 100105
#define GLU_TESS_BEGIN_DATA 100106
#define GLU_TESS_VERTEX_DATA 100107
#define GLU_TESS_END_DATA 100108
#define GLU_TESS_ERROR_DATA 100109
#define GLU_TESS_EDGE_FLAG_DATA 100110
#define GLU_TESS_COMBINE_DATA 100111
/* TessContour */
#define GLU_CW 100120
#define GLU_CCW 100121
#define GLU_INTERIOR 100122
#define GLU_EXTERIOR 100123
#define GLU_UNKNOWN 100124
/* TessProperty */
#define GLU_TESS_WINDING_RULE 100140
#define GLU_TESS_BOUNDARY_ONLY 100141
#define GLU_TESS_TOLERANCE 100142
/* TessError */
#define GLU_TESS_ERROR1 100151
#define GLU_TESS_ERROR2 100152
#define GLU_TESS_ERROR3 100153
#define GLU_TESS_ERROR4 100154
#define GLU_TESS_ERROR5 100155
#define GLU_TESS_ERROR6 100156
#define GLU_TESS_ERROR7 100157
#define GLU_TESS_ERROR8 100158
#define GLU_TESS_MISSING_BEGIN_POLYGON 100151
#define GLU_TESS_MISSING_BEGIN_CONTOUR 100152
#define GLU_TESS_MISSING_END_POLYGON 100153
#define GLU_TESS_MISSING_END_CONTOUR 100154
#define GLU_TESS_COORD_TOO_LARGE 100155
#define GLU_TESS_NEED_COMBINE_CALLBACK 100156
/* TessWinding */
#define GLU_TESS_WINDING_ODD 100130
#define GLU_TESS_WINDING_NONZERO 100131
#define GLU_TESS_WINDING_POSITIVE 100132
#define GLU_TESS_WINDING_NEGATIVE 100133
#define GLU_TESS_WINDING_ABS_GEQ_TWO 100134
struct GLUtesselator;
typedef GLUtesselator GLUtesselatorObj;
typedef GLUtesselator GLUtriangulatorObj;
#define GLU_TESS_MAX_COORD 1.0e150
/* Internal convenience typedefs */
typedef void (GL_APIENTRY * _GLUfuncptr)();
typedef void (GL_APIENTRY * GLU_TESS_CALLBACK)();
extern OSG_EXPORT GLUtesselator* GLAPIENTRY gluNewTess (void);
extern OSG_EXPORT void GLAPIENTRY gluDeleteTess (GLUtesselator* tess);
extern OSG_EXPORT void GLAPIENTRY gluTessBeginContour (GLUtesselator* tess);
extern OSG_EXPORT void GLAPIENTRY gluTessBeginPolygon (GLUtesselator* tess,
GLvoid* data);
extern OSG_EXPORT void GLAPIENTRY gluTessCallback (GLUtesselator* tess, GLenum
which, _GLUfuncptr CallBackFunc);
extern OSG_EXPORT void GLAPIENTRY gluTessEndContour (GLUtesselator* tess);
extern OSG_EXPORT void GLAPIENTRY gluTessEndPolygon (GLUtesselator* tess);
extern OSG_EXPORT void GLAPIENTRY gluTessNormal (GLUtesselator* tess, GLdouble
valueX, GLdouble valueY, GLdouble valueZ);
extern OSG_EXPORT void GLAPIENTRY gluTessProperty (GLUtesselator* tess, GLenum
which, GLdouble data);
extern OSG_EXPORT void GLAPIENTRY gluTessVertex (GLUtesselator* tess, GLdouble
*location, GLvoid* data);
#endif // __osgGLU_h
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>sweep.cpp
1>tessmono.cpp
1>mesh.cpp
1>render.cpp
1>priorityq.cpp
1>normal.cpp
1>mipmap.cpp
1>..\..\..\src\osg\glu\libutil\mipmap.cpp(277) : error C2065:
'GL_UNPACK_SKIP_IMAGES' : undeclared identifier
1>..\..\..\src\osg\glu\libutil\mipmap.cpp(278) : error C2065:
'GL_UNPACK_IMAGE_HEIGHT' : undeclared identifier
1>..\..\..\src\osg\glu\libutil\mipmap.cpp(286) : error C2065:
'GL_PACK_SKIP_IMAGES' : undeclared identifier
1>..\..\..\src\osg\glu\libutil\mipmap.cpp(287) : error C2065:
'GL_PACK_IMAGE_HEIGHT' : undeclared identifier
1>..\..\..\src\osg\glu\libutil\mipmap.cpp(3303) : error C2065: 'GL_BGR' :
undeclared identifier
1>..\..\..\src\osg\glu\libutil\mipmap.cpp(3303) : error C2051: case expression
not constant
1>..\..\..\src\osg\glu\libutil\mipmap.cpp(3304) : error C2065: 'GL_BGRA' :
undeclared identifier
1>..\..\..\src\osg\glu\libutil\mipmap.cpp(3304) : error C2051: case expression
not constant
1>..\..\..\src\osg\glu\libutil\mipmap.cpp(3323) : error C2065:
'GL_UNSIGNED_BYTE_3_3_2' : undeclared identifier
1>..\..\..\src\osg\glu\libutil\mipmap.cpp(3323) : error C2051: case expression
not constant
1>..\..\..\src\osg\glu\libutil\mipmap.cpp(3324) : error C2065:
'GL_UNSIGNED_BYTE_2_3_3_REV' : undeclared identifier
1>..\..\..\src\osg\glu\libutil\mipmap.cpp(3324) : error C2051: case expression
not constant
1>..\..\..\src\osg\glu\libutil\mipmap.cpp(3325) : error C2065:
'GL_UNSIGNED_SHORT_5_6_5' : undeclared identifier
1>..\..\..\src\osg\glu\libutil\mipmap.cpp(3325) : error C2051: case expression
not constant
1>..\..\..\src\osg\glu\libutil\mipmap.cpp(3326) : error C2065:
'GL_UNSIGNED_SHORT_5_6_5_REV' : undeclared identifier
1>..\..\..\src\osg\glu\libutil\mipmap.cpp(3326) : error C2051: case expression
not constant
1>..\..\..\src\osg\glu\libutil\mipmap.cpp(3327) : error C2065:
'GL_UNSIGNED_SHORT_4_4_4_4' : undeclared identifier
1>..\..\..\src\osg\glu\libutil\mipmap.cpp(3327) : error C2051: case expression
not constant
1>..\..\..\src\osg\glu\libutil\mipmap.cpp(3328) : error C2065:
'GL_UNSIGNED_SHORT_4_4_4_4_REV' : undeclared identifier
1>..\..\..\src\osg\glu\libutil\mipmap.cpp(3328) : error C2051: case expression
not constant
1>..\..\..\src\osg\glu\libutil\mipmap.cpp(3329) : error C2065:
'GL_UNSIGNED_SHORT_5_5_5_1' : undeclared identifier
1>..\..\..\src\osg\glu\libutil\mipmap.cpp(3329) : error C2051: case expression
not constant
1>..\..\..\src\osg\glu\libutil\mipmap.cpp(3330) : error C2065:
'GL_UNSIGNED_SHORT_1_5_5_5_REV' : undeclared identifier
1>..\..\..\src\osg\glu\libutil\mipmap.cpp(3330) : error C2051: case expression
not constant
1>..\..\..\src\osg\glu\libutil\mipmap.cpp(3331) : error C2065:
'GL_UNSIGNED_INT_8_8_8_8' : undeclared identifier
1>..\..\..\src\osg\glu\libutil\mipmap.cpp(3331) : error C2051: case expression
not constant
1>..\..\..\src\osg\glu\libutil\mipmap.cpp(3332) : error C2065:
'GL_UNSIGNED_INT_8_8_8_8_REV' : undeclared identifier
1>..\..\..\src\osg\glu\libutil\mipmap.cpp(3332) : error C2051: case expression
not constant
1>..\..\..\src\osg\glu\libutil\mipmap.cpp(3333) : error C2065:
'GL_UNSIGNED_INT_10_10_10_2' : undeclared identifier
1>..\..\..\src\osg\glu\libutil\mipmap.cpp(3333) : error C2051: case expression
not constant
1>..\..\..\src\osg\glu\libutil\mipmap.cpp(3334) : error C2065:
'GL_UNSIGNED_INT_2_10_10_10_REV' : undeclared identifier
1>..\..\..\src\osg\glu\libutil\mipmap.cpp(3334) : error C2051: case expression
not constant
1>..\..\..\src\osg\glu\libutil\mipmap.cpp(3346) : error C2065:
'GL_UNSIGNED_BYTE_3_3_2' : undeclared identifier
1>..\..\..\src\osg\glu\libutil\mipmap.cpp(3347) : error C2065:
'GL_UNSIGNED_BYTE_2_3_3_REV' : undeclared identifier
1>..\..\..\src\osg\glu\libutil\mipmap.cpp(3348) : error C2065:
'GL_UNSIGNED_SHORT_5_6_5' : undeclared identifier
1>..\..\..\src\osg\glu\libutil\mipmap.cpp(3349) : error C2065:
'GL_UNSIGNED_SHORT_5_6_5_REV' : undeclared identifier
1>..\..\..\src\osg\glu\libutil\mipmap.cpp(3350) : error C2065:
'GL_UNSIGNED_SHORT_4_4_4_4' : undeclared identifier
1>..\..\..\src\osg\glu\libutil\mipmap.cpp(3351) : error C2065:
'GL_UNSIGNED_SHORT_4_4_4_4_REV' : undeclared identifier
1>..\..\..\src\osg\glu\libutil\mipmap.cpp(3352) : error C2065:
'GL_UNSIGNED_SHORT_5_5_5_1' : undeclared identifier
1>..\..\..\src\osg\glu\libutil\mipmap.cpp(3353) : error C2065:
'GL_UNSIGNED_SHORT_1_5_5_5_REV' : undeclared identifier
1>..\..\..\src\osg\glu\libutil\mipmap.cpp(3354) : error C2065:
'GL_UNSIGNED_INT_8_8_8_8' : undeclared identifier
1>..\..\..\src\osg\glu\libutil\mipmap.cpp(3355) : error C2065:
'GL_UNSIGNED_INT_8_8_8_8_REV' : undeclared identifier
1>..\..\..\src\osg\glu\libutil\mipmap.cpp(3356) : error C2065:
'GL_UNSIGNED_INT_10_10_10_2' : undeclared identifier
1>..\..\..\src\osg\glu\libutil\mipmap.cpp(3357) : error C2065:
'GL_UNSIGNED_INT_2_10_10_10_REV' : undeclared identifier
1>..\..\..\src\osg\glu\libutil\mipmap.cpp(3372) : error C2065:
'GL_UNSIGNED_BYTE_3_3_2' : undeclared identifier
1>..\..\..\src\osg\glu\libutil\mipmap.cpp(3372) : error C2065:
'GL_UNSIGNED_BYTE_2_3_3_REV' : undeclared identifier
1>..\..\..\src\osg\glu\libutil\mipmap.cpp(3373) : error C2065:
'GL_UNSIGNED_SHORT_5_6_5' : undeclared identifier
1>..\..\..\src\osg\glu\libutil\mipmap.cpp(3373) : error C2065:
'GL_UNSIGNED_SHORT_5_6_5_REV' : undeclared identifier
1>..\..\..\src\osg\glu\libutil\mipmap.cpp(3380) : error C2065:
'GL_UNSIGNED_SHORT_4_4_4_4' : undeclared identifier
1>..\..\..\src\osg\glu\libutil\mipmap.cpp(3381) : error C2065:
'GL_UNSIGNED_SHORT_4_4_4_4_REV' : undeclared identifier
1>..\..\..\src\osg\glu\libutil\mipmap.cpp(3382) : error C2065:
'GL_UNSIGNED_SHORT_5_5_5_1' : undeclared identifier
1>..\..\..\src\osg\glu\libutil\mipmap.cpp(3383) : error C2065:
'GL_UNSIGNED_SHORT_1_5_5_5_REV' : undeclared identifier
1>..\..\..\src\osg\glu\libutil\mipmap.cpp(3384) : error C2065:
'GL_UNSIGNED_INT_8_8_8_8' : undeclared identifier
1>..\..\..\src\osg\glu\libutil\mipmap.cpp(3385) : error C2065:
'GL_UNSIGNED_INT_8_8_8_8_REV' : undeclared identifier
1>..\..\..\src\osg\glu\libutil\mipmap.cpp(3386) : error C2065:
'GL_UNSIGNED_INT_10_10_10_2' : undeclared identifier
1>..\..\..\src\osg\glu\libutil\mipmap.cpp(3387) : error C2065:
'GL_UNSIGNED_INT_2_10_10_10_REV' : undeclared identifier
1>..\..\..\src\osg\glu\libutil\mipmap.cpp(3389) : error C2065: 'GL_BGRA' :
undeclared identifier
1>..\..\..\src\osg\glu\libutil\mipmap.cpp(3921) : error C2065:
'GL_UNSIGNED_BYTE_3_3_2' : undeclared identifier
1>..\..\..\src\osg\glu\libutil\mipmap.cpp(3921) : error C2051: case expression
not constant
1>..\..\..\src\osg\glu\libutil\mipmap.cpp(3922) : error C2065:
'GL_UNSIGNED_BYTE_2_3_3_REV' : undeclared identifier
1>..\..\..\src\osg\glu\libutil\mipmap.cpp(3922) : error C2051: case expression
not constant
1>..\..\..\src\osg\glu\libutil\mipmap.cpp(3925) : error C2065:
'GL_UNSIGNED_SHORT_5_6_5' : undeclared identifier
1>..\..\..\src\osg\glu\libutil\mipmap.cpp(3925) : error C2051: case expression
not constant
1>..\..\..\src\osg\glu\libutil\mipmap.cpp(3926) : error C2065:
'GL_UNSIGNED_SHORT_5_6_5_REV' : undeclared identifier
1>..\..\..\src\osg\glu\libutil\mipmap.cpp(3926) : error C2051: case expression
not constant
1>..\..\..\src\osg\glu\libutil\mipmap.cpp(3927) : error C2065:
'GL_UNSIGNED_SHORT_4_4_4_4' : undeclared identifier
1>..\..\..\src\osg\glu\libutil\mipmap.cpp(3927) : error C2051: case expression
not constant
1>..\..\..\src\osg\glu\libutil\mipmap.cpp(3928) : error C2065:
'GL_UNSIGNED_SHORT_4_4_4_4_REV' : undeclared identifier
1>..\..\..\src\osg\glu\libutil\mipmap.cpp(3928) : error C2051: case expression
not constant
1>..\..\..\src\osg\glu\libutil\mipmap.cpp(3929) : error C2065:
'GL_UNSIGNED_SHORT_5_5_5_1' : undeclared identifier
1>..\..\..\src\osg\glu\libutil\mipmap.cpp(3929) : error C2051: case expression
not constant
1>..\..\..\src\osg\glu\libutil\mipmap.cpp(3930) : error C2065:
'GL_UNSIGNED_SHORT_1_5_5_5_REV' : undeclared identifier
1>..\..\..\src\osg\glu\libutil\mipmap.cpp(3930) : error C2051: case expression
not constant
1>..\..\..\src\osg\glu\libutil\mipmap.cpp(3933) : error C2065:
'GL_UNSIGNED_INT_8_8_8_8' : undeclared identifier
1>..\..\..\src\osg\glu\libutil\mipmap.cpp(3933) : error C2051: case expression
not constant
1>..\..\..\src\osg\glu\libutil\mipmap.cpp(3934) : error C2065:
'GL_UNSIGNED_INT_8_8_8_8_REV' : undeclared identifier
1>..\..\..\src\osg\glu\libutil\mipmap.cpp(3934) : error C2051: case expression
not constant
1>..\..\..\src\osg\glu\libutil\mipmap.cpp(3935) : error C2065:
'GL_UNSIGNED_INT_10_10_10_2' : undeclared identifier
1>..\..\..\src\osg\glu\libutil\mipmap.cpp(3935) : error C2051: case expression
not constant
1>..\..\..\src\osg\glu\libutil\mipmap.cpp(3936) : error C2065:
'GL_UNSIGNED_INT_2_10_10_10_REV' : undeclared identifier
1>..\..\..\src\osg\glu\libutil\mipmap.cpp(3936) : error C2051: case expression
not constant
1>..\..\..\src\osg\glu\libutil\mipmap.cpp(3987) : error C2065:
'GL_UNSIGNED_BYTE_3_3_2' : undeclared identifier
1>..\..\..\src\osg\glu\libutil\mipmap.cpp(3987) : error C2051: case expression
not constant
1>..\..\..\src\osg\glu\libutil\mipmap.cpp(3993) : error C2065:
'GL_UNSIGNED_BYTE_2_3_3_REV' : undeclared identifier
1>..\..\..\src\osg\glu\libutil\mipmap.cpp(3993) : error C2051: case expression
not constant
1>..\..\..\src\osg\glu\libutil\mipmap.cpp(3999) : error C2065:
'GL_UNSIGNED_SHORT_5_6_5' : undeclared identifier
1>..\..\..\src\osg\glu\libutil\mipmap.cpp(3999) : error C2051: case expression
not constant
1>..\..\..\src\osg\glu\libutil\mipmap.cpp(4004) : error C2065:
'GL_UNSIGNED_SHORT_5_6_5_REV' : undeclared identifier
1>..\..\..\src\osg\glu\libutil\mipmap.cpp(4004) : error C2051: case expression
not constant
1>..\..\..\src\osg\glu\libutil\mipmap.cpp(4009) : error C2065:
'GL_UNSIGNED_SHORT_4_4_4_4' : undeclared identifier
1>..\..\..\src\osg\glu\libutil\mipmap.cpp(4009) : error C2051: case expression
not constant
1>..\..\..\src\osg\glu\libutil\mipmap.cpp(4014) : error C2065:
'GL_UNSIGNED_SHORT_4_4_4_4_REV' : undeclared identifier
1>..\..\..\src\osg\glu\libutil\mipmap.cpp(4014) : error C2051: case expression
not constant
1>..\..\..\src\osg\glu\libutil\mipmap.cpp(4019) : error C2065:
'GL_UNSIGNED_SHORT_5_5_5_1' : undeclared identifier
1>..\..\..\src\osg\glu\libutil\mipmap.cpp(4019) : error C2051: case expression
not constant
1>..\..\..\src\osg\glu\libutil\mipmap.cpp(4024) : error C2065:
'GL_UNSIGNED_SHORT_1_5_5_5_REV' : undeclared identifier
1>..\..\..\src\osg\glu\libutil\mipmap.cpp(4024) : error C2051: case expression
not constant
1>..\..\..\src\osg\glu\libutil\mipmap.cpp(4029) : error C2065:
'GL_UNSIGNED_INT_8_8_8_8' : undeclared identifier
1>..\..\..\src\osg\glu\libutil\mipmap.cpp(4029) : error C2051: case expression
not constant
1>..\..\..\src\osg\glu\libutil\mipmap.cpp(4034) : error C2065:
'GL_UNSIGNED_INT_8_8_8_8_REV' : undeclared identifier
1>..\..\..\src\osg\glu\libutil\mipmap.cpp(4034) : error C2051: case expression
not constant
1>..\..\..\src\osg\glu\libutil\mipmap.cpp(4034) : fatal error C1003: error
count exceeds 100; stopping compilation
1>error.cpp
1>..\..\..\src\osg\glu\libutil\error.cpp(111) : error C2065:
'GL_TABLE_TOO_LARGE' : undeclared identifier
1>..\..\..\src\osg\glu\libutil\error.cpp(121) : 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