Hi,

  just guessing, perhaps adding OSG_ROOT (and or osgPlugins-2.2.0) to
environment PATH may help?

Good luck!

2007/11/29, Will Sistar <[EMAIL PROTECTED]>:
>
> I am a new user and am trying to use osgviewer (specifically osgviewer
> cow.osg).  I have not built OSG; I used the Win32 Binaries Installer.  I
> set the paths as I found in Getting Started and I modified the
> osgShell.bat file to turn on debugging. When the osgshell starts it prints
> out this:
>
> OSG_ROOT = C:\Program Files\OpenSceneGraph
> OSG_FILE_PATH = C:\OpenSceneGraph-Data
> OSG_NOTIFY_LEVEL = DEBUG
>
> after typing in "osgviewer cow.osg" part of what I get follows:
>
> itr='C:\Program Files\OpenSceneGraph\bin'
> FindFileInPath() : trying C:\Program Files\OpenSceneGraph\bin\osgPlugins-
> 2.2.0\osgdb_osg.dll ...
> FindFileInPath() : USING C:\Program Files\OpenSceneGraph\bin\osgPlugins-
> 2.2.0\osgdb_osg.dll
> DynamicLibrary::failed loading " osgPlugins-2.2.0/osgdb_osg.dll"
> Warning: Could not find plugin to read objects from file "cow.osg".
> osgviewer: No data loaded
>
> The dll is in the osgPlugins-2.2.0 directory as it should be, as I read in
> a previous post similar to this.
>
> I noticed that I could load the library manually so I copied the
> osgdb_osg.dll to the bin directory and typed
> "osgviewer -l osgdb_osg.dll cow.osg" and it worked. (sort of, it didn't
> load the osgdg_rgb.dll although it tried like above)
>
> itr='C:\Program Files\OpenSceneGraph\bin'
> FindFileInPath() : trying C:\Program
> Files\OpenSceneGraph\bin\osgdb_osg.dll ...
> FindFileInPath() : USING C:\Program Files\OpenSceneGraph\bin\osgdb_osg.dll
> CullSettings::readEnvironmentalVariables()
>
> I tried manually loading the dll like this "osgviewer -l
> osgPlugins-2.2.0\osgdb_osg.dll cow.osg" and that didn't work.
>
> Any suggestions would be helpful.
> Will
>
> _______________________________________________
> 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

Reply via email to