Hi Basil,

When I open in Visual Studio, I am getting scores of compiler errors. Lots of 
undeclared identifiers.  Perhaps its not finding the headers or something?

  I made sure that under tools->options->Projects and Solutions->VC++ 
DIrectories that I included OpenSceneGraph\lib, OpenSceneGraph\include, and 
OpenSceneGraph\bin

You don't need to do that, the project settings should include all the paths the projects need to compile. And in fact I'd advise against it, since if you ever need to compile multiple versions of OSG you'll need to go change that again... I don't use VC++ Directories at all, I keep all relevant include / lib paths in the project settings / build files. It's much easier to keep them in version control that way.

What exactly are you opening in Visual Studio, and what are you trying to build? What are the errors you're getting? Perhaps paste the compile log in a text file and attach it to your reply.

I also made sure that I included the bin directory in my %PATH% variable and
created %OSG_FILE_PATH% (containing 
d:\OpenSceneGraph\data;d:\OpenSceneGraph\data\Images;d:\OpenSceneGraph\data\fonts)
 and %OSGHOME% (contaning d:\OpenSceneGraph).

That's fine, though it won't influence compilation, only runtime. Also you generally only need the first path you put in OSG_FILE_PATH.

J-S
--
______________________________________________________
Jean-Sebastien Guay    [email protected]
                               http://www.cm-labs.com/
                    http://whitestar02.dyndns-web.com/
_______________________________________________
osg-users mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

Reply via email to