Discussion:
[osg-users] [osgPlugins] osg3.6.3 plugin issues
Jai Singla
2018-10-18 06:35:16 UTC
Permalink
Hi,

I have built osg3.6.3 with VS2017 and newer dependencies
https://download.osgvisual.org/3rdParty_VS2017_v141_x64_V11_small.7z

and it is successfully built. but, osgviewer --image *.png, *.tiff etc. does not work ?? pls help


...

Thank you!

Cheers,
Jai

------------------
Read this topic online here:
http://forum.openscenegraph.org/viewtopic.php?p=75089#75089
Robert Osfield
2018-10-18 09:26:43 UTC
Permalink
Post by Jai Singla
I have built osg3.6.3 with VS2017 and newer dependencies
https://download.osgvisual.org/3rdParty_VS2017_v141_x64_V11_small.7z
and it is successfully built. but, osgviewer --image *.png, *.tiff etc.
does not work ?? pls help
I'm not a Windows user so can't comment on platform specifics, I can
provide some general pointers.

First up, check whether your build has built the plugins - there should a
bin/osgPlugins-3.6.3 directory (it might be lib/osgPlugins-3.6.3)
containing dll's in the form of osgdb_*.dll, this should contain the
osgdb_png.dll if the png plugin compiled.

If the plugin has built then it's likely that the you haven't installed the
OSG's built libs and dll's or haven't set a path to directory that
osgPlugins-3.6.3 is installed to so that the OSG can find them. I think
it's PATH env var under Windows is used to point where to search (it's a
few years since I touched Windows.)

To help find where the OSG is looking set the env var OSG_NOTIFY_LEVEL to
INFO and then have a look at the console output. This might help show you
where it's looking.

Robert.

Loading...