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

Matt Ebb matt at mke3.net
Mon Mar 12 23:33:24 CET 2007


Strangely, I've got this error too on gcc 3.4/Windows. Perhaps someone would
like to commit those defines where needed?

cheers

Matt



On 3/12/07, Campbell Barton <cbarton at metavr.com> wrote:
>
> 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
> _______________________________________________
> Bf-committers mailing list
> Bf-committers at projects.blender.org
> http://projects.blender.org/mailman/listinfo/bf-committers
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://projects.blender.org/pipermail/bf-committers/attachments/20070313/3bd7a7fc/attachment.html


More information about the Bf-committers mailing list