Hi, This is curious. Is this a difference in path resolution behavior between VS7.1 and VS2005?
On VS7.1, if OSG, OP, and OT are located in a directory as peers (a filesystem configuration that happens automatically when unpacking a "triple" .zip), the paths in the project files _already_ include references to those peers; i.e. it is not necessary to add paths to Producer and OpenThreads. I haven't tried VS2005 yet, but it would be unfortunate if that inter-project pathing didn't already work as it does for VS7.1 Is there some (new?) pathing behavior is the cause of the of the confusion? Gotta figure out what's going on... Cheers -- mew Diane Yang wrote: > I had added Producer\lib\win32 and OpenThreads\lib\win32. > > Have you looked at OSG's page on building with Visual Studio? It's here: > > http://www.openscenegraph.org/osgwiki/pmwiki.php/PlatformSpecifics/VisualStu > dio > > The section at the bottom talks about VS2005 and Visual Studio Express and > points to a "helpful page" with a bunch of instructions. Not entirely sure > how necessary they are for you using VS2005, but I was building on VSExpress > originally and followed those instructions. So I built on VSExpress, and > then when I got a copy of VS2005, I opened up the project there without any > issues. > > Make sure you read the OSG page on Getting Started whenever you get around > to running the example applications. > > -----Original Message----- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On Behalf Of Sascha Kuhn > Sent: Thursday, September 28, 2006 12:13 PM > To: osg users > Subject: RE: [osg-users] help about OpenThreadsWin32d.lib > > yes I choose the "batch built" and built everything (static and share ) and > I made this in the correct direction but > there are missing some libraries. > They are on the hard disk and I know how to add library folder. But I must > choose that directories in every project (Applications, Core...) > Is there an other possibility? > Sascha > > -----Original Message----- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] Behalf Of Diane Yang > Sent: Thursday, September 28, 2006 7:08 AM > To: 'osg users' > Subject: RE: [osg-users] help about OpenThreadsWin32d.lib > > > Stephen, > > I haven't been following this thread much, but thought maybe I'd jump in. I > just built OSG with VS2005 about a week ago. I was confused like you, but it > turns out not to be complicated. As you've probably read, you need to build > OpenThreads, Producer, and then OpenSceneGraph. The only thing that got me > caught up was whether I was building each of them in debug mode, release > mode, or some other mode. I was told I just need to be consistent in which > mode I was building for each of them. Just to be safe, I chose the Batch > Build option for each module and just built everything, creating both debug > and release dll's for everything. And sure enough, everything built cleanly. > > As far as dependencies, I was confused about that too, but for just building > OSG, you don't need any of that. > > Hope that helps? > > - Diane > > -----Original Message----- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On Behalf Of Stephen Northcott > Sent: Thursday, September 28, 2006 12:07 AM > To: [email protected] > Subject: RE: [osg-users] help about OpenThreadsWin32d.lib > > Hello all.. > > So is there an idiots guide somewhere for building VS2005 and OSG? > I really just want a confirmed start point, and dependencies list (if > applicable). > > What I can't understand is how this can be so hard to simply build > when downloaded as the latest official release, and built in the > exact same directories that the pack expands to... > > I have tried *everything* suggested so far in these various > discussions.. > > I can confirm that I have done this.. > > >> Three conditions must be true in order for OSG to link with OT: >> 1.. OpenThreadsWin32d.lib must be in the directory >>"OpenThreads\lib\win32". >> 2.. The properties for the project linking with OpenThreads, >>under >>"Linker->General->Additional Library Directories", must include the >>path >>"../../../OpenThreads/lib/$(PlatformName)" -- a relative path. >> 3.. The "OpenSceneGraph" and "OpenThreads" directories must be >>siblings (have the same parent folder) in order for the relative >>path to >>work. >> Please check to make sure all three conditions are true. >> -Paul > > > I am getting hundreds and hundreds of errors, and using gobs and gobs > of disk space for this build! I am stunned! > Staring at all this through the little portals that VS05 provides > onto it's world is going to make me pop a blood vessel I think! > > Errors range from not being able to find simple includes such as > zlib.h to various parts of gdal. > Having used OSG on the Mac for a while I am not overly concerned > about issues with osgTerrain and gdal. > > There are also billions upon billions of warnings in every compile > about 'unresolved external references', and lots of dll missing > errors and so on.. > > Sorry for being so dumb, if I am missing something, but this is > really turning into a nightmare!! > > Kind regards, > Stephen. _______________________________________________ osg-users mailing list [email protected] http://openscenegraph.net/mailman/listinfo/osg-users http://www.openscenegraph.org/
