[sldev] Windows MSVC build instructions updated, please review

Lear Cale lear.cale at gmail.com
Thu Feb 5 14:34:56 PST 2009


Yes, I must have missed that; sorry.

Yes, there are two places that specify which version of DirectX SDK (and
also Platform SDK) should be used.

Starting from http://wiki.secondlife.com/wiki/Compiling_the_viewer_(MSVS2005),
the very first link is

Setup Microsoft Visual Studio (
http://wiki.secondlife.com/wiki/Microsoft_Visual_Studio)

Down that page a bit:

http://wiki.secondlife.com/wiki/Microsoft_Visual_Studio#Install_Microsoft_Platform_.26_DirectX_SDKs

This page mentions the earlier versions.  The original page (Compiling the
viewer) specifies the latest versions.

I get the problem I was asking about using either version, IIRC.  I'm now
using latest.  I asked about this inconsistency earlier and got no reply,
but no doubt it was lost in the noise.

Also, I earlier added a note that you might need to install DirectX SDK to a
path with no spaces.  This is not the case for Platform SDK: you can use the
default path for that.

Thanks,
Lear


On Thu, Feb 5, 2009 at 2:13 PM, Rob Lanphier <robla at lindenlab.com> wrote:

>  On 2/5/09 11:04 AM, Lear Cale wrote:
> > I added text to the SL Wiki, for the benefit of people who are
> > unfamiliar with MS VS.
> >
> > https://wiki.secondlife.com/wiki/Microsoft_Windows_Builds#Compiling
> >
> > Please review what I added and correct or clarify as appropriate.
> >
> > Thanks for the help, folks!
>
> Hi Lear,
>
> Thanks for documenting what you found!  Based on the updated
> instructions, one point that it looks like you might have missed from my
> earlier reply to you:
>
> > I get the following running develop.py.
> >
> > C:\BUILD\SL\linden\indra>python develop.py -G VC80
> > Running 'cmake -G "Visual Studio 8 2005" -DSTANDALO
> > OL=FALSE "" "C:\\BUILD\\SL\\linden\\indra"' in 'bui
> [...]
> > CMake Error: Could not find DirectX SDK Include
> >
> > Visual Studio "Tools -> Options -> VC++ directories -> Include Files"
> > has "C:\Program Files\Microsoft DirectX SDK (December 2006)\Include"
> > in it, added using the browser so there's no chance of a typo on the
> > path name.
> >
> > I had a later version installed, so I uninstalled it and installed the
> > 2006 since that's the version mentioned in the Wiki; did this before
> > trying to run develop.py.
> >
> > Any clue what might be wrong?
>
> Hmmm...where did you find the reference to the December 2006 version of
> the SDK?  The "Microsoft Windows Builds" wiki page references the August
> 2008 version.  Looking at the CMake file will give you a list of the
> supported versions;
>
> http://svn.secondlife.com/trac/linden/browser/trunk/indra/cmake/DirectX.cmake
>
>
> Rob
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.secondlife.com/pipermail/sldev/attachments/20090205/9f36bc3c/attachment.htm


More information about the SLDev mailing list