Useful tip - thanks, Robert.
:-)
John Montgomery
Medi-CAL Unit, CLSM, Polwarth Bldg., Forresterhill, Aberdeen AB25 2ZD.
Mob: 07592453757, Skype search: jmmp08
Web: http://www.abdn.ac.uk/JMVP/ | http://www.abdn.ac.uk/clsm/  |  
http://www.thevigils.co.uk/


-----Original Message-----
From: [email protected] 
[mailto:[email protected]] On Behalf Of Robert Osfield
Sent: 29 September 2009 09:39
To: OpenSceneGraph Users
Subject: Re: [osg-users] OSG Windows XP environment setup?? SOLVED

Hi John,

On Mon, Sep 28, 2009 at 3:36 PM, Montgomery, John T.
<[email protected]> wrote:
> Not clear why, but...
>
> Each time I was running from within C:\OSG_dev\OSG-Data and therefore, using 
> only 'introduction.p3d'
> However, running from 'C:\Documents and Settings' - thus requiring a 
> full-path for the input file - ' C:\OSG_dev\OSG-Data\introduction.p3d'
> It worked!

I'm not clear on why either... but my guess is that there must be a
difference in the current working directory setting or the
OSG_FILE_PATH env var that is being picked up in these different
instances.  Running with a full path will avoid the need for being in
the correct directory or having OSG_FILE_PATH set up.

One way to investigate these issues is to set the env var
OSG_NOTIFY_LEVEL to DEBUG and then run the app, and watch the output
to the console, as it'll list where it's looking for files.

Robert.
_______________________________________________
osg-users mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org


The University of Aberdeen is a charity registered in Scotland, No SC013683.
_______________________________________________
osg-users mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

Reply via email to