Compiler choices: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
No edit summary
(Removed 2005 and 2008 visual studio links, added vs2013 links and reworded the 2010 link as it was causing confusion)
Line 6: Line 6:
You have several choices for compiling the Source SDK:
You have several choices for compiling the Source SDK:


#'''[http://www.microsoft.com/visualstudio/en-us/products/2005-editions/ Visual Studio 2005]''' / '''[http://download.microsoft.com/download/8/3/a/83aad8f9-38ba-4503-b3cd-ba28c360c27b/ENU/vcsetup.exe Visual C++ Express 2005]''' — which are the officially-supported compilers.
#'''[http://www.visualstudio.com/downloads/download-visual-studio-vs Visual Studio 2013]''' — officially-supported compilers for SDK 2013, works the best for it.
#'''[http://www.microsoft.com/visualstudio/en-us/products/2008-editions/ Visual Studio 2008]''' / '''[http://www.microsoft.com/express/Downloads/#2008-Visual-CPP Visual C++ Express 2008]''' — which can be used [[Compiling under VS2008|after a bit of work]].
#'''[http://www.microsoft.com/visualstudio/en-us/products/2010-editions/ Visual Studio 2010]''' / '''[http://www.microsoft.com/visualstudio/en-us/products/2010-editions/visual-cpp-express Visual C++ Express 2010]''' — needs a [[Compiling under VS2010#Alien Swarm| manual fix]] for [[Alien Swarm SDK]], but works best for it.
#'''[http://www.microsoft.com/visualstudio/en-us/products/2010-editions/ Visual Studio 2010]''' / '''[http://www.microsoft.com/visualstudio/en-us/products/2010-editions/visual-cpp-express Visual C++ Express 2010]''' — needs a [[Compiling under VS2010#Alien Swarm| manual fix]] for [[Alien Swarm SDK]], but works best.
#'''[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.


If you own a copy of Visual Studio 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 Express editions to choose between. There isn't much competition any more: choose 2010 for better compiling, better InteliSense, better UI, and better Vista/7 compatibility.
If you own a copy of Visual Studio 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 Express editions to choose between. Differences between the free Express 2013 for Windows Desktop and Professional/Premium/Ultimate most likely won't be a concern of yours. If you are a current student though you can get a free copy of the Professional edition from Microsoft.


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


* SDK 2013 users should read [[Source_SDK_2013#Platform_Specific_Build_Instructions|this]]
* Visual C++ Express 2005 users need to download the [http://www.microsoft.com/downloads/details.aspx?FamilyID=e6e1c3df-a74f-4207-8586-711ebe331cdc&DisplayLang=en Windows SDK] (Windows 2000 users: [http://www.microsoft.com/downloads/details.aspx?familyid=A55B6B43-E24F-4EA3-A93E-40C0EC4F68E5&displaylang=en Platform SDK]).
* Visual C++ Express 2005 users need to download the [http://www.microsoft.com/downloads/details.aspx?FamilyID=e6e1c3df-a74f-4207-8586-711ebe331cdc&DisplayLang=en Windows SDK] (Windows 2000 users: [http://www.microsoft.com/downloads/details.aspx?familyid=A55B6B43-E24F-4EA3-A93E-40C0EC4F68E5&displaylang=en Platform SDK]).
* If you want to create new [[shader]]s, the [http://msdn2.microsoft.com/directx/aa937788.aspx DirectX SDK] is required.
* If you want to create new [[shader]]s, the [http://msdn2.microsoft.com/directx/aa937788.aspx DirectX SDK] is required.
Line 23: Line 23:
* [[Compiling under VS2008]]
* [[Compiling under VS2008]]
* [[Compiling under VS2010]]
* [[Compiling under VS2010]]
* [[Source_SDK_2013|Source SDK 2013 Compiling]]
* [[Compiling under Linux]]
* [[Compiling under Linux]]


[[Category:Source SDK FAQ]]
[[Category:Source SDK FAQ]]
[[Category:Programming]]
[[Category:Programming]]

Revision as of 20:01, 21 November 2014

Template:Otherlang2

Visual Studio logo
GCC logo

You have several choices for compiling the Source SDK:

  1. Visual Studio 2013 — officially-supported compilers for SDK 2013, works the best for it.
  2. Visual Studio 2010 / Visual C++ Express 2010 — needs a manual fix for Alien Swarm SDK, but works best for it.
  3. GCC — which is used to compile Linux Dedicated Servers.

If you own a copy of Visual Studio 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 Express editions to choose between. Differences between the free Express 2013 for Windows Desktop and Professional/Premium/Ultimate most likely won't be a concern of yours. If you are a current student though you can get a free copy of the Professional edition from Microsoft.

Additional SDKs

See also