Compiler choices: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
(some clever person has got 2008 to compile debug, time for an update!)
(having read Compiling under VS2005, it doesn't "just work")
Line 4: Line 4:
You have several choices for compiling the Source SDK:
You have several choices for compiling the Source SDK:


#'''[http://msdn.microsoft.com/howtobuy/visualc/default.aspx Visual Studio 2005]''' / '''[http://www.microsoft.com/express/2005/download/default.aspx Visual C++ Express 2005]''' — which are compatible 'out of the box'.
#'''[http://msdn.microsoft.com/howtobuy/visualc/default.aspx Visual Studio 2005]''' / '''[http://www.microsoft.com/express/2005/download/default.aspx Visual C++ Express 2005]''' — which are the officially supported compilers.
#'''[http://msdn.microsoft.com/vs2008/products/ Visual Studio 2008]''' / '''[http://www.microsoft.com/express/vc/ Visual C++ Express 2008]''' — which can be used [[Compiling under VS2008|after a bit of work]].
#'''[http://msdn.microsoft.com/vs2008/products/ Visual Studio 2008]''' / '''[http://www.microsoft.com/express/vc/ Visual C++ Express 2008]''' — which can be used [[Compiling under VS2008|after a bit of work]].
#'''[http://gcc.gnu.org/ GCC]''' — which is used to compile [[Wikipedia:Linux|Linux]] [[Dedicated server|Dedicated Server]]s.
#'''[http://gcc.gnu.org/ GCC]''' — which is used to compile [[Wikipedia:Linux|Linux]] [[Dedicated server|Dedicated Server]]s.
Line 13: Line 13:
:Officially supported by Valve
:Officially supported by Valve
:More established technology
:More established technology
:"Just works"
;[http://www.microsoft.com/express/vc/ VCE2008]
;[http://www.microsoft.com/express/vc/ VCE2008]
:More recent - fewer bugs
:More recent - fewer bugs

Revision as of 02:34, 13 June 2008

GCC logo

You have several choices for compiling the Source SDK:

  1. Visual Studio 2005 / Visual C++ Express 2005 — which are the officially supported compilers.
  2. Visual Studio 2008 / Visual C++ Express 2008 — which can be used after a bit of work.
  3. GCC — which is used to compile Linux Dedicated Servers.

If you own a copy of Visual Studio 2005/2008 you'll probably want to use that, and if you're compiling for Linux you don't have a choice to make. Which leaves only the Visual C++ Express versions to choose between:

VCE2005
Officially supported by Valve
More established technology
VCE2008
More recent - fewer bugs
Nicer user interface
Better support from Microsoft

Both are perfectly acceptable choices, providing for free all of the functionality needed to program and compile a mod. If you are unsure, choose 2005.

Additional SDKs

See also