[mapserver-dev] Re: MapServer trunk and OpenGL support (how do we
stand with this?)
Tamas Szekeres
szekerest at gmail.com
Thu Jul 30 15:03:14 EDT 2009
Sorry, I wanted to mention the following link for the Cairo and OGL Windows
binary packages in the previous post:
http://vbkto.dyndns.org:1280/sdk/Default.aspx
Tamas
2009/7/30 Tamas Szekeres <szekerest at gmail.com>
> Hi Devs,
>
> As far as I remember the graphics sandbox have already been merged back in
> trunk including the new Cairo and OpenGL renderers.
> However the trunk cannot be compiled with OpenGL support at the moment. By
> using MSVC2003 I get the following errors:
>
> mapogl.cpp(225) : error C2440: '=' : cannot convert from 'void (__cdecl *)(imageObj *,shapeObj *,colorObj *,double,int,double *)' to 'void (__cdecl *)(imageObj *,shapeObj *,strokeStyleObj *)'
>
> This conversion requires a reinterpret_cast, a C-style cast or function-style cast
> mapogl.cpp(227) : error C2440: '=' : cannot convert from 'int (__cdecl *)(imageObj *,char *,outputFormatObj *)' to 'int (__cdecl *)(imageObj *,FILE *,outputFormatObj *)'
>
> This conversion requires a reinterpret_cast, a C-style cast or function-style cast
> mapogl.cpp(229) : error C2440: '=' : cannot convert from 'void (__cdecl *)(imageObj *,shapeObj *,colorObj *,colorObj *,double)' to 'void (__cdecl *)(imageObj *,shapeObj *,colorObj *)'
>
> This conversion requires a reinterpret_cast, a C-style cast or function-style cast
> 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 *)'
>
> This conversion requires a reinterpret_cast, a C-style cast or function-style cast
> 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 *)'
>
> This conversion requires a reinterpret_cast, a C-style cast or function-style cast
> 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 *)'
>
> This conversion requires a reinterpret_cast, a C-style cast or function-style cast
> mapogl.cpp(233) : error C2440: '=' : cannot convert from 'void (__cdecl *)(imageObj *,double,double,symbolObj *,double,double)' to 'void (__cdecl *)(imageObj *,double,double,symbolObj *,symbolStyleObj *)'
>
> This conversion requires a reinterpret_cast, a C-style cast or function-style cast
> mapogl.cpp(234) : error C2440: '=' : cannot convert from 'void (__cdecl *)(imageObj *,imageObj *,int,int,int)' to 'void (__cdecl *)(imageObj *,rasterBufferObj *,double,int,int)'
>
> This conversion requires a reinterpret_cast, a C-style cast or function-style cast
> mapogl.cpp(236) : error C2440: '=' : cannot convert from 'void *(__cdecl *)(symbolObj *,double,double,colorObj *)' to 'void *(__cdecl *)(int,int,symbolObj *,symbolStyleObj *)'
>
> This conversion requires a reinterpret_cast, a C-style cast or function-style cast
> mapogl.cpp(237) : error C2440: '=' : cannot convert from 'void *(__cdecl *)(symbolObj *,double,double,colorObj *,colorObj *,colorObj *,double)' to 'void *(__cdecl *)(int,int,symbolObj *,symbolStyleObj *)'
>
> This conversion requires a reinterpret_cast, a C-style cast or function-style cast
> mapogl.cpp(238) : error C2440: '=' : cannot convert from 'void *(__cdecl *)(double,double,double,colorObj *,colorObj *,colorObj *,double)' to 'void *(__cdecl *)(int,int,symbolObj *,symbolStyleObj *)'
>
> This conversion requires a reinterpret_cast, a C-style cast or function-style cast
> 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 *)'
>
> This conversion requires a reinterpret_cast, a C-style cast or function-style cast
> mapogl.cpp(240) : error C2440: '=' : cannot convert from 'void (__cdecl *)(imageObj *,void *,double,double,double)' to 'void (__cdecl *)(imageObj *,imageObj *,double,double)'
>
> This conversion requires a reinterpret_cast, a C-style cast or function-style cast
> mapogl.cpp(241) : error C2440: '=' : cannot convert from 'void (__cdecl *)(imageObj *,shapeObj *,colorObj *,double,void *)' to 'void (__cdecl *)(imageObj *,shapeObj *,imageObj *)'
>
> This conversion requires a reinterpret_cast, a C-style cast or function-style cast
> mapogl.cpp(242) : error C2440: '=' : cannot convert from 'void (__cdecl *)(imageObj *,shapeObj *,void *)' to 'void (__cdecl *)(imageObj *,shapeObj *,imageObj *)'
>
> This conversion requires a reinterpret_cast, a C-style cast or function-style cast
> mapogl.cpp(243) : error C2440: '=' : cannot convert from 'void (__cdecl *)(void *)' to 'void (__cdecl *)(imageObj *)'
>
> This conversion requires a reinterpret_cast, a C-style cast or function-style cast
>
>
> 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.
> Binary packages were provided for this stuff for testing at:
> http://trac.osgeo.org/mapserver/browser/sandbox/graphics
>
> 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?
>
> Thanks, for any further info,
>
> Best regards,
>
> Tamas
>
>
>
>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/mapserver-dev/attachments/20090730/03094289/attachment.html
More information about the mapserver-dev
mailing list