Sorry, I wanted to mention the following link for the Cairo and OGL Windows binary packages in the previous post: <a href="http://vbkto.dyndns.org:1280/sdk/Default.aspx">http://vbkto.dyndns.org:1280/sdk/Default.aspx</a><br>
<br>Tamas<br><br><br><br><div class="gmail_quote">2009/7/30 Tamas Szekeres <span dir="ltr"><<a href="mailto:szekerest@gmail.com">szekerest@gmail.com</a>></span><br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
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: '=' : cannot convert from 'void (__cdecl *)(imageObj *,shapeObj *,colorObj *,double,int,double *)' to 'void (__cdecl *)(imageObj *,shapeObj *,strokeStyleObj *)'<br>
This conversion requires a reinterpret_cast, a C-style cast or function-style cast<br>mapogl.cpp(227) : error C2440: '=' : cannot convert from 'int (__cdecl *)(imageObj *,char *,outputFormatObj *)' to 'int (__cdecl *)(imageObj *,FILE *,outputFormatObj *)'<br>
This conversion requires a reinterpret_cast, a C-style cast or function-style cast<br>mapogl.cpp(229) : error C2440: '=' : cannot convert from 'void (__cdecl *)(imageObj *,shapeObj *,colorObj *,colorObj *,double)' to 'void (__cdecl *)(imageObj *,shapeObj *,colorObj *)'<br>
This conversion requires a reinterpret_cast, a C-style cast or function-style cast<br>mapogl.cpp(230) : error C2440: '=' : cannot convert from 'void (__cdecl *)(imageObj *,double,double,colorObj *,colorObj *,double,char *,char *,double,colorObj *,double,double,int)' to 'void (__cdecl *)(imageObj *,double,double,labelStyleObj *,char *)'<br>
This conversion requires a reinterpret_cast, a C-style cast or function-style cast<br>mapogl.cpp(231) : error C2440: '=' : cannot convert from 'void (__cdecl *)(imageObj *,double,double,double,double,double,colorObj *,colorObj *,double)' to 'void (__cdecl *)(imageObj *,double,double,symbolObj *,symbolStyleObj *)'<br>
This conversion requires a reinterpret_cast, a C-style cast or function-style cast<br>mapogl.cpp(232) : error C2440: '=' : cannot convert from 'void (__cdecl *)(imageObj *,double,double,symbolObj *,double,double,colorObj *,colorObj *,double)' to 'void (__cdecl *)(imageObj *,double,double,symbolObj *,symbolStyleObj *)'<br>
This conversion requires a reinterpret_cast, a C-style cast or function-style cast<br>mapogl.cpp(233) : error C2440: '=' : cannot convert from 'void (__cdecl *)(imageObj *,double,double,symbolObj *,double,double)' to 'void (__cdecl *)(imageObj *,double,double,symbolObj *,symbolStyleObj *)'<br>
This conversion requires a reinterpret_cast, a C-style cast or function-style cast<br>mapogl.cpp(234) : error C2440: '=' : cannot convert from 'void (__cdecl *)(imageObj *,imageObj *,int,int,int)' to 'void (__cdecl *)(imageObj *,rasterBufferObj *,double,int,int)'<br>
This conversion requires a reinterpret_cast, a C-style cast or function-style cast<br>mapogl.cpp(236) : error C2440: '=' : cannot convert from 'void *(__cdecl *)(symbolObj *,double,double,colorObj *)' to 'void *(__cdecl *)(int,int,symbolObj *,symbolStyleObj *)'<br>
This conversion requires a reinterpret_cast, a C-style cast or function-style cast<br>mapogl.cpp(237) : error C2440: '=' : cannot convert from 'void *(__cdecl *)(symbolObj *,double,double,colorObj *,colorObj *,colorObj *,double)' to 'void *(__cdecl *)(int,int,symbolObj *,symbolStyleObj *)'<br>
This conversion requires a reinterpret_cast, a C-style cast or function-style cast<br>mapogl.cpp(238) : error C2440: '=' : cannot convert from 'void *(__cdecl *)(double,double,double,colorObj *,colorObj *,colorObj *,double)' to 'void *(__cdecl *)(int,int,symbolObj *,symbolStyleObj *)'<br>
This conversion requires a reinterpret_cast, a C-style cast or function-style cast<br>mapogl.cpp(239) : error C2440: '=' : cannot convert from 'void *(__cdecl *)(imageObj *,char *,char *,double,double,colorObj *,colorObj *,colorObj *,double)' to 'void *(__cdecl *)(int,int,symbolObj *,symbolStyleObj *)'<br>
This conversion requires a reinterpret_cast, a C-style cast or function-style cast<br>mapogl.cpp(240) : error C2440: '=' : cannot convert from 'void (__cdecl *)(imageObj *,void *,double,double,double)' to 'void (__cdecl *)(imageObj *,imageObj *,double,double)'<br>
This conversion requires a reinterpret_cast, a C-style cast or function-style cast<br>mapogl.cpp(241) : error C2440: '=' : cannot convert from 'void (__cdecl *)(imageObj *,shapeObj *,colorObj *,double,void *)' to 'void (__cdecl *)(imageObj *,shapeObj *,imageObj *)'<br>
This conversion requires a reinterpret_cast, a C-style cast or function-style cast<br>mapogl.cpp(242) : error C2440: '=' : cannot convert from 'void (__cdecl *)(imageObj *,shapeObj *,void *)' to 'void (__cdecl *)(imageObj *,shapeObj *,imageObj *)'<br>
This conversion requires a reinterpret_cast, a C-style cast or function-style cast<br>mapogl.cpp(243) : error C2440: '=' : cannot convert from 'void (__cdecl *)(void *)' to 'void (__cdecl *)(imageObj *)'<br>
This conversion requires a reinterpret_cast, a C-style cast or function-style cast<br></pre> <br>In the graphics sandbox I've already fixed up some things in order to compile, but I'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" target="_blank">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><font color="#888888"><br>Tamas<br><br><br><br><br><br>
</font></blockquote></div><br>