I have been told that for my games programming module of my computer science course at university we are to use OSG.
I have been following this tutorial to get OSG setup and working with Visual Studio 2008 which i am using. Type "dwight openscenegraph" into google and its the first link. (i cannot post URL's yet) I have entered my paths and tested that they all work by using "echo %OSG_%" and they all return to the correct location and have just tested "osgviewer cow.osg" and that works also. I have just tried to create my first OSG project in visual studio and this is where i am encountering problems. I place both: $(OSG_LIB_PATH) and $(OSG_INCLUDE_PATH) into the necessary fields when i am configuring my project, like it says in the above tutorial, but i get errors when i include them so i put instead put the folder locations of the "OSG/include" and "OSG/lib" folders. When i build my project it complies successfully with no errors or warnings. Following output: Code: 1>------ Build started: Project: OSG - Demo, Configuration: Debug Win32 ------ 1>Compiling... 1>OSG_Test_01.cpp 1>Linking... 1>Embedding manifest... 1>Build log was saved at "file://c:\Users\MEMEME\Documents\Visual Studio 2008\Projects\OSG-Demo\OSG-Demo\Debug\BuildLog.htm" 1>OSG - Demo - 0 error(s), 0 warning(s) ========== Build: 1 succeeded, 0 failed, 0 up-to-date, 0 skipped ========== When i try to run the program by pressing F5 i get the following error: Code: The program cant start because osg55-osgd.dll is missing from your computer. Try reinstalling the program to fix this problem How do i fix this because when i actually go to my projects Debug folder and run the EXE that i compiled, it runs fine and without problems. It seems that is just when i try to run it using VS2008 that osg55-osgd.dll cannot be found. I am using the first OSG primitives tutorial on the OSG website and the exe i compiled creates the two 3D pyramid shapes and works as expected. Does anyone have any idea how to get VS2008 to work properly or what could be the problem? Thanks for any input. ------------------ Read this topic online here: http://forum.openscenegraph.org/viewtopic.php?p=23769#23769 _______________________________________________ osg-users mailing list [email protected] http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

