Hi Ralf, I am just heading offline as I have a crazy weekend ahead - I'm racing a 95 mile trail running race, the West Highland Way Race, tomorrow :-)
I'll catch up on Monday. Robert. On 17 June 2016 at 17:10, Ralf Habacker <[email protected]> wrote: > > > Am 14.06.2016 um 12:00 schrieb Robert Osfield: >> -- >> On the issue about osgviewer not robustly handling -O, the options is >> something that has been of add on rather than a full blown >> implementation. The command line parsing that osgviewer and the rest >> of the example provide is not meant to be a be all and end of command >> line parsing. Even osgviewer is really just an example. Given this >> I'm not too worried about it not supporting all the combination you >> might be able to come up with w.r.t individual O options. >> >> Personally I'd not try to make things too sophisticated, examples are >> example not full blown applications. > Unfortunally osgviewer is build and installed by all distributions as > default in the opposite to examples from example subdirs, which need to > be enabled on cmake configure time and are packaged separately. > For example opensuse shows: > > i | Application:Geo | > OpenSceneGraph > | 3.4.0-15.8 | x86_64 > i | Application:Geo | > OpenSceneGraph-examples > | 3.4.0-15.8 | x86_64 > i | Application:Geo | > OpenSceneGraph-plugins > | 3.4.0-15.8 | x86_64 > > xxx@yyy:~/src/openscenegraph> rpm -q -l OpenSceneGraph > /usr/bin/osg2cpp > /usr/bin/osgarchive > /usr/bin/osgconv > /usr/bin/osgfilecache > /usr/bin/osgversion > /usr/bin/osgviewer > /usr/bin/present3D > /usr/share/doc/packages/OpenSceneGraph > /usr/share/doc/packages/OpenSceneGraph/AUTHORS.txt > /usr/share/doc/packages/OpenSceneGraph/ChangeLog > /usr/share/doc/packages/OpenSceneGraph/LICENSE.txt > /usr/share/doc/packages/OpenSceneGraph/NEWS.txt > /usr/share/doc/packages/OpenSceneGraph/README.txt > > osgviewer --help prints out the following text for object cache support > > --enable-object-cache > > Enable caching of objects, images, etc. > > Caused by the recent implementation of handling -O this command line > switch is broken and does not work. (The switch is parsed in > Viewer::Viewer(osg::ArgumentParser& arguments) and is overwritten in > osgDB::Registry::readCommandLine().) > > Ralf > > _______________________________________________ > osg-submissions mailing list > [email protected] > http://lists.openscenegraph.org/listinfo.cgi/osg-submissions-openscenegraph.org _______________________________________________ osg-submissions mailing list [email protected] http://lists.openscenegraph.org/listinfo.cgi/osg-submissions-openscenegraph.org
