Hi Suyang, 1. Just run the examples in the Command Prompt and type something like "osgviewer cow.osg". Argc always equals to 1 because you don't give any more arguments. It's not a bug. 2. The OSG_FILE_PATH should be set as a system environment variable. See "My Computer" -> Properties for details. It is not managerd by OSG but your OS. 3. I also have no idea because I've never used the terrible vista. :-) Maybe you should check the visual studio environment variables.
BTW, you comes from China, aren't you? Why not discuss more rookie questions at: bbs.osgchina.org It's a Chinese forum with nearly 2000 members and also the mirror of the OpenSceneGraph website. Hope that helps. Wang Rui 2009/5/22 Suyang Dong <[email protected]> > Hi, > I am quite new to OpenSceneGraph, therefore get lots of stupid questions: > > 1. I believe I have built OSG2.8.0 successfully on my XP with CMake 2.6. > However when I tried to run those examples, I failed in lots of them, > because the argc is always equal to 1, and lots of examples checks the > value of argc. If it is equal to 1, then the program just retured. I have no > idea how to deal with this bug.. > > 2. I try to setup OSG_FILE_PATH, but don't know where to input it. The > Quick Start Guide says it should be set in "runtime installation", but what > is "runtime installation". I didn't find OSG_FILE_FATH when I built osg with > CMake. > > 3. Although I successfully built osg in XP, I got problem with vista. > Actually I guess it should be blamed on CMake. Running under XP, when I > click "configure", the CMake will pop up a child window to let me choose the > generator, (I use VS9.0). However running under Vista, there is no popup > window to choose the generator when I click "configure", then the process > failed because the CMake cannot find CMake_CXX_Compiler and its path. I > tried to specify the location of VS9.0 compiler, however I have no idea > where the compiler is... > > I appreciate your potential help! > Thanks > Suyang[/b] > > ------------------ > Read this topic online here: > http://forum.openscenegraph.org/viewtopic.php?p=12709#12709 > > > > > > _______________________________________________ > 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

