[Bf-committers] Msvc 7.1, error compiling ==> 'drawmesh.c'

Campbell Barton cbarton at metavr.com
Mon Mar 12 07:30:29 CET 2007


Maybe we need this since it seems its not defined everywhere...

#ifndef GL_CLAMP_TO_EDGE
#define GL_CLAMP_TO_EDGE	0x812F
#endif


jean-michel soler wrote:
> Compiling ==> 'drawmesh.c'
> drawmesh.c
> source\blender\src\drawmesh.c(422) : error C2065: 'GL_CLAMP_TO_EDGE' : 
> undeclared identifier
> source\blender\src\drawmesh.c(823) : warning C4244: 'function' : 
> conversion from 'double' to 'GLfloat', possible loss of data
> source\blender\src\drawmesh.c(824) : warning C4244: 'function' : 
> conversion from 'double' to 'GLfloat', possible loss of data
> source\blender\src\drawmesh.c(1004) : warning C4244: '=' : conversion 
> from 'float' to 'unsigned char', possible loss of data
> source\blender\src\drawmesh.c(1005) : warning C4244: '=' : conversion 
> from 'float' to 'unsigned char', possible loss of data
> source\blender\src\drawmesh.c(1006) : warning C4244: '=' : conversion 
> from 'float' to 'unsigned char', possible loss of data
> source\blender\src\drawmesh.c(1007) : warning C4244: '=' : conversion 
> from 'float' to 'unsigned char', possible loss of data
> scons: *** 
> [E:\bf-blender\build\win32-vc\source\blender\src\drawmesh.obj] Error 2
> scons: building terminated because of errors.
> 
> jms
> 
> _______________________________________________
> Bf-committers mailing list
> Bf-committers at projects.blender.org
> http://projects.blender.org/mailman/listinfo/bf-committers
> 


-- 
See MetaVR Visuals Used at the Combat Studies Institute
http://www.metavr.com/casestudies/baghdadviews.html

Campbell J Barton

133 Hope Street
Geelong West, Victoria 3218 Australia

URL:    http://www.metavr.com
e-mail: cbarton at metavr.com
phone: AU (03) 5229 0241


More information about the Bf-committers mailing list