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):
http://www.cmake.org/files/v2.6/cmake-2.6.4-win32-x86.exe
Cygwin:
http://cygwin.com/setup.exe
PYTHON (ver 2.6.2):
http://www.python.org/ftp/python/2.6.2/python-2.6.2.msi
Windows Platform SDK (ver 6.1):
http://www.microsoft.com/downloads/details.aspx?familyid=E6E1C3DF-A74F-4207-8586-711EBE331CDC&displaylang=en

DirectX SDK (MAR 2009):
http://www.microsoft.com/downloads/details.aspx?FamilyID=24a541d6-0486-4453-8641-1eee9e21b282&displaylang=en&Hash=b9q8udi5LhxHm121bKx6fjJi7IMBIMlwwitV3UbR7FrgG1NI6USR9rCj4widyBPvidVZcJo0CYMZgigxZR6qHg%3d%3d

Boost (version 1.39):
http://sourceforge.net/project/showfiles.php?group_id=7586&package_id=8041&release_id=679861
 
 
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

Reply via email to