Compiler choices: Difference between revisions
		
		
		
		
		
		Jump to navigation
		Jump to search
		
				
		
		
	
TomEdwards (talk | contribs)  (some clever person has got 2008 to compile debug, time for an update!)  | 
				TomEdwards (talk | contribs)   (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   | #'''[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  | ||
;[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 01:34, 13 June 2008
You have several choices for compiling the Source SDK:
- Visual Studio 2005 / Visual C++ Express 2005 — which are the officially supported compilers.
 - Visual Studio 2008 / Visual C++ Express 2008 — which can be used after a bit of work.
 - 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
- VCE2005 users need to download the Windows SDK (Windows 2000 users: Platform SDK). Visual Studio and VCE2008 users do not.
 - If you want to create new shaders, the DirectX SDK is required.
 
