<div class="gmail_quote"><br><br>Hello Tom,
<div><br></div><div>Thank you for your reply. I am sorry I should have posted more details. Here is the sample code: All my includes</div><div><br></div><div><div>pragma once</div><div><br></div><div>#ifndef GL_BASE_H</div>
<div>#define GL_BASE_H</div><div><br></div><div>#include "AEConfig.h"</div><div><br></div><div><br></div><div>#ifdef AE_OS_WIN</div><div>#include <stdlib.h></div><div>#include <GL\glew.h></div><div>
<br>
</div><div>#include <GL\osmesa.h></div><div>#include <GL\glu.h></div><div>#include <GL\glut.h></div><div>#include <math.h></div><div>#include <stdio.h></div><div>#include <stdlib.h></div>
<div>#endif</div></div><div><br></div><div>If I compile it, I get the following errors: all of them related to OSMesa.h. But if I comment glew.h it compiles fine, but I can't use any glsl shader related calls. I also tried changing the include gl.h in osmesa.h to glew.h but still no luck. I don't know if this explains the problem or if you need anything else, please let me know. Thank you very much once again!</div>
<div><br></div><div><br></div><div><div>1>c:\documents and settings\administrator\desktop\mesa\mesa2\mesa-7.8.1\include\gl\osmesa.h(119) : error C2146: syntax error : missing ';' before identifier 'OSMesaContext'</div>
<div>1>c:\documents and settings\administrator\desktop\mesa\mesa2\mesa-7.8.1\include\gl\osmesa.h(119) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int</div><div>1>c:\documents and settings\administrator\desktop\mesa\mesa2\mesa-7.8.1\include\gl\osmesa.h(120) : error C2146: syntax error : missing ';' before identifier 'OSMesaCreateContext'</div>
<div>1>c:\documents and settings\administrator\desktop\mesa\mesa2\mesa-7.8.1\include\gl\osmesa.h(120) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int</div><div>1>c:\documents and settings\administrator\desktop\mesa\mesa2\mesa-7.8.1\include\gl\osmesa.h(132) : error C2146: syntax error : missing ';' before identifier 'OSMesaContext'</div>
<div>1>c:\documents and settings\administrator\desktop\mesa\mesa2\mesa-7.8.1\include\gl\osmesa.h(132) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int</div><div>1>c:\documents and settings\administrator\desktop\mesa\mesa2\mesa-7.8.1\include\gl\osmesa.h(132) : error C2086: 'int GLAPI' : redefinition</div>
<div>1> c:\documents and settings\administrator\desktop\mesa\mesa2\mesa-7.8.1\include\gl\osmesa.h(119) : see declaration of 'GLAPI'</div><div>1>c:\documents and settings\administrator\desktop\mesa\mesa2\mesa-7.8.1\include\gl\osmesa.h(133) : error C2146: syntax error : missing ';' before identifier 'OSMesaCreateContextExt'</div>
<div>1>c:\documents and settings\administrator\desktop\mesa\mesa2\mesa-7.8.1\include\gl\osmesa.h(133) : error C2086: 'OSMesaContext GLAPIENTRY' : redefinition</div><div>1> c:\documents and settings\administrator\desktop\mesa\mesa2\mesa-7.8.1\include\gl\osmesa.h(120) : see declaration of 'GLAPIENTRY'</div>
<div>1>c:\documents and settings\administrator\desktop\mesa\mesa2\mesa-7.8.1\include\gl\osmesa.h(134) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int</div><div>1>c:\documents and settings\administrator\desktop\mesa\mesa2\mesa-7.8.1\include\gl\osmesa.h(142) : error C2144: syntax error : 'void' should be preceded by ';'</div>
<div>1>c:\documents and settings\administrator\desktop\mesa\mesa2\mesa-7.8.1\include\gl\osmesa.h(142) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int</div><div>1>c:\documents and settings\administrator\desktop\mesa\mesa2\mesa-7.8.1\include\gl\osmesa.h(142) : error C2086: 'int GLAPI' : redefinition</div>
<div>1> c:\documents and settings\administrator\desktop\mesa\mesa2\mesa-7.8.1\include\gl\osmesa.h(119) : see declaration of 'GLAPI'</div><div>1>c:\documents and settings\administrator\desktop\mesa\mesa2\mesa-7.8.1\include\gl\osmesa.h(143) : error C2146: syntax error : missing ';' before identifier 'OSMesaDestroyContext'</div>
<div>1>c:\documents and settings\administrator\desktop\mesa\mesa2\mesa-7.8.1\include\gl\osmesa.h(143) : error C2182: 'GLAPIENTRY' : illegal use of type 'void'</div><div>1>c:\documents and settings\administrator\desktop\mesa\mesa2\mesa-7.8.1\include\gl\osmesa.h(143) : error C2040: 'GLAPIENTRY' : 'int' differs in levels of indirection from 'OSMesaContext'</div>
<div>1>c:\documents and settings\administrator\desktop\mesa\mesa2\mesa-7.8.1\include\gl\osmesa.h(143) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int</div><div>1>c:\documents and settings\administrator\desktop\mesa\mesa2\mesa-7.8.1\include\gl\osmesa.h(174) : error C2146: syntax error : missing ';' before identifier 'GLboolean'</div>
<div>1>c:\documents and settings\administrator\desktop\mesa\mesa2\mesa-7.8.1\include\gl\osmesa.h(174) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int</div><div>1>c:\documents and settings\administrator\desktop\mesa\mesa2\mesa-7.8.1\include\gl\osmesa.h(174) : error C2086: 'int GLAPI' : redefinition</div>
<div>1> c:\documents and settings\administrator\desktop\mesa\mesa2\mesa-7.8.1\include\gl\osmesa.h(119) : see declaration of 'GLAPI'</div><div>1>c:\documents and settings\administrator\desktop\mesa\mesa2\mesa-7.8.1\include\gl\osmesa.h(175) : error C2146: syntax error : missing ';' before identifier 'OSMesaMakeCurrent'</div>
<div>1>c:\documents and settings\administrator\desktop\mesa\mesa2\mesa-7.8.1\include\gl\osmesa.h(175) : error C2040: 'GLAPIENTRY' : 'GLboolean' differs in levels of indirection from 'OSMesaContext'</div>
<div>1>c:\documents and settings\administrator\desktop\mesa\mesa2\mesa-7.8.1\include\gl\osmesa.h(176) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int</div><div>1>c:\documents and settings\administrator\desktop\mesa\mesa2\mesa-7.8.1\include\gl\osmesa.h(184) : error C2146: syntax error : missing ';' before identifier 'OSMesaContext'</div>
<div>1>c:\documents and settings\administrator\desktop\mesa\mesa2\mesa-7.8.1\include\gl\osmesa.h(184) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int</div><div>1>c:\documents and settings\administrator\desktop\mesa\mesa2\mesa-7.8.1\include\gl\osmesa.h(184) : error C2086: 'int GLAPI' : redefinition</div>
<div>1> c:\documents and settings\administrator\desktop\mesa\mesa2\mesa-7.8.1\include\gl\osmesa.h(119) : see declaration of 'GLAPI'</div><div>1>c:\documents and settings\administrator\desktop\mesa\mesa2\mesa-7.8.1\include\gl\osmesa.h(185) : error C2146: syntax error : missing ';' before identifier 'OSMesaGetCurrentContext'</div>
<div>1>c:\documents and settings\administrator\desktop\mesa\mesa2\mesa-7.8.1\include\gl\osmesa.h(185) : error C2086: 'OSMesaContext GLAPIENTRY' : redefinition</div><div>1> c:\documents and settings\administrator\desktop\mesa\mesa2\mesa-7.8.1\include\gl\osmesa.h(120) : see declaration of 'GLAPIENTRY'</div>
<div>1>c:\documents and settings\administrator\desktop\mesa\mesa2\mesa-7.8.1\include\gl\osmesa.h(185) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int</div><div>1>c:\documents and settings\administrator\desktop\mesa\mesa2\mesa-7.8.1\include\gl\osmesa.h(202) : error C2144: syntax error : 'void' should be preceded by ';'</div>
<div>1>c:\documents and settings\administrator\desktop\mesa\mesa2\mesa-7.8.1\include\gl\osmesa.h(202) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int</div><div>1>c:\documents and settings\administrator\desktop\mesa\mesa2\mesa-7.8.1\include\gl\osmesa.h(202) : error C2086: 'int GLAPI' : redefinition</div>
<div>1> c:\documents and settings\administrator\desktop\mesa\mesa2\mesa-7.8.1\include\gl\osmesa.h(119) : see declaration of 'GLAPI'</div><div>1>c:\documents and settings\administrator\desktop\mesa\mesa2\mesa-7.8.1\include\gl\osmesa.h(203) : error C2146: syntax error : missing ';' before identifier 'OSMesaPixelStore'</div>
<div>1>c:\documents and settings\administrator\desktop\mesa\mesa2\mesa-7.8.1\include\gl\osmesa.h(203) : error C2182: 'GLAPIENTRY' : illegal use of type 'void'</div><div>1>c:\documents and settings\administrator\desktop\mesa\mesa2\mesa-7.8.1\include\gl\osmesa.h(203) : error C2040: 'GLAPIENTRY' : 'int' differs in levels of indirection from 'OSMesaContext'</div>
<div>1>c:\documents and settings\administrator\desktop\mesa\mesa2\mesa-7.8.1\include\gl\osmesa.h(203) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int</div><div>1>c:\documents and settings\administrator\desktop\mesa\mesa2\mesa-7.8.1\include\gl\osmesa.h(218) : error C2144: syntax error : 'void' should be preceded by ';'</div>
<div>1>c:\documents and settings\administrator\desktop\mesa\mesa2\mesa-7.8.1\include\gl\osmesa.h(218) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int</div><div>1>c:\documents and settings\administrator\desktop\mesa\mesa2\mesa-7.8.1\include\gl\osmesa.h(218) : error C2086: 'int GLAPI' : redefinition</div>
<div>1> c:\documents and settings\administrator\desktop\mesa\mesa2\mesa-7.8.1\include\gl\osmesa.h(119) : see declaration of 'GLAPI'</div><div>1>c:\documents and settings\administrator\desktop\mesa\mesa2\mesa-7.8.1\include\gl\osmesa.h(219) : error C2146: syntax error : missing ';' before identifier 'OSMesaGetIntegerv'</div>
<div>1>c:\documents and settings\administrator\desktop\mesa\mesa2\mesa-7.8.1\include\gl\osmesa.h(219) : error C2182: 'GLAPIENTRY' : illegal use of type 'void'</div><div>1>c:\documents and settings\administrator\desktop\mesa\mesa2\mesa-7.8.1\include\gl\osmesa.h(219) : error C2040: 'GLAPIENTRY' : 'int' differs in levels of indirection from 'OSMesaContext'</div>
<div>1>c:\documents and settings\administrator\desktop\mesa\mesa2\mesa-7.8.1\include\gl\osmesa.h(219) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int</div><div>1>c:\documents and settings\administrator\desktop\mesa\mesa2\mesa-7.8.1\include\gl\osmesa.h(233) : error C2146: syntax error : missing ';' before identifier 'GLboolean'</div>
<div>1>c:\documents and settings\administrator\desktop\mesa\mesa2\mesa-7.8.1\include\gl\osmesa.h(233) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int</div><div>1>c:\documents and settings\administrator\desktop\mesa\mesa2\mesa-7.8.1\include\gl\osmesa.h(233) : error C2086: 'int GLAPI' : redefinition</div>
<div>1> c:\documents and settings\administrator\desktop\mesa\mesa2\mesa-7.8.1\include\gl\osmesa.h(119) : see declaration of 'GLAPI'</div><div>1>c:\documents and settings\administrator\desktop\mesa\mesa2\mesa-7.8.1\include\gl\osmesa.h(234) : error C2146: syntax error : missing ';' before identifier 'OSMesaGetDepthBuffer'</div>
<div>1>c:\documents and settings\administrator\desktop\mesa\mesa2\mesa-7.8.1\include\gl\osmesa.h(234) : error C2040: 'GLAPIENTRY' : 'GLboolean' differs in levels of indirection from 'OSMesaContext'</div>
<div>1>c:\documents and settings\administrator\desktop\mesa\mesa2\mesa-7.8.1\include\gl\osmesa.h(235) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int</div><div>1>c:\documents and settings\administrator\desktop\mesa\mesa2\mesa-7.8.1\include\gl\osmesa.h(249) : error C2146: syntax error : missing ';' before identifier 'GLboolean'</div>
<div>1>c:\documents and settings\administrator\desktop\mesa\mesa2\mesa-7.8.1\include\gl\osmesa.h(249) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int</div><div>1>c:\documents and settings\administrator\desktop\mesa\mesa2\mesa-7.8.1\include\gl\osmesa.h(249) : error C2086: 'int GLAPI' : redefinition</div>
<div>1> c:\documents and settings\administrator\desktop\mesa\mesa2\mesa-7.8.1\include\gl\osmesa.h(119) : see declaration of 'GLAPI'</div><div>1>c:\documents and settings\administrator\desktop\mesa\mesa2\mesa-7.8.1\include\gl\osmesa.h(250) : error C2146: syntax error : missing ';' before identifier 'OSMesaGetColorBuffer'</div>
<div>1>c:\documents and settings\administrator\desktop\mesa\mesa2\mesa-7.8.1\include\gl\osmesa.h(250) : error C2040: 'GLAPIENTRY' : 'GLboolean' differs in levels of indirection from 'OSMesaContext'</div>
<div>1>c:\documents and settings\administrator\desktop\mesa\mesa2\mesa-7.8.1\include\gl\osmesa.h(251) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int</div><div>1>c:\documents and settings\administrator\desktop\mesa\mesa2\mesa-7.8.1\include\gl\osmesa.h(266) : error C2146: syntax error : missing ';' before identifier 'OSMESAproc'</div>
<div>1>c:\documents and settings\administrator\desktop\mesa\mesa2\mesa-7.8.1\include\gl\osmesa.h(266) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int</div><div>1>c:\documents and settings\administrator\desktop\mesa\mesa2\mesa-7.8.1\include\gl\osmesa.h(266) : error C2086: 'int GLAPI' : redefinition</div>
<div>1> c:\documents and settings\administrator\desktop\mesa\mesa2\mesa-7.8.1\include\gl\osmesa.h(119) : see declaration of 'GLAPI'</div><div>1>c:\documents and settings\administrator\desktop\mesa\mesa2\mesa-7.8.1\include\gl\osmesa.h(267) : error C2146: syntax error : missing ';' before identifier 'OSMesaGetProcAddress'</div>
<div>1>c:\documents and settings\administrator\desktop\mesa\mesa2\mesa-7.8.1\include\gl\osmesa.h(267) : error C2373: 'GLAPIENTRY' : redefinition; different type modifiers</div><div>1> c:\documents and settings\administrator\desktop\mesa\mesa2\mesa-7.8.1\include\gl\osmesa.h(120) : see declaration of 'GLAPIENTRY'</div>
<div>1>c:\documents and settings\administrator\desktop\mesa\mesa2\mesa-7.8.1\include\gl\osmesa.h(267) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int</div><div>1>c:\documents and settings\administrator\desktop\mesa\mesa2\mesa-7.8.1\include\gl\osmesa.h(275) : error C2144: syntax error : 'void' should be preceded by ';'</div>
<div>1>c:\documents and settings\administrator\desktop\mesa\mesa2\mesa-7.8.1\include\gl\osmesa.h(275) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int</div><div>1>c:\documents and settings\administrator\desktop\mesa\mesa2\mesa-7.8.1\include\gl\osmesa.h(275) : error C2086: 'int GLAPI' : redefinition</div>
<div>1> c:\documents and settings\administrator\desktop\mesa\mesa2\mesa-7.8.1\include\gl\osmesa.h(119) : see declaration of 'GLAPI'</div><div>1>c:\documents and settings\administrator\desktop\mesa\mesa2\mesa-7.8.1\include\gl\osmesa.h(276) : error C2146: syntax error : missing ';' before identifier 'OSMesaColorClamp'</div>
<div>1>c:\documents and settings\administrator\desktop\mesa\mesa2\mesa-7.8.1\include\gl\osmesa.h(276) : error C2182: 'GLAPIENTRY' : illegal use of type 'void'</div><div>1>c:\documents and settings\administrator\desktop\mesa\mesa2\mesa-7.8.1\include\gl\osmesa.h(276) : error C2040: 'GLAPIENTRY' : 'int' differs in levels of indirection from 'OSMesaContext'</div>
<div>1>c:\documents and settings\administrator\desktop\mesa\mesa2\mesa-7.8.1\include\gl\osmesa.h(276) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int</div><div>1>c:\documents and settings\administrator\my documents\downloads\adobe after effects cs4 sdk\examples\effect\glator\glator.cpp(837) : error C2440: '=' : cannot convert from 'int' to 'OSMesaContext'</div>
<div>1> Conversion from integral type to pointer type requires reinterpret_cast, C-style cast or function-style cast</div><div>1>GL_base.cpp</div><div>1>c:\documents and settings\administrator\desktop\mesa\mesa2\mesa-7.8.1\include\gl\osmesa.h(119) : error C2146: syntax error : missing ';' before identifier 'OSMesaContext'</div>
<div>1>c:\documents and settings\administrator\desktop\mesa\mesa2\mesa-7.8.1\include\gl\osmesa.h(119) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int</div><div>1>c:\documents and settings\administrator\desktop\mesa\mesa2\mesa-7.8.1\include\gl\osmesa.h(120) : error C2146: syntax error : missing ';' before identifier 'OSMesaCreateContext'</div>
<div>1>c:\documents and settings\administrator\desktop\mesa\mesa2\mesa-7.8.1\include\gl\osmesa.h(120) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int</div><div>1>c:\documents and settings\administrator\desktop\mesa\mesa2\mesa-7.8.1\include\gl\osmesa.h(132) : error C2146: syntax error : missing ';' before identifier 'OSMesaContext'</div>
<div>1>c:\documents and settings\administrator\desktop\mesa\mesa2\mesa-7.8.1\include\gl\osmesa.h(132) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int</div><div>1>c:\documents and settings\administrator\desktop\mesa\mesa2\mesa-7.8.1\include\gl\osmesa.h(132) : error C2086: 'int GLAPI' : redefinition</div>
<div>1> c:\documents and settings\administrator\desktop\mesa\mesa2\mesa-7.8.1\include\gl\osmesa.h(119) : see declaration of 'GLAPI'</div><div>1>c:\documents and settings\administrator\desktop\mesa\mesa2\mesa-7.8.1\include\gl\osmesa.h(133) : error C2146: syntax error : missing ';' before identifier 'OSMesaCreateContextExt'</div>
<div>1>c:\documents and settings\administrator\desktop\mesa\mesa2\mesa-7.8.1\include\gl\osmesa.h(133) : error C2086: 'OSMesaContext GLAPIENTRY' : redefinition</div><div>1> c:\documents and settings\administrator\desktop\mesa\mesa2\mesa-7.8.1\include\gl\osmesa.h(120) : see declaration of 'GLAPIENTRY'</div>
<div>1>c:\documents and settings\administrator\desktop\mesa\mesa2\mesa-7.8.1\include\gl\osmesa.h(134) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int</div><div>1>c:\documents and settings\administrator\desktop\mesa\mesa2\mesa-7.8.1\include\gl\osmesa.h(142) : error C2144: syntax error : 'void' should be preceded by ';'</div>
<div>1>c:\documents and settings\administrator\desktop\mesa\mesa2\mesa-7.8.1\include\gl\osmesa.h(142) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int</div><div>1>c:\documents and settings\administrator\desktop\mesa\mesa2\mesa-7.8.1\include\gl\osmesa.h(142) : error C2086: 'int GLAPI' : redefinition</div>
<div>1> c:\documents and settings\administrator\desktop\mesa\mesa2\mesa-7.8.1\include\gl\osmesa.h(119) : see declaration of 'GLAPI'</div><div>1>c:\documents and settings\administrator\desktop\mesa\mesa2\mesa-7.8.1\include\gl\osmesa.h(143) : error C2146: syntax error : missing ';' before identifier 'OSMesaDestroyContext'</div>
<div>1>c:\documents and settings\administrator\desktop\mesa\mesa2\mesa-7.8.1\include\gl\osmesa.h(143) : error C2182: 'GLAPIENTRY' : illegal use of type 'void'</div><div>1>c:\documents and settings\administrator\desktop\mesa\mesa2\mesa-7.8.1\include\gl\osmesa.h(143) : error C2040: 'GLAPIENTRY' : 'int' differs in levels of indirection from 'OSMesaContext'</div>
<div>1>c:\documents and settings\administrator\desktop\mesa\mesa2\mesa-7.8.1\include\gl\osmesa.h(143) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int</div><div>1>c:\documents and settings\administrator\desktop\mesa\mesa2\mesa-7.8.1\include\gl\osmesa.h(174) : error C2146: syntax error : missing ';' before identifier 'GLboolean'</div>
<div>1>c:\documents and settings\administrator\desktop\mesa\mesa2\mesa-7.8.1\include\gl\osmesa.h(174) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int</div><div>1>c:\documents and settings\administrator\desktop\mesa\mesa2\mesa-7.8.1\include\gl\osmesa.h(174) : error C2086: 'int GLAPI' : redefinition</div>
<div>1> c:\documents and settings\administrator\desktop\mesa\mesa2\mesa-7.8.1\include\gl\osmesa.h(119) : see declaration of 'GLAPI'</div><div>1>c:\documents and settings\administrator\desktop\mesa\mesa2\mesa-7.8.1\include\gl\osmesa.h(175) : error C2146: syntax error : missing ';' before identifier 'OSMesaMakeCurrent'</div>
<div>1>c:\documents and settings\administrator\desktop\mesa\mesa2\mesa-7.8.1\include\gl\osmesa.h(175) : error C2040: 'GLAPIENTRY' : 'GLboolean' differs in levels of indirection from 'OSMesaContext'</div>
<div>1>c:\documents and settings\administrator\desktop\mesa\mesa2\mesa-7.8.1\include\gl\osmesa.h(176) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int</div><div>1>c:\documents and settings\administrator\desktop\mesa\mesa2\mesa-7.8.1\include\gl\osmesa.h(184) : error C2146: syntax error : missing ';' before identifier 'OSMesaContext'</div>
<div>1>c:\documents and settings\administrator\desktop\mesa\mesa2\mesa-7.8.1\include\gl\osmesa.h(184) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int</div><div>1>c:\documents and settings\administrator\desktop\mesa\mesa2\mesa-7.8.1\include\gl\osmesa.h(184) : error C2086: 'int GLAPI' : redefinition</div>
<div>1> c:\documents and settings\administrator\desktop\mesa\mesa2\mesa-7.8.1\include\gl\osmesa.h(119) : see declaration of 'GLAPI'</div><div>1>c:\documents and settings\administrator\desktop\mesa\mesa2\mesa-7.8.1\include\gl\osmesa.h(185) : error C2146: syntax error : missing ';' before identifier 'OSMesaGetCurrentContext'</div>
<div>1>c:\documents and settings\administrator\desktop\mesa\mesa2\mesa-7.8.1\include\gl\osmesa.h(185) : error C2086: 'OSMesaContext GLAPIENTRY' : redefinition</div><div>1> c:\documents and settings\administrator\desktop\mesa\mesa2\mesa-7.8.1\include\gl\osmesa.h(120) : see declaration of 'GLAPIENTRY'</div>
<div>1>c:\documents and settings\administrator\desktop\mesa\mesa2\mesa-7.8.1\include\gl\osmesa.h(185) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int</div><div>1>c:\documents and settings\administrator\desktop\mesa\mesa2\mesa-7.8.1\include\gl\osmesa.h(202) : error C2144: syntax error : 'void' should be preceded by ';'</div>
<div>1>c:\documents and settings\administrator\desktop\mesa\mesa2\mesa-7.8.1\include\gl\osmesa.h(202) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int</div><div>1>c:\documents and settings\administrator\desktop\mesa\mesa2\mesa-7.8.1\include\gl\osmesa.h(202) : error C2086: 'int GLAPI' : redefinition</div>
<div>1> c:\documents and settings\administrator\desktop\mesa\mesa2\mesa-7.8.1\include\gl\osmesa.h(119) : see declaration of 'GLAPI'</div><div>1>c:\documents and settings\administrator\desktop\mesa\mesa2\mesa-7.8.1\include\gl\osmesa.h(203) : error C2146: syntax error : missing ';' before identifier 'OSMesaPixelStore'</div>
<div>1>c:\documents and settings\administrator\desktop\mesa\mesa2\mesa-7.8.1\include\gl\osmesa.h(203) : error C2182: 'GLAPIENTRY' : illegal use of type 'void'</div><div>1>c:\documents and settings\administrator\desktop\mesa\mesa2\mesa-7.8.1\include\gl\osmesa.h(203) : error C2040: 'GLAPIENTRY' : 'int' differs in levels of indirection from 'OSMesaContext'</div>
<div>1>c:\documents and settings\administrator\desktop\mesa\mesa2\mesa-7.8.1\include\gl\osmesa.h(203) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int</div><div>1>c:\documents and settings\administrator\desktop\mesa\mesa2\mesa-7.8.1\include\gl\osmesa.h(218) : error C2144: syntax error : 'void' should be preceded by ';'</div>
<div>1>c:\documents and settings\administrator\desktop\mesa\mesa2\mesa-7.8.1\include\gl\osmesa.h(218) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int</div><div>1>c:\documents and settings\administrator\desktop\mesa\mesa2\mesa-7.8.1\include\gl\osmesa.h(218) : error C2086: 'int GLAPI' : redefinition</div>
<div>1> c:\documents and settings\administrator\desktop\mesa\mesa2\mesa-7.8.1\include\gl\osmesa.h(119) : see declaration of 'GLAPI'</div><div>1>c:\documents and settings\administrator\desktop\mesa\mesa2\mesa-7.8.1\include\gl\osmesa.h(219) : error C2146: syntax error : missing ';' before identifier 'OSMesaGetIntegerv'</div>
<div>1>c:\documents and settings\administrator\desktop\mesa\mesa2\mesa-7.8.1\include\gl\osmesa.h(219) : error C2182: 'GLAPIENTRY' : illegal use of type 'void'</div><div>1>c:\documents and settings\administrator\desktop\mesa\mesa2\mesa-7.8.1\include\gl\osmesa.h(219) : error C2040: 'GLAPIENTRY' : 'int' differs in levels of indirection from 'OSMesaContext'</div>
<div>1>c:\documents and settings\administrator\desktop\mesa\mesa2\mesa-7.8.1\include\gl\osmesa.h(219) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int</div><div>1>c:\documents and settings\administrator\desktop\mesa\mesa2\mesa-7.8.1\include\gl\osmesa.h(233) : error C2146: syntax error : missing ';' before identifier 'GLboolean'</div>
<div>1>c:\documents and settings\administrator\desktop\mesa\mesa2\mesa-7.8.1\include\gl\osmesa.h(233) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int</div><div>1>c:\documents and settings\administrator\desktop\mesa\mesa2\mesa-7.8.1\include\gl\osmesa.h(233) : error C2086: 'int GLAPI' : redefinition</div>
<div>1> c:\documents and settings\administrator\desktop\mesa\mesa2\mesa-7.8.1\include\gl\osmesa.h(119) : see declaration of 'GLAPI'</div><div>1>c:\documents and settings\administrator\desktop\mesa\mesa2\mesa-7.8.1\include\gl\osmesa.h(234) : error C2146: syntax error : missing ';' before identifier 'OSMesaGetDepthBuffer'</div>
<div>1>c:\documents and settings\administrator\desktop\mesa\mesa2\mesa-7.8.1\include\gl\osmesa.h(234) : error C2040: 'GLAPIENTRY' : 'GLboolean' differs in levels of indirection from 'OSMesaContext'</div>
<div>1>c:\documents and settings\administrator\desktop\mesa\mesa2\mesa-7.8.1\include\gl\osmesa.h(235) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int</div><div>1>c:\documents and settings\administrator\desktop\mesa\mesa2\mesa-7.8.1\include\gl\osmesa.h(249) : error C2146: syntax error : missing ';' before identifier 'GLboolean'</div>
<div>1>c:\documents and settings\administrator\desktop\mesa\mesa2\mesa-7.8.1\include\gl\osmesa.h(249) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int</div><div>1>c:\documents and settings\administrator\desktop\mesa\mesa2\mesa-7.8.1\include\gl\osmesa.h(249) : error C2086: 'int GLAPI' : redefinition</div>
<div>1> c:\documents and settings\administrator\desktop\mesa\mesa2\mesa-7.8.1\include\gl\osmesa.h(119) : see declaration of 'GLAPI'</div><div>1>c:\documents and settings\administrator\desktop\mesa\mesa2\mesa-7.8.1\include\gl\osmesa.h(250) : error C2146: syntax error : missing ';' before identifier 'OSMesaGetColorBuffer'</div>
<div>1>c:\documents and settings\administrator\desktop\mesa\mesa2\mesa-7.8.1\include\gl\osmesa.h(250) : error C2040: 'GLAPIENTRY' : 'GLboolean' differs in levels of indirection from 'OSMesaContext'</div>
<div>1>c:\documents and settings\administrator\desktop\mesa\mesa2\mesa-7.8.1\include\gl\osmesa.h(251) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int</div><div>1>c:\documents and settings\administrator\desktop\mesa\mesa2\mesa-7.8.1\include\gl\osmesa.h(266) : error C2146: syntax error : missing ';' before identifier 'OSMESAproc'</div>
<div>1>c:\documents and settings\administrator\desktop\mesa\mesa2\mesa-7.8.1\include\gl\osmesa.h(266) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int</div><div>1>c:\documents and settings\administrator\desktop\mesa\mesa2\mesa-7.8.1\include\gl\osmesa.h(266) : error C2086: 'int GLAPI' : redefinition</div>
<div>1> c:\documents and settings\administrator\desktop\mesa\mesa2\mesa-7.8.1\include\gl\osmesa.h(119) : see declaration of 'GLAPI'</div><div>1>c:\documents and settings\administrator\desktop\mesa\mesa2\mesa-7.8.1\include\gl\osmesa.h(267) : error C2146: syntax error : missing ';' before identifier 'OSMesaGetProcAddress'</div>
<div>1>c:\documents and settings\administrator\desktop\mesa\mesa2\mesa-7.8.1\include\gl\osmesa.h(267) : error C2373: 'GLAPIENTRY' : redefinition; different type modifiers</div><div>1> c:\documents and settings\administrator\desktop\mesa\mesa2\mesa-7.8.1\include\gl\osmesa.h(120) : see declaration of 'GLAPIENTRY'</div>
<div>1>c:\documents and settings\administrator\desktop\mesa\mesa2\mesa-7.8.1\include\gl\osmesa.h(267) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int</div><div>1>c:\documents and settings\administrator\desktop\mesa\mesa2\mesa-7.8.1\include\gl\osmesa.h(275) : error C2144: syntax error : 'void' should be preceded by ';'</div>
<div>1>c:\documents and settings\administrator\desktop\mesa\mesa2\mesa-7.8.1\include\gl\osmesa.h(275) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int</div><div>1>c:\documents and settings\administrator\desktop\mesa\mesa2\mesa-7.8.1\include\gl\osmesa.h(275) : error C2086: 'int GLAPI' : redefinition</div>
<div>1> c:\documents and settings\administrator\desktop\mesa\mesa2\mesa-7.8.1\include\gl\osmesa.h(119) : see declaration of 'GLAPI'</div><div>1>c:\documents and settings\administrator\desktop\mesa\mesa2\mesa-7.8.1\include\gl\osmesa.h(276) : error C2146: syntax error : missing ';' before identifier 'OSMesaColorClamp'</div>
<div>1>c:\documents and settings\administrator\desktop\mesa\mesa2\mesa-7.8.1\include\gl\osmesa.h(276) : error C2182: 'GLAPIENTRY' : illegal use of type 'void'</div><div>1>c:\documents and settings\administrator\desktop\mesa\mesa2\mesa-7.8.1\include\gl\osmesa.h(276) : error C2040: 'GLAPIENTRY' : 'int' differs in levels of indirection from 'OSMesaContext'</div>
<div>1>c:\documents and settings\administrator\desktop\mesa\mesa2\mesa-7.8.1\include\gl\osmesa.h(276) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int</div></div>
</div><br><br clear="all"><br>-- <br>regards,<br>Satya G Meka.<br>