Hi Bob, How far have you got with porting? BTW, could you try working on at least OSG-3.2.1, or preferably the svn/trunk so that you are testing against the latest OSG - this is also where any fixes you have will be checked in.
Retaining backwards compatibility with compiling against GDAL-1.x is important as lot of others users will have this on their systems. Cheers, Robert. On 14 January 2015 at 07:16, Bob Moskovitz <bobd...@gmail.com> wrote: > Hi, > > This is information I got from the GDAL devs: > > > <cgs_bob> hello all. I was trying to compile OpenSceneGraph-3.0.1 > and got this error http://pastebin.com/raw.php?i=c1MAC1rQ . Is this > related to api changes in GDAL 2.0? How do I fix it? > > <EvenR> cgs_bob: yes. see > http://svn.osgeo.org/gdal/trunk/gdal/MIGRATION_GUIDE.TXT > > <cgs_bob> EvenR: thanks for the tip. I'll give it a try > > <EvenR> using OGROpen(), and the C API, if you want it to be > compabile with both GDAL 1.X and 2.X is probably the best solution > > <EvenR> I guess this will bite a few people, but would have been > awkward to let that as a left-over > > <cgs_bob> I'll have to see what requires the least amount of work. > > <cgs_bob> EvenR: OpenSceneGraph is a C++ library. How could I use > the OGROpen(), and the C API to solve this compiler error? > > <EvenR> this is described in http://gdal.org/ogr_apitut.html (or > http://gdal.org/1.11/ogr/ogr_apitut.html if you want GDAL 1.X > compatibilty as well) > > > > The pastebin url refers to the error message in the first post. > Thank you! > > Cheers, > Bob[/quote][/url] > > ------------------ > Read this topic online here: > http://forum.openscenegraph.org/viewtopic.php?p=62313#62313 > > > > > > _______________________________________________ > osg-users mailing list > osg-users@lists.openscenegraph.org > http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org >
_______________________________________________ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org