Thank you to both you and Gordon who replied with the same answer. You guys
were correct and OSG builds cleanly now.

-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Mustafa
Sent: Monday, September 18, 2006 11:26 AM
To: osg users
Subject: Re: [osg-users] Getting started with OSG and Microsoft Visual
StudioExpress

Hi Diane,
  When you open the VS2005, on top of the main window, there is a
combobox. In that ComboBox, you will find the following items

DEBUG
RELEASE
DEBUG_STATIC  (or something like this...)
RELEASE_STATIC (or something like this...)

You have to be sure that while compiling OpenThreads or producer etc.
these combobox showing the same item...

I mean If you compile OpenThreads while "DEBUG item" selected in that
combobox, then it will compile OpenThreads and outputs
"OpenThreadsd.lib" then when you start compiling OpenSceneGraph but
selecting "RELEASE" option in that combo box, it tries to find RELEASE
version of the OpenThreds lib files... But because in the previous
step you didnt generated release version, it will give the error that
you mentioned in your email...

SO

I will offer you to right click on the solution name in the solution
explorer window (View->SolutioınExplorer).  On the popupmenu, select
"BATCHBUILD". Then in the batch build window, select both debug and
release versions ( or also static versions) of the projects that you
want to compile... Finally click BUILD in the same window


2006/9/18, Diane Yang <[EMAIL PROTECTED]>:
>
>
>
>
> I've downloaded OSG_OP_OT-1.2.zip and I'm trying to build it in Microsoft
> Visual C++ 2005 Express Edition. I built OpenThreads cleanly. Producer
built
> cleanly as well. Building OpenSceneGraph has got my head spinning.
>
>
>
> First, I get an error regarding OpenThreadsWin32d.lib. I took a look in
the
> OpenThreads\bin\win32 directory, and I've got a OpenThreadsWin32d_s.lib.
Are
> they the same thing? I.e., can I rename OpenThreadsWin32d_s.lib to
> OpenThreadsWin32d.lib?
>
>
>
> Second, I can't figure out if other dependencies are needed just to build
> OpenSceneGraph. I don't need any plugins or anything, but does that mean
> I'll see errors in Visual C++ Express? If I do need dependencies, which
ones
> do I need? Once I get the dependencies, do I have to add each of the bin,
> include, and lib directories to the Visual C++ Directories in the Options
> dialog in Visual Studio?
>
>
>
> Thanks,
>
> - Diane
> _______________________________________________
> osg-users mailing list
> [email protected]
> http://openscenegraph.net/mailman/listinfo/osg-users
> http://www.openscenegraph.org/
>
>


_______________________________________________
osg-users mailing list
[email protected]
http://openscenegraph.net/mailman/listinfo/osg-users
http://www.openscenegraph.org/

Reply via email to