micahpearlman / MonkVG

MonkVG is an OpenVG 1.1 like vector graphics API implementation optimized for game use currently using an OpenGL ES backend that should be compatible with any HW that supports OpenGL ES 2.0 which includes most iOS and Android devices.
Other
380 stars 66 forks source link

Compilation on windows failing #27

Closed meiry closed 2 years ago

meiry commented 10 years ago

Hey i try to compile the lib on window 7 using vs 2010 or 1012 and it gives me those error after including the source directory to : OpenGLES\OpenGLES20 and Sources\OpenGLES that was missing ( or not .. )

1>------ Build started: Project: MonkVG, Configuration: Debug Win32 ------
1>  glPath.cpp
1>d:\dev\cpp\cocos2d-x\svg\2010\monkvg-master\monkvg-master\thirdparty\gles2-bc\sources\opengles\openglescontext.h(40): error C2371: 'GLintptr' : redefinition; different basic types
1>          d:\dev\cpp\cocos2d-x\svg\2010\monkvg-master\monkvg-master\projects\monkvg-windows\glew\include\gl\glew.h(1641) : see declaration of 'GLintptr'
1>d:\dev\cpp\cocos2d-x\svg\2010\monkvg-master\monkvg-master\thirdparty\gles2-bc\sources\opengles\openglescontext.h(41): error C2371: 'GLsizeiptr' : redefinition; different basic types
1>          d:\dev\cpp\cocos2d-x\svg\2010\monkvg-master\monkvg-master\projects\monkvg-windows\glew\include\gl\glew.h(1642) : see declaration of 'GLsizeiptr'
1>d:\dev\cpp\cocos2d-x\svg\2010\monkvg-master\monkvg-master\thirdparty\gles2-bc\sources\opengles\openglescontext.h(610): warning C4005: 'GL_SRC0_RGB' : macro redefinition
1>          d:\dev\cpp\cocos2d-x\svg\2010\monkvg-master\monkvg-master\projects\monkvg-windows\glew\include\gl\glew.h(1593) : see previous definition of 'GL_SRC0_RGB'
1>d:\dev\cpp\cocos2d-x\svg\2010\monkvg-master\monkvg-master\thirdparty\gles2-bc\sources\opengles\openglescontext.h(611): warning C4005: 'GL_SRC1_RGB' : macro redefinition
1>          d:\dev\cpp\cocos2d-x\svg\2010\monkvg-master\monkvg-master\projects\monkvg-windows\glew\include\gl\glew.h(1600) : see previous definition of 'GL_SRC1_RGB'
1>d:\dev\cpp\cocos2d-x\svg\2010\monkvg-master\monkvg-master\thirdparty\gles2-bc\sources\opengles\openglescontext.h(612): warning C4005: 'GL_SRC2_RGB' : macro redefinition
1>          d:\dev\cpp\cocos2d-x\svg\2010\monkvg-master\monkvg-master\projects\monkvg-windows\glew\include\gl\glew.h(1603) : see previous definition of 'GL_SRC2_RGB'
1>d:\dev\cpp\cocos2d-x\svg\2010\monkvg-master\monkvg-master\thirdparty\gles2-bc\sources\opengles\openglescontext.h(613): warning C4005: 'GL_SRC0_ALPHA' : macro redefinition
1>          d:\dev\cpp\cocos2d-x\svg\2010\monkvg-master\monkvg-master\projects\monkvg-windows\glew\include\gl\glew.h(1599) : see previous definition of 'GL_SRC0_ALPHA'
1>d:\dev\cpp\cocos2d-x\svg\2010\monkvg-master\monkvg-master\thirdparty\gles2-bc\sources\opengles\openglescontext.h(614): warning C4005: 'GL_SRC1_ALPHA' : macro redefinition
1>          d:\dev\cpp\cocos2d-x\svg\2010\monkvg-master\monkvg-master\projects\monkvg-windows\glew\include\gl\glew.h(1596) : see previous definition of 'GL_SRC1_ALPHA'
1>d:\dev\cpp\cocos2d-x\svg\2010\monkvg-master\monkvg-master\thirdparty\gles2-bc\sources\opengles\openglescontext.h(615): warning C4005: 'GL_SRC2_ALPHA' : macro redefinition
1>          d:\dev\cpp\cocos2d-x\svg\2010\monkvg-master\monkvg-master\projects\monkvg-windows\glew\include\gl\glew.h(1602) : see previous definition of 'GL_SRC2_ALPHA'
1>d:\dev\cpp\cocos2d-x\svg\2010\monkvg-master\monkvg-master\thirdparty\gles2-bc\sources\opengles\openglesstring.h(37): error C2535: 'OpenGLES::OpenGLESString OpenGLES::OpenGLESString::operator +(size_t)' : member function already defined or declared
1>          d:\dev\cpp\cocos2d-x\svg\2010\monkvg-master\monkvg-master\thirdparty\gles2-bc\sources\opengles\openglesstring.h(34) : see declaration of 'OpenGLES::OpenGLESString::operator +'
1>d:\dev\cpp\cocos2d-x\svg\2010\monkvg-master\monkvg-master\src\opengl\glpath.cpp(205): warning C4305: '*=' : truncation from 'double' to 'VGfloat'
1>d:\dev\cpp\cocos2d-x\svg\2010\monkvg-master\monkvg-master\src\opengl\glpath.cpp(531): warning C4244: 'initializing' : conversion from 'double' to 'VGfloat', possible loss of data
1>d:\dev\cpp\cocos2d-x\svg\2010\monkvg-master\monkvg-master\src\opengl\glpath.cpp(830): warning C4244: 'initializing' : conversion from 'double' to 'VGfloat', possible loss of data
1>  glPaint.cpp
1>d:\dev\cpp\cocos2d-x\svg\2010\monkvg-master\monkvg-master\thirdparty\gles2-bc\sources\opengles\openglescontext.h(40): error C2371: 'GLintptr' : redefinition; different basic types
1>          d:\dev\cpp\cocos2d-x\svg\2010\monkvg-master\monkvg-master\projects\monkvg-windows\glew\include\gl\glew.h(1641) : see declaration of 'GLintptr'
1>d:\dev\cpp\cocos2d-x\svg\2010\monkvg-master\monkvg-master\thirdparty\gles2-bc\sources\opengles\openglescontext.h(41): error C2371: 'GLsizeiptr' : redefinition; different basic types
1>          d:\dev\cpp\cocos2d-x\svg\2010\monkvg-master\monkvg-master\projects\monkvg-windows\glew\include\gl\glew.h(1642) : see declaration of 'GLsizeiptr'
1>d:\dev\cpp\cocos2d-x\svg\2010\monkvg-master\monkvg-master\thirdparty\gles2-bc\sources\opengles\openglescontext.h(610): warning C4005: 'GL_SRC0_RGB' : macro redefinition
1>          d:\dev\cpp\cocos2d-x\svg\2010\monkvg-master\monkvg-master\projects\monkvg-windows\glew\include\gl\glew.h(1593) : see previous definition of 'GL_SRC0_RGB'
1>d:\dev\cpp\cocos2d-x\svg\2010\monkvg-master\monkvg-master\thirdparty\gles2-bc\sources\opengles\openglescontext.h(611): warning C4005: 'GL_SRC1_RGB' : macro redefinition
1>          d:\dev\cpp\cocos2d-x\svg\2010\monkvg-master\monkvg-master\projects\monkvg-windows\glew\include\gl\glew.h(1600) : see previous definition of 'GL_SRC1_RGB'
1>d:\dev\cpp\cocos2d-x\svg\2010\monkvg-master\monkvg-master\thirdparty\gles2-bc\sources\opengles\openglescontext.h(612): warning C4005: 'GL_SRC2_RGB' : macro redefinition
1>          d:\dev\cpp\cocos2d-x\svg\2010\monkvg-master\monkvg-master\projects\monkvg-windows\glew\include\gl\glew.h(1603) : see previous definition of 'GL_SRC2_RGB'
1>d:\dev\cpp\cocos2d-x\svg\2010\monkvg-master\monkvg-master\thirdparty\gles2-bc\sources\opengles\openglescontext.h(613): warning C4005: 'GL_SRC0_ALPHA' : macro redefinition
1>          d:\dev\cpp\cocos2d-x\svg\2010\monkvg-master\monkvg-master\projects\monkvg-windows\glew\include\gl\glew.h(1599) : see previous definition of 'GL_SRC0_ALPHA'
1>d:\dev\cpp\cocos2d-x\svg\2010\monkvg-master\monkvg-master\thirdparty\gles2-bc\sources\opengles\openglescontext.h(614): warning C4005: 'GL_SRC1_ALPHA' : macro redefinition
1>          d:\dev\cpp\cocos2d-x\svg\2010\monkvg-master\monkvg-master\projects\monkvg-windows\glew\include\gl\glew.h(1596) : see previous definition of 'GL_SRC1_ALPHA'
1>d:\dev\cpp\cocos2d-x\svg\2010\monkvg-master\monkvg-master\thirdparty\gles2-bc\sources\opengles\openglescontext.h(615): warning C4005: 'GL_SRC2_ALPHA' : macro redefinition
1>          d:\dev\cpp\cocos2d-x\svg\2010\monkvg-master\monkvg-master\projects\monkvg-windows\glew\include\gl\glew.h(1602) : see previous definition of 'GL_SRC2_ALPHA'
1>d:\dev\cpp\cocos2d-x\svg\2010\monkvg-master\monkvg-master\thirdparty\gles2-bc\sources\opengles\openglesstring.h(37): error C2535: 'OpenGLES::OpenGLESString OpenGLES::OpenGLESString::operator +(size_t)' : member function already defined or declared
1>          d:\dev\cpp\cocos2d-x\svg\2010\monkvg-master\monkvg-master\thirdparty\gles2-bc\sources\opengles\openglesstring.h(34) : see declaration of 'OpenGLES::OpenGLESString::operator +'
1>d:\dev\cpp\cocos2d-x\svg\2010\monkvg-master\monkvg-master\src\opengl\glpaint.cpp(370): warning C4305: 'initializing' : truncation from 'double' to 'float'
1>  glImage.cpp
1>d:\dev\cpp\cocos2d-x\svg\2010\monkvg-master\monkvg-master\thirdparty\gles2-bc\sources\opengles\openglescontext.h(40): error C2371: 'GLintptr' : redefinition; different basic types
1>          d:\dev\cpp\cocos2d-x\svg\2010\monkvg-master\monkvg-master\projects\monkvg-windows\glew\include\gl\glew.h(1641) : see declaration of 'GLintptr'
1>d:\dev\cpp\cocos2d-x\svg\2010\monkvg-master\monkvg-master\thirdparty\gles2-bc\sources\opengles\openglescontext.h(41): error C2371: 'GLsizeiptr' : redefinition; different basic types
1>          d:\dev\cpp\cocos2d-x\svg\2010\monkvg-master\monkvg-master\projects\monkvg-windows\glew\include\gl\glew.h(1642) : see declaration of 'GLsizeiptr'
1>d:\dev\cpp\cocos2d-x\svg\2010\monkvg-master\monkvg-master\thirdparty\gles2-bc\sources\opengles\openglescontext.h(610): warning C4005: 'GL_SRC0_RGB' : macro redefinition
1>          d:\dev\cpp\cocos2d-x\svg\2010\monkvg-master\monkvg-master\projects\monkvg-windows\glew\include\gl\glew.h(1593) : see previous definition of 'GL_SRC0_RGB'
1>d:\dev\cpp\cocos2d-x\svg\2010\monkvg-master\monkvg-master\thirdparty\gles2-bc\sources\opengles\openglescontext.h(611): warning C4005: 'GL_SRC1_RGB' : macro redefinition
1>          d:\dev\cpp\cocos2d-x\svg\2010\monkvg-master\monkvg-master\projects\monkvg-windows\glew\include\gl\glew.h(1600) : see previous definition of 'GL_SRC1_RGB'
1>d:\dev\cpp\cocos2d-x\svg\2010\monkvg-master\monkvg-master\thirdparty\gles2-bc\sources\opengles\openglescontext.h(612): warning C4005: 'GL_SRC2_RGB' : macro redefinition
1>          d:\dev\cpp\cocos2d-x\svg\2010\monkvg-master\monkvg-master\projects\monkvg-windows\glew\include\gl\glew.h(1603) : see previous definition of 'GL_SRC2_RGB'
1>d:\dev\cpp\cocos2d-x\svg\2010\monkvg-master\monkvg-master\thirdparty\gles2-bc\sources\opengles\openglescontext.h(613): warning C4005: 'GL_SRC0_ALPHA' : macro redefinition
1>          d:\dev\cpp\cocos2d-x\svg\2010\monkvg-master\monkvg-master\projects\monkvg-windows\glew\include\gl\glew.h(1599) : see previous definition of 'GL_SRC0_ALPHA'
1>d:\dev\cpp\cocos2d-x\svg\2010\monkvg-master\monkvg-master\thirdparty\gles2-bc\sources\opengles\openglescontext.h(614): warning C4005: 'GL_SRC1_ALPHA' : macro redefinition
1>          d:\dev\cpp\cocos2d-x\svg\2010\monkvg-master\monkvg-master\projects\monkvg-windows\glew\include\gl\glew.h(1596) : see previous definition of 'GL_SRC1_ALPHA'
1>d:\dev\cpp\cocos2d-x\svg\2010\monkvg-master\monkvg-master\thirdparty\gles2-bc\sources\opengles\openglescontext.h(615): warning C4005: 'GL_SRC2_ALPHA' : macro redefinition
1>          d:\dev\cpp\cocos2d-x\svg\2010\monkvg-master\monkvg-master\projects\monkvg-windows\glew\include\gl\glew.h(1602) : see previous definition of 'GL_SRC2_ALPHA'
1>d:\dev\cpp\cocos2d-x\svg\2010\monkvg-master\monkvg-master\thirdparty\gles2-bc\sources\opengles\openglesstring.h(37): error C2535: 'OpenGLES::OpenGLESString OpenGLES::OpenGLESString::operator +(size_t)' : member function already defined or declared
1>          d:\dev\cpp\cocos2d-x\svg\2010\monkvg-master\monkvg-master\thirdparty\gles2-bc\sources\opengles\openglesstring.h(34) : see declaration of 'OpenGLES::OpenGLESString::operator +'
1>d:\dev\cpp\cocos2d-x\svg\2010\monkvg-master\monkvg-master\src\opengl\glimage.cpp(225): warning C4244: 'initializing' : conversion from 'VGint' to 'GLfloat', possible loss of data
1>d:\dev\cpp\cocos2d-x\svg\2010\monkvg-master\monkvg-master\src\opengl\glimage.cpp(225): warning C4244: 'initializing' : conversion from 'VGint' to 'GLfloat', possible loss of data
1>d:\dev\cpp\cocos2d-x\svg\2010\monkvg-master\monkvg-master\src\opengl\glimage.cpp(226): warning C4244: 'initializing' : conversion from 'VGint' to 'GLfloat', possible loss of data
1>d:\dev\cpp\cocos2d-x\svg\2010\monkvg-master\monkvg-master\src\opengl\glimage.cpp(226): warning C4244: 'initializing' : conversion from 'VGint' to 'GLfloat', possible loss of data
1>d:\dev\cpp\cocos2d-x\svg\2010\monkvg-master\monkvg-master\src\opengl\glimage.cpp(227): warning C4244: 'initializing' : conversion from 'VGint' to 'GLfloat', possible loss of data
1>d:\dev\cpp\cocos2d-x\svg\2010\monkvg-master\monkvg-master\src\opengl\glimage.cpp(227): warning C4244: 'initializing' : conversion from 'VGint' to 'GLfloat', possible loss of data
1>d:\dev\cpp\cocos2d-x\svg\2010\monkvg-master\monkvg-master\src\opengl\glimage.cpp(228): warning C4244: 'initializing' : conversion from 'VGint' to 'GLfloat', possible loss of data
1>d:\dev\cpp\cocos2d-x\svg\2010\monkvg-master\monkvg-master\src\opengl\glimage.cpp(228): warning C4244: 'initializing' : conversion from 'VGint' to 'GLfloat', possible loss of data
1>  glFont.cpp
1>d:\dev\cpp\cocos2d-x\svg\2010\monkvg-master\monkvg-master\thirdparty\gles2-bc\sources\opengles\openglescontext.h(40): error C2371: 'GLintptr' : redefinition; different basic types
1>          d:\dev\cpp\cocos2d-x\svg\2010\monkvg-master\monkvg-master\projects\monkvg-windows\glew\include\gl\glew.h(1641) : see declaration of 'GLintptr'
1>d:\dev\cpp\cocos2d-x\svg\2010\monkvg-master\monkvg-master\thirdparty\gles2-bc\sources\opengles\openglescontext.h(41): error C2371: 'GLsizeiptr' : redefinition; different basic types
1>          d:\dev\cpp\cocos2d-x\svg\2010\monkvg-master\monkvg-master\projects\monkvg-windows\glew\include\gl\glew.h(1642) : see declaration of 'GLsizeiptr'
1>d:\dev\cpp\cocos2d-x\svg\2010\monkvg-master\monkvg-master\thirdparty\gles2-bc\sources\opengles\openglescontext.h(610): warning C4005: 'GL_SRC0_RGB' : macro redefinition
1>          d:\dev\cpp\cocos2d-x\svg\2010\monkvg-master\monkvg-master\projects\monkvg-windows\glew\include\gl\glew.h(1593) : see previous definition of 'GL_SRC0_RGB'
1>d:\dev\cpp\cocos2d-x\svg\2010\monkvg-master\monkvg-master\thirdparty\gles2-bc\sources\opengles\openglescontext.h(611): warning C4005: 'GL_SRC1_RGB' : macro redefinition
1>          d:\dev\cpp\cocos2d-x\svg\2010\monkvg-master\monkvg-master\projects\monkvg-windows\glew\include\gl\glew.h(1600) : see previous definition of 'GL_SRC1_RGB'
1>d:\dev\cpp\cocos2d-x\svg\2010\monkvg-master\monkvg-master\thirdparty\gles2-bc\sources\opengles\openglescontext.h(612): warning C4005: 'GL_SRC2_RGB' : macro redefinition
1>          d:\dev\cpp\cocos2d-x\svg\2010\monkvg-master\monkvg-master\projects\monkvg-windows\glew\include\gl\glew.h(1603) : see previous definition of 'GL_SRC2_RGB'
1>d:\dev\cpp\cocos2d-x\svg\2010\monkvg-master\monkvg-master\thirdparty\gles2-bc\sources\opengles\openglescontext.h(613): warning C4005: 'GL_SRC0_ALPHA' : macro redefinition
1>          d:\dev\cpp\cocos2d-x\svg\2010\monkvg-master\monkvg-master\projects\monkvg-windows\glew\include\gl\glew.h(1599) : see previous definition of 'GL_SRC0_ALPHA'
1>d:\dev\cpp\cocos2d-x\svg\2010\monkvg-master\monkvg-master\thirdparty\gles2-bc\sources\opengles\openglescontext.h(614): warning C4005: 'GL_SRC1_ALPHA' : macro redefinition
1>          d:\dev\cpp\cocos2d-x\svg\2010\monkvg-master\monkvg-master\projects\monkvg-windows\glew\include\gl\glew.h(1596) : see previous definition of 'GL_SRC1_ALPHA'
1>d:\dev\cpp\cocos2d-x\svg\2010\monkvg-master\monkvg-master\thirdparty\gles2-bc\sources\opengles\openglescontext.h(615): warning C4005: 'GL_SRC2_ALPHA' : macro redefinition
1>          d:\dev\cpp\cocos2d-x\svg\2010\monkvg-master\monkvg-master\projects\monkvg-windows\glew\include\gl\glew.h(1602) : see previous definition of 'GL_SRC2_ALPHA'
1>d:\dev\cpp\cocos2d-x\svg\2010\monkvg-master\monkvg-master\thirdparty\gles2-bc\sources\opengles\openglesstring.h(37): error C2535: 'OpenGLES::OpenGLESString OpenGLES::OpenGLESString::operator +(size_t)' : member function already defined or declared
1>          d:\dev\cpp\cocos2d-x\svg\2010\monkvg-master\monkvg-master\thirdparty\gles2-bc\sources\opengles\openglesstring.h(34) : see declaration of 'OpenGLES::OpenGLESString::operator +'
1>  glContext.cpp
1>d:\dev\cpp\cocos2d-x\svg\2010\monkvg-master\monkvg-master\thirdparty\gles2-bc\sources\opengles\openglescontext.h(40): error C2371: 'GLintptr' : redefinition; different basic types
1>          d:\dev\cpp\cocos2d-x\svg\2010\monkvg-master\monkvg-master\projects\monkvg-windows\glew\include\gl\glew.h(1641) : see declaration of 'GLintptr'
1>d:\dev\cpp\cocos2d-x\svg\2010\monkvg-master\monkvg-master\thirdparty\gles2-bc\sources\opengles\openglescontext.h(41): error C2371: 'GLsizeiptr' : redefinition; different basic types
1>          d:\dev\cpp\cocos2d-x\svg\2010\monkvg-master\monkvg-master\projects\monkvg-windows\glew\include\gl\glew.h(1642) : see declaration of 'GLsizeiptr'
1>d:\dev\cpp\cocos2d-x\svg\2010\monkvg-master\monkvg-master\thirdparty\gles2-bc\sources\opengles\openglescontext.h(610): warning C4005: 'GL_SRC0_RGB' : macro redefinition
1>          d:\dev\cpp\cocos2d-x\svg\2010\monkvg-master\monkvg-master\projects\monkvg-windows\glew\include\gl\glew.h(1593) : see previous definition of 'GL_SRC0_RGB'
1>d:\dev\cpp\cocos2d-x\svg\2010\monkvg-master\monkvg-master\thirdparty\gles2-bc\sources\opengles\openglescontext.h(611): warning C4005: 'GL_SRC1_RGB' : macro redefinition
1>          d:\dev\cpp\cocos2d-x\svg\2010\monkvg-master\monkvg-master\projects\monkvg-windows\glew\include\gl\glew.h(1600) : see previous definition of 'GL_SRC1_RGB'
1>d:\dev\cpp\cocos2d-x\svg\2010\monkvg-master\monkvg-master\thirdparty\gles2-bc\sources\opengles\openglescontext.h(612): warning C4005: 'GL_SRC2_RGB' : macro redefinition
1>          d:\dev\cpp\cocos2d-x\svg\2010\monkvg-master\monkvg-master\projects\monkvg-windows\glew\include\gl\glew.h(1603) : see previous definition of 'GL_SRC2_RGB'
1>d:\dev\cpp\cocos2d-x\svg\2010\monkvg-master\monkvg-master\thirdparty\gles2-bc\sources\opengles\openglescontext.h(613): warning C4005: 'GL_SRC0_ALPHA' : macro redefinition
1>          d:\dev\cpp\cocos2d-x\svg\2010\monkvg-master\monkvg-master\projects\monkvg-windows\glew\include\gl\glew.h(1599) : see previous definition of 'GL_SRC0_ALPHA'
1>d:\dev\cpp\cocos2d-x\svg\2010\monkvg-master\monkvg-master\thirdparty\gles2-bc\sources\opengles\openglescontext.h(614): warning C4005: 'GL_SRC1_ALPHA' : macro redefinition
1>          d:\dev\cpp\cocos2d-x\svg\2010\monkvg-master\monkvg-master\projects\monkvg-windows\glew\include\gl\glew.h(1596) : see previous definition of 'GL_SRC1_ALPHA'
1>d:\dev\cpp\cocos2d-x\svg\2010\monkvg-master\monkvg-master\thirdparty\gles2-bc\sources\opengles\openglescontext.h(615): warning C4005: 'GL_SRC2_ALPHA' : macro redefinition
1>          d:\dev\cpp\cocos2d-x\svg\2010\monkvg-master\monkvg-master\projects\monkvg-windows\glew\include\gl\glew.h(1602) : see previous definition of 'GL_SRC2_ALPHA'
1>d:\dev\cpp\cocos2d-x\svg\2010\monkvg-master\monkvg-master\thirdparty\gles2-bc\sources\opengles\openglesstring.h(37): error C2535: 'OpenGLES::OpenGLESString OpenGLES::OpenGLESString::operator +(size_t)' : member function already defined or declared
1>          d:\dev\cpp\cocos2d-x\svg\2010\monkvg-master\monkvg-master\thirdparty\gles2-bc\sources\opengles\openglesstring.h(34) : see declaration of 'OpenGLES::OpenGLESString::operator +'
1>d:\dev\cpp\cocos2d-x\svg\2010\monkvg-master\monkvg-master\src\opengl\glcontext.cpp(80): error C3083: 'OpenGLES1': the symbol to the left of a '::' must be a type
1>d:\dev\cpp\cocos2d-x\svg\2010\monkvg-master\monkvg-master\src\opengl\glcontext.cpp(80): error C2039: 'OpenGLES11Context' : is not a member of 'OpenGLES'
1>d:\dev\cpp\cocos2d-x\svg\2010\monkvg-master\monkvg-master\src\opengl\glcontext.cpp(80): error C2061: syntax error : identifier 'OpenGLES11Context'
1>d:\dev\cpp\cocos2d-x\svg\2010\monkvg-master\monkvg-master\src\opengl\glcontext.cpp(123): warning C4244: 'argument' : conversion from 'VGint' to 'GLfloat', possible loss of data
1>d:\dev\cpp\cocos2d-x\svg\2010\monkvg-master\monkvg-master\src\opengl\glcontext.cpp(123): warning C4244: 'argument' : conversion from 'VGint' to 'GLfloat', possible loss of data
1>  glBatch.cpp
1>d:\dev\cpp\cocos2d-x\svg\2010\monkvg-master\monkvg-master\thirdparty\gles2-bc\sources\opengles\openglescontext.h(40): error C2371: 'GLintptr' : redefinition; different basic types
1>          d:\dev\cpp\cocos2d-x\svg\2010\monkvg-master\monkvg-master\projects\monkvg-windows\glew\include\gl\glew.h(1641) : see declaration of 'GLintptr'
1>d:\dev\cpp\cocos2d-x\svg\2010\monkvg-master\monkvg-master\thirdparty\gles2-bc\sources\opengles\openglescontext.h(41): error C2371: 'GLsizeiptr' : redefinition; different basic types
1>          d:\dev\cpp\cocos2d-x\svg\2010\monkvg-master\monkvg-master\projects\monkvg-windows\glew\include\gl\glew.h(1642) : see declaration of 'GLsizeiptr'
1>d:\dev\cpp\cocos2d-x\svg\2010\monkvg-master\monkvg-master\thirdparty\gles2-bc\sources\opengles\openglescontext.h(610): warning C4005: 'GL_SRC0_RGB' : macro redefinition
1>          d:\dev\cpp\cocos2d-x\svg\2010\monkvg-master\monkvg-master\projects\monkvg-windows\glew\include\gl\glew.h(1593) : see previous definition of 'GL_SRC0_RGB'
1>d:\dev\cpp\cocos2d-x\svg\2010\monkvg-master\monkvg-master\thirdparty\gles2-bc\sources\opengles\openglescontext.h(611): warning C4005: 'GL_SRC1_RGB' : macro redefinition
1>          d:\dev\cpp\cocos2d-x\svg\2010\monkvg-master\monkvg-master\projects\monkvg-windows\glew\include\gl\glew.h(1600) : see previous definition of 'GL_SRC1_RGB'
1>d:\dev\cpp\cocos2d-x\svg\2010\monkvg-master\monkvg-master\thirdparty\gles2-bc\sources\opengles\openglescontext.h(612): warning C4005: 'GL_SRC2_RGB' : macro redefinition
1>          d:\dev\cpp\cocos2d-x\svg\2010\monkvg-master\monkvg-master\projects\monkvg-windows\glew\include\gl\glew.h(1603) : see previous definition of 'GL_SRC2_RGB'
1>d:\dev\cpp\cocos2d-x\svg\2010\monkvg-master\monkvg-master\thirdparty\gles2-bc\sources\opengles\openglescontext.h(613): warning C4005: 'GL_SRC0_ALPHA' : macro redefinition
1>          d:\dev\cpp\cocos2d-x\svg\2010\monkvg-master\monkvg-master\projects\monkvg-windows\glew\include\gl\glew.h(1599) : see previous definition of 'GL_SRC0_ALPHA'
1>d:\dev\cpp\cocos2d-x\svg\2010\monkvg-master\monkvg-master\thirdparty\gles2-bc\sources\opengles\openglescontext.h(614): warning C4005: 'GL_SRC1_ALPHA' : macro redefinition
1>          d:\dev\cpp\cocos2d-x\svg\2010\monkvg-master\monkvg-master\projects\monkvg-windows\glew\include\gl\glew.h(1596) : see previous definition of 'GL_SRC1_ALPHA'
1>d:\dev\cpp\cocos2d-x\svg\2010\monkvg-master\monkvg-master\thirdparty\gles2-bc\sources\opengles\openglescontext.h(615): warning C4005: 'GL_SRC2_ALPHA' : macro redefinition
1>          d:\dev\cpp\cocos2d-x\svg\2010\monkvg-master\monkvg-master\projects\monkvg-windows\glew\include\gl\glew.h(1602) : see previous definition of 'GL_SRC2_ALPHA'
1>d:\dev\cpp\cocos2d-x\svg\2010\monkvg-master\monkvg-master\thirdparty\gles2-bc\sources\opengles\openglesstring.h(37): error C2535: 'OpenGLES::OpenGLESString OpenGLES::OpenGLESString::operator +(size_t)' : member function already defined or declared
1>          d:\dev\cpp\cocos2d-x\svg\2010\monkvg-master\monkvg-master\thirdparty\gles2-bc\sources\opengles\openglesstring.h(34) : see declaration of 'OpenGLES::OpenGLESString::operator +'
1>d:\dev\cpp\cocos2d-x\svg\2010\monkvg-master\monkvg-master\src\opengl\glbatch.cpp(46): warning C4018: '<' : signed/unsigned mismatch
1>d:\dev\cpp\cocos2d-x\svg\2010\monkvg-master\monkvg-master\src\opengl\glbatch.cpp(69): warning C4018: '<' : signed/unsigned mismatch
1>  mkVGU.cpp
1>d:\dev\cpp\cocos2d-x\svg\2010\monkvg-master\monkvg-master\src\mkvgu.cpp(302): warning C4244: 'initializing' : conversion from 'double' to 'VGfloat', possible loss of data
1>d:\dev\cpp\cocos2d-x\svg\2010\monkvg-master\monkvg-master\src\mkvgu.cpp(302): warning C4305: '+=' : truncation from 'double' to 'VGfloat'
1>d:\dev\cpp\cocos2d-x\svg\2010\monkvg-master\monkvg-master\src\mkvgu.cpp(312): warning C4244: 'initializing' : conversion from 'double' to 'VGfloat', possible loss of data
1>d:\dev\cpp\cocos2d-x\svg\2010\monkvg-master\monkvg-master\src\mkvgu.cpp(312): warning C4305: '-=' : truncation from 'double' to 'VGfloat'
1>  mkPath.cpp
1>  mkParameter.cpp
1>  mkPaint.cpp
1>d:\dev\cpp\cocos2d-x\svg\2010\monkvg-master\monkvg-master\src\mkpaint.cpp(20): warning C4065: switch statement contains 'default' but no 'case' labels
1>d:\dev\cpp\cocos2d-x\svg\2010\monkvg-master\monkvg-master\src\mkpaint.cpp(29): warning C4065: switch statement contains 'default' but no 'case' labels
1>d:\dev\cpp\cocos2d-x\svg\2010\monkvg-master\monkvg-master\src\mkpaint.cpp(66): warning C4065: switch statement contains 'default' but no 'case' labels
1>  mkMath.cpp
1>  mkImage.cpp
1>d:\dev\cpp\cocos2d-x\svg\2010\monkvg-master\monkvg-master\src\mkimage.cpp(49): warning C4065: switch statement contains 'default' but no 'case' labels
1>d:\dev\cpp\cocos2d-x\svg\2010\monkvg-master\monkvg-master\src\mkimage.cpp(58): warning C4065: switch statement contains 'default' but no 'case' labels
1>d:\dev\cpp\cocos2d-x\svg\2010\monkvg-master\monkvg-master\src\mkimage.cpp(67): warning C4065: switch statement contains 'default' but no 'case' labels
1>d:\dev\cpp\cocos2d-x\svg\2010\monkvg-master\monkvg-master\src\mkimage.cpp(76): warning C4065: switch statement contains 'default' but no 'case' labels
1>d:\dev\cpp\cocos2d-x\svg\2010\monkvg-master\monkvg-master\src\mkimage.cpp(85): warning C4065: switch statement contains 'default' but no 'case' labels
1>d:\dev\cpp\cocos2d-x\svg\2010\monkvg-master\monkvg-master\src\mkimage.cpp(94): warning C4065: switch statement contains 'default' but no 'case' labels
1>  mkFont.cpp
1>d:\dev\cpp\cocos2d-x\svg\2010\monkvg-master\monkvg-master\src\mkfont.cpp(19): warning C4065: switch statement contains 'default' but no 'case' labels
1>d:\dev\cpp\cocos2d-x\svg\2010\monkvg-master\monkvg-master\src\mkfont.cpp(28): warning C4065: switch statement contains 'default' but no 'case' labels
1>d:\dev\cpp\cocos2d-x\svg\2010\monkvg-master\monkvg-master\src\mkfont.cpp(36): warning C4065: switch statement contains 'default' but no 'case' labels
1>d:\dev\cpp\cocos2d-x\svg\2010\monkvg-master\monkvg-master\src\mkfont.cpp(45): warning C4065: switch statement contains 'default' but no 'case' labels
1>d:\dev\cpp\cocos2d-x\svg\2010\monkvg-master\monkvg-master\src\mkfont.cpp(53): warning C4065: switch statement contains 'default' but no 'case' labels
1>d:\dev\cpp\cocos2d-x\svg\2010\monkvg-master\monkvg-master\src\mkfont.cpp(61): warning C4065: switch statement contains 'default' but no 'case' labels
1>d:\dev\cpp\cocos2d-x\svg\2010\monkvg-master\monkvg-master\src\mkfont.cpp(93): warning C4244: 'argument' : conversion from 'VGfloat' to 'VGint', possible loss of data
1>d:\dev\cpp\cocos2d-x\svg\2010\monkvg-master\monkvg-master\src\mkfont.cpp(93): warning C4244: 'argument' : conversion from 'VGfloat' to 'VGint', possible loss of data
1>  mkContext.cpp
1>  mkBatch.cpp
1>d:\dev\cpp\cocos2d-x\svg\2010\monkvg-master\monkvg-master\src\mkbatch.cpp(19): warning C4065: switch statement contains 'default' but no 'case' labels
1>d:\dev\cpp\cocos2d-x\svg\2010\monkvg-master\monkvg-master\src\mkbatch.cpp(28): warning C4065: switch statement contains 'default' but no 'case' labels
1>d:\dev\cpp\cocos2d-x\svg\2010\monkvg-master\monkvg-master\src\mkbatch.cpp(37): warning C4065: switch statement contains 'default' but no 'case' labels
1>d:\dev\cpp\cocos2d-x\svg\2010\monkvg-master\monkvg-master\src\mkbatch.cpp(46): warning C4065: switch statement contains 'default' but no 'case' labels
1>d:\dev\cpp\cocos2d-x\svg\2010\monkvg-master\monkvg-master\src\mkbatch.cpp(55): warning C4065: switch statement contains 'default' but no 'case' labels
1>d:\dev\cpp\cocos2d-x\svg\2010\monkvg-master\monkvg-master\src\mkbatch.cpp(64): warning C4065: switch statement contains 'default' but no 'case' labels
1>  mkBaseObject.cpp
1>  Generating Code...
========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped ==========
micahpearlman commented 10 years ago

The Windows build system was implemented by a contributor to MonkVG several years ago and is no surprise it may be non-functional. I do not have access to a windows development environment. Would be wonderful if you could update the Windows version of MonkVG to work.

meiry commented 10 years ago

i will try my best do yo have Vincent Richomme email ?

sisoje commented 9 years ago

i made fixes for windows and cmake project also

sisoje commented 9 years ago

how do i commit?

micahpearlman commented 9 years ago

Create a pull request on GitHub.

On Apr 7, 2015, at 8:07 AM, sisoje notifications@github.com wrote:

how do i commit?

— Reply to this email directly or view it on GitHub.