Hello all,
There has been much chatter of late about the inability to compile and run the SL viewer with VC++ 2008 Express, so I decided to find out if it really is "impossible"...
On my very first attempt, I was able to successfully compile, run, and log in to SL with the Viewer 1.22.11 (r113941) using source code from this link: (make sure you get the artwork and libraries zips too)
http://secondlife.com/developers/opensource/downloads/2009/03/slviewer-src-viewer-1.22.11-r113941.zip
On Windows XP Home Edition (32-bit), Using the steps outlined here:
https://wiki.secondlife.com/wiki/User:Jodiah_Jensen, (you may want to start with section 2 concerning the Boost Libraries, then move to section 1)
Before I attempted to compile, I updated cmake, python, Cygwin, Windows Platform SDK, DirectX SDK, and Boost Libraries as outlined below:
CMake (ver 2.6.4):
Cygwin:
PYTHON (ver 2.6.2):
Windows Platform SDK (ver 6.1):
DirectX SDK (MAR 2009):
Boost (version 1.39):
The distributed Boost Libraries still appear to cause problems, however with my workaround outlined on my user page (link above) I was able to get the viewer up and running just fine with Boost 1_36_0.
So, my conclusion: The source code can indeed be compiled using VC++ 2008 Express, with some tweaking and TLC.
I believe the key to success here is having your build environment, and the VC++ 2008 Express compiler, properly set up.
Something I didn't mention on my page, make sure you start Visual Studio with the SecondLife.sln solution in the ..\linden\indra\build-VC90 folder that is built when you run develop.py. There will be many other Solution files and vcproject files, but the aforementioned solution file worked best for me.
I really hope some of this info helps someone with their struggle to compile the 1.22.11 viewer code.
Cheers,
Jodiah
_______________________________________________ Policies and (un)subscribe information available here: http://wiki.secondlife.com/wiki/SLDev Please read the policies before posting to keep unmoderated posting privileges
