Hi Devs,<br><br>As far as I remember the graphics sandbox have already been merged back in trunk including the new Cairo and OpenGL renderers.<br>However the trunk cannot be compiled with OpenGL support at the moment. By using MSVC2003 I get the following errors:<br>
<br><pre>mapogl.cpp(225) : error C2440: &#39;=&#39; : cannot convert from &#39;void (__cdecl *)(imageObj *,shapeObj *,colorObj *,double,int,double *)&#39; to &#39;void (__cdecl *)(imageObj *,shapeObj *,strokeStyleObj *)&#39;<br>
        This conversion requires a reinterpret_cast, a C-style cast or function-style cast<br>mapogl.cpp(227) : error C2440: &#39;=&#39; : cannot convert from &#39;int (__cdecl *)(imageObj *,char *,outputFormatObj *)&#39; to &#39;int (__cdecl *)(imageObj *,FILE *,outputFormatObj *)&#39;<br>
        This conversion requires a reinterpret_cast, a C-style cast or function-style cast<br>mapogl.cpp(229) : error C2440: &#39;=&#39; : cannot convert from &#39;void (__cdecl *)(imageObj *,shapeObj *,colorObj *,colorObj *,double)&#39; to &#39;void (__cdecl *)(imageObj *,shapeObj *,colorObj *)&#39;<br>
        This conversion requires a reinterpret_cast, a C-style cast or function-style cast<br>mapogl.cpp(230) : error C2440: &#39;=&#39; : cannot convert from &#39;void (__cdecl *)(imageObj *,double,double,colorObj *,colorObj *,double,char *,char *,double,colorObj *,double,double,int)&#39; to &#39;void (__cdecl *)(imageObj *,double,double,labelStyleObj *,char *)&#39;<br>
        This conversion requires a reinterpret_cast, a C-style cast or function-style cast<br>mapogl.cpp(231) : error C2440: &#39;=&#39; : cannot convert from &#39;void (__cdecl *)(imageObj *,double,double,double,double,double,colorObj *,colorObj *,double)&#39; to &#39;void (__cdecl *)(imageObj *,double,double,symbolObj *,symbolStyleObj *)&#39;<br>
        This conversion requires a reinterpret_cast, a C-style cast or function-style cast<br>mapogl.cpp(232) : error C2440: &#39;=&#39; : cannot convert from &#39;void (__cdecl *)(imageObj *,double,double,symbolObj *,double,double,colorObj *,colorObj *,double)&#39; to &#39;void (__cdecl *)(imageObj *,double,double,symbolObj *,symbolStyleObj *)&#39;<br>
        This conversion requires a reinterpret_cast, a C-style cast or function-style cast<br>mapogl.cpp(233) : error C2440: &#39;=&#39; : cannot convert from &#39;void (__cdecl *)(imageObj *,double,double,symbolObj *,double,double)&#39; to &#39;void (__cdecl *)(imageObj *,double,double,symbolObj *,symbolStyleObj *)&#39;<br>
        This conversion requires a reinterpret_cast, a C-style cast or function-style cast<br>mapogl.cpp(234) : error C2440: &#39;=&#39; : cannot convert from &#39;void (__cdecl *)(imageObj *,imageObj *,int,int,int)&#39; to &#39;void (__cdecl *)(imageObj *,rasterBufferObj *,double,int,int)&#39;<br>
        This conversion requires a reinterpret_cast, a C-style cast or function-style cast<br>mapogl.cpp(236) : error C2440: &#39;=&#39; : cannot convert from &#39;void *(__cdecl *)(symbolObj *,double,double,colorObj *)&#39; to &#39;void *(__cdecl *)(int,int,symbolObj *,symbolStyleObj *)&#39;<br>
        This conversion requires a reinterpret_cast, a C-style cast or function-style cast<br>mapogl.cpp(237) : error C2440: &#39;=&#39; : cannot convert from &#39;void *(__cdecl *)(symbolObj *,double,double,colorObj *,colorObj *,colorObj *,double)&#39; to &#39;void *(__cdecl *)(int,int,symbolObj *,symbolStyleObj *)&#39;<br>
        This conversion requires a reinterpret_cast, a C-style cast or function-style cast<br>mapogl.cpp(238) : error C2440: &#39;=&#39; : cannot convert from &#39;void *(__cdecl *)(double,double,double,colorObj *,colorObj *,colorObj *,double)&#39; to &#39;void *(__cdecl *)(int,int,symbolObj *,symbolStyleObj *)&#39;<br>
        This conversion requires a reinterpret_cast, a C-style cast or function-style cast<br>mapogl.cpp(239) : error C2440: &#39;=&#39; : cannot convert from &#39;void *(__cdecl *)(imageObj *,char *,char *,double,double,colorObj *,colorObj *,colorObj *,double)&#39; to &#39;void *(__cdecl *)(int,int,symbolObj *,symbolStyleObj *)&#39;<br>
        This conversion requires a reinterpret_cast, a C-style cast or function-style cast<br>mapogl.cpp(240) : error C2440: &#39;=&#39; : cannot convert from &#39;void (__cdecl *)(imageObj *,void *,double,double,double)&#39; to &#39;void (__cdecl *)(imageObj *,imageObj *,double,double)&#39;<br>
        This conversion requires a reinterpret_cast, a C-style cast or function-style cast<br>mapogl.cpp(241) : error C2440: &#39;=&#39; : cannot convert from &#39;void (__cdecl *)(imageObj *,shapeObj *,colorObj *,double,void *)&#39; to &#39;void (__cdecl *)(imageObj *,shapeObj *,imageObj *)&#39;<br>
        This conversion requires a reinterpret_cast, a C-style cast or function-style cast<br>mapogl.cpp(242) : error C2440: &#39;=&#39; : cannot convert from &#39;void (__cdecl *)(imageObj *,shapeObj *,void *)&#39; to &#39;void (__cdecl *)(imageObj *,shapeObj *,imageObj *)&#39;<br>
        This conversion requires a reinterpret_cast, a C-style cast or function-style cast<br>mapogl.cpp(243) : error C2440: &#39;=&#39; : cannot convert from &#39;void (__cdecl *)(void *)&#39; to &#39;void (__cdecl *)(imageObj *)&#39;<br>
        This conversion requires a reinterpret_cast, a C-style cast or function-style cast<br></pre> <br>In the graphics sandbox I&#39;ve already fixed up some things in order to compile, but I&#39;m totally unsure whether this stuff is working or not. <br>
Binary packages were provided for this stuff for testing at: <a href="http://trac.osgeo.org/mapserver/browser/sandbox/graphics">http://trac.osgeo.org/mapserver/browser/sandbox/graphics</a><br><br>Could someone confirm whether this OpenGL stuff is something that worth to deal with, or this line is completely neglected an will eventually be removed from the codebase?<br>
<br>Thanks, for any further info,<br><br>Best regards,<br><br>Tamas<br><br><br><br><br><br>