Welcome to the Second Life Forums Archive

These forums are CLOSED. Please visit the new forums HERE

Compiling the Open Source viewer (Windows)

Dillon Morenz
Registered User
Join date: 21 May 2006
Posts: 85
01-09-2007 05:39
Regarding building instructions for Windows at:
https://wiki.secondlife.com/wiki/Compiling_the_viewer_%28MS_Windows%29

I realise these steps are for Visual Studio .NET 2003 Professional, but I'm giving it a shot with Visual Studio 2005 Professional Edition anyway.

I've hit my first problem here:

"Make sure that the includes and libraries paths have the DirectX SDK paths first, then the Platform SDK paths, and then the Visual C++ paths."

I installed DirectX 9.0 SDK Update (Summer 2003), but there is no sign of the relevant paths in Tools/Options/Projects/VC++ Directories. I suspect this is because I should be using the DirectX 9.0 SDK Update - (February 2005) with this version of VS. Any hints or tips?

I'm continuing through the libraries section of the instructions anyway.... :)
_____________________
Kunnis Basiat
Registered User
Join date: 22 Jun 2006
Posts: 1
01-09-2007 08:35
I got it building yesterday. Yes, the refrences have to be added. I'll go update the wiki to clarify that, because that section is confusing.

I'm running with the April 2006 DirectX SDK myself, and it works, so it shouldn't be a problem for you.
Dillon Morenz
Registered User
Join date: 21 May 2006
Posts: 85
01-09-2007 08:42
Great! Rolling the SDK forward bothered me due to this line in the guide: "Installing the new SDK "on top" of an older version may cause problems." (Although that's probably a reference to installing the 2003 version over earlier versions.)

I'll go ahead now anyway. Thanks Kunnis. :)
_____________________
Peekay Semyorka
Registered User
Join date: 18 Nov 2006
Posts: 337
01-09-2007 09:44
Hi Dillon, I added that particular warning, and yes it refers to installing the S-2003 update version over an earlier one.

I also found I needed to manually install a few missing DLLs... not sure if that was just my setup or not:

https://lists.secondlife.com/pipermail/sldev/2007-January/000017.html

-peekay
Kujila Maltz
lol
Join date: 6 Aug 2005
Posts: 444
01-09-2007 11:51
In theory, could the client be compiled with GCC on Windows?
Peekay Semyorka
Registered User
Join date: 18 Nov 2006
Posts: 337
01-09-2007 19:22
It would require a lot of work to compile the Windows executable with GCC. Would be less time consuming to install Linux on a separate partition, and compile the linux version from there.

-peekay
tarzan1234 Allen
Registered User
Join date: 4 Jun 2008
Posts: 1
Getting an OSError
06-30-2009 02:07
Hello ,
i downloaded the secondlife source code and added the libraries of quicktime and fmod to the includes in the linden folder. i also have installed the DirectX SDK Aug2008 . After this when i try to run the file "develop.py" using the command "python develop.py -G VC80" on the command , in the indra folder , i m getting a error as follows :




E:\linden\indra>python develop.py -G VC80
File "develop.py", line 52
except OSError, err:
^
SyntaxError: invalid syntax

can any one please help me with this??