Hi Adrian, I'm afraid there is nothing I personally can to about this build issue - Windows developers who can reproduce the problem will need to look at it and solve it. The thing I'd look into first would be the roll of the CPL_STDCALL macro. I didn't write this plugin so I can't comment on why the macro is there, whether it's needed etc. As I said it'll need to be Windows developers that will have to tackle this.
Good luck, Robert. On Fri, Jun 19, 2009 at 8:35 AM, Adrian Egli OpenSceneGraph (3D)<[email protected]> wrote: > Hi Robert, > > VS 2003 -> build error with ogr plugin > VS 2005 -> build ok > > ------ Build started: Project: Plugins ogr, Configuration: Release Win32 > ------ > > Compiling... > ReaderWriterOGR.cpp > ReaderWriterOGR.cpp(41) : error C2146: syntax error : missing ';' before > identifier 'CPLOSGErrorHandler' > C:\dev\OpenSceneGraphSVN\OpenSceneGraph\include\osg\Node(334) : see > reference to class template instantiation 'osg::BoundingBoxImpl<VT>' being > compiled > with > [ > VT=osg::Vec3f > ] > C:\dev\OpenSceneGraphSVN\OpenSceneGraph\include\osg\Node(334) : see > reference to class template instantiation 'osg::BoundingBoxImpl<VT>' being > compiled > with > [ > VT=osg::Vec3f > ] > C:\dev\OpenSceneGraphSVN\OpenSceneGraph\include\osg\Node(334) : see > reference to class template instantiation 'osg::BoundingBoxImpl<VT>' being > compiled > with > [ > VT=osg::Vec3f > ] > C:\dev\OpenSceneGraphSVN\OpenSceneGraph\include\osg\Node(332) : see > reference to class template instantiation 'osg::BoundingBoxImpl<VT>' being > compiled > with > [ > VT=osg::Vec3f > ] > C:\dev\OpenSceneGraphSVN\OpenSceneGraph\include\osg\Node(332) : see > reference to class template instantiation 'osg::BoundingBoxImpl<VT>' being > compiled > with > [ > VT=osg::Vec3f > ] > C:\dev\OpenSceneGraphSVN\OpenSceneGraph\include\osg\Node(332) : see > reference to class template instantiation 'osg::BoundingBoxImpl<VT>' being > compiled > with > [ > VT=osg::Vec3f > ] > ReaderWriterOGR.cpp(41) : error C2182: 'CPL_STDCALL' : illegal use of type > 'void' > ReaderWriterOGR.cpp(50) : warning C4508: 'CPLOSGErrorHandler' : function > should return a value; 'void' return type assumed > > Build log was saved at > "file://c:\dev\OpenSceneGraphSVN\OpenSceneGraph\src\osgPlugins\ogr\osgdb_ogr.dir\Release\BuildLog.htm" > Plugins ogr - 2 error(s), 1 warning(s) > > regards > adrian > > 2009/5/12 Robert Osfield <[email protected]> >> >> On Tue, May 12, 2009 at 1:02 PM, Adrian Egli OpenSceneGraph (3D) >> <[email protected]> wrote: >> > Hi Robert, >> > >> > Which OGR Version does the plugin use? Or does it need the OGR Frame >> > work >> > installed. >> >> I've alway got OGR as part of GDAL, the current version of GDAL I have >> is 1.5.2. I haven't heared of OGR Frame work before so can't comment >> on this. >> >> You haven't specified either the version or the error you are getting. >> There really isn't much we can do on your behalf without more info >> about how/where you got OGR from. >> >> Robert. >> _______________________________________________ >> 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 > > _______________________________________________ osg-users mailing list [email protected] http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

