Hi Robert,

Which OGR Version does the plugin use? Or does it need the OGR Frame work
installed.

/adrian

2009/5/11 Robert Osfield <[email protected]>

> Hi Adrian,
>
> I haven't head of build errors with the ogr plugin before.  Could you
> be specific about which version of the OSG and OGR you are using and
> the error you see.
>
> Perhaps other Windows users who've built the OGR can suggest what
> might be wrong.
>
> Robert.
>
> On Mon, May 11, 2009 at 8:14 PM, Adrian Egli OpenSceneGraph (3D)
> <[email protected]> wrote:
> > 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
> >
> >
> _______________________________________________
> osg-users mailing list
> [email protected]
> http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
>



-- 
********************************************
Adrian Egli
_______________________________________________
osg-users mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

Reply via email to