Compiler choices: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
m (Suggest using 2008 instead of 2005. 2008 now works as well as 2005.)
(VS2010)
Line 21: Line 21:


Both are perfectly acceptable choices, providing for free all of the functionality needed to program and compile a mod. If you are unsure, choose 2008, as you will not have to install additional software.
Both are perfectly acceptable choices, providing for free all of the functionality needed to program and compile a mod. If you are unsure, choose 2008, as you will not have to install additional software.
{{tip|[http://www.microsoft.com/visualstudio/en-us/products/2010/ Visual Studio 2010] is nearing release and features ''vastly'' improved [[wikipedia:IntelliSense|IntelliSense]]. It can compile the SDK source code after [[Compiling under VS2008|the same modifications required for VS2008]] - you should consider using the Release Candidate!}}


== Additional SDKs ==
== Additional SDKs ==

Revision as of 14:37, 14 February 2010

Template:Otherlang2

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
Older technology
VCE2008
Supported by Microsoft
Better Vista compatibility
Nicer user interface

Both are perfectly acceptable choices, providing for free all of the functionality needed to program and compile a mod. If you are unsure, choose 2008, as you will not have to install additional software.

Tip.pngTip:Visual Studio 2010 is nearing release and features vastly improved IntelliSense. It can compile the SDK source code after the same modifications required for VS2008 - you should consider using the Release Candidate!

Additional SDKs

See also