Hi David,
Ah ok, so I created a new Variable named it OSG_FILE_PATH and gave it the value
"C:\Praktikum\OpenSceneGraph-2.8.1\Data"
is that what you meant?
If yes it is still not working, it still says "osgviewerd: No Data loaded"
If you added the variable in your System Properties, then you need to
start up a new command prompt window because the new variables only take
effect on new windows.
A few command prompt tips:
- You can type "set" to see what variables are currently set.
- You can type "set VARIABLE_NAME=VARIABLE_VALUE" to set a new variable
which will be valid for this instance of your command prompt (if you
want it to be permanent, put it in your system properties as I assume
you did above).
- If you want to check if the value works, you can do "dir
%OSG_FILE_PATH%" and if it gives you the directory contents of the right
directory then it's ok, if it says "invalid file or directory" then it's
set to the wrong value.
Hope this helps,
J-S
--
______________________________________________________
Jean-Sebastien Guay [email protected]
http://www.cm-labs.com/
http://whitestar02.webhop.org/
_______________________________________________
osg-users mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org