Hi Robert,
There are some build bugs under VS 2005, OGR plugin. How can i fix it, or
what should i install to build correctly?
missing.... CPL_STDCALL
#ifndef CPL_STDCALL
#if defined(_MSC_VER) && !defined(CPL_DISABLE_STDCALL)
# define CPL_STDCALL __stdcall
#else
# define CPL_STDCALL
#endif
#endif
MISSING CPL ...
class ReaderWriterOGR : public osgDB::ReaderWriter
{
public:
ReaderWriterOGR()
{
supportsExtension("ogr","OGR file reader");
supportsOption("useRandomColorByFeature", "Assign a random color to
each feature.");
supportsOption("addGroupPerFeature", "Places each feature in a
seperate group.");
--> oldHandler = CPLSetErrorHandler(CPLOSGErrorHandler);
}
virtual ~ReaderWriterOGR()
{
--> CPLSetErrorHandler(oldHandler);
}
/regards
Adrian
--
********************************************
Adrian Egli
_______________________________________________
osg-users mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org