Compiler choices: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
m (Nesciuse moved page Compiler choices/en to Compiler choices without leaving a redirect: Move en subpage to basepage)
(Cleared up differences between different SDK versions and directed Source 2013 users to the appropriate place)
Line 1: Line 1:
{{LanguageBar}}
{{LanguageBar}}


[[File:Visual studio logo.png|right|Visual Studio logo]]
[[File:Visual studio logo.png|right|Visual Studio logo]]
[[File:Gccegg-65.png|right|GCC logo]]
[[File:Gccegg-65.png|right|GCC logo]]


You have several choices for compiling unedited variants of the Source SDK:
You have several choices for compiling unedited variants of the Source SDK depending on which version you are using.


#'''[http://www.visualstudio.com/downloads/download-visual-studio-vs Visual Studio 2013]''' — officially-supported compilers for SDK 2013, works the best for it. SDK 2013 users should read [[Source_SDK_2013#Platform_Specific_Build_Instructions|this]]
== Source SDK 2013 ==
#'''[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.
Up-to-date compiler choices for Source SDK 2013 are currently on [[Source SDK 2013|the main Source SDK 2013 page]].
#'''[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 and the free, but license restrictive, Visual Studio 2013 Community edition to choose between. Differences between the free Express 2013 for Windows Desktop and Professional/Premium/Ultimate/Community most likely won't be a concern of yours; however, the installation of the Multibyte MFC Library for Visual Studio 2013 add-on (in the source SDK set up instructions) doesn't detect Visual Studio Express 2013 and doesn't work with it because MFC is not included in that edition. The add-on will work with Visual Studio Community 2013. If you are a current student though you can get a free copy of the Professional edition from Microsoft.
== Alien Swarm SDK ==
{{note|Visual Studio Community 2013 allows for individuals to do what they wish and sell software made with it, but be wary if you are an organization or affiliated with one. You can view the terms for the Visual Studio Community 2013 EULA [https://visualstudio.microsoft.com/license-terms/dn877550/ here]. Visual Studio Community 2013 is practically the same as the Professional edition, but with the aforementioned license restrictions.}}


== Additional SDKs ==
#'''[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.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.


* Source 2013 users may need to manually install the Microsoft Speech SDK. See [[Source_SDK_2013#Platform_Specific_Build_Instructions|this]] for more info.
== Source SDK 2007 (and earlier) ==
* If you want to create new [[shader]]s, the [http://msdn2.microsoft.com/directx/aa937788.aspx DirectX SDK] is required.


== See also ==
#'''[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.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://gcc.gnu.org/ GCC]''' — which is used to compile [[Wikipedia:Linux|Linux]] [[Dedicated server|Dedicated Server]]s. See [[Compiling under Linux]].


* [[Compiling under VS2010]]
* [[Source_SDK_2013|Source SDK 2013 Compiling]]
* [[Compiling under Linux]]
[[Category:Source SDK FAQ]]
[[Category:Source SDK FAQ]]
[[Category:Programming]]
[[Category:Programming]]

Revision as of 11:23, 21 July 2024

English (en)Español (es)Русский (ru)Translate (Translate)
Visual Studio logo
GCC logo

You have several choices for compiling unedited variants of the Source SDK depending on which version you are using.

Source SDK 2013

Up-to-date compiler choices for Source SDK 2013 are currently on the main Source SDK 2013 page.

Alien Swarm SDK

  1. Visual Studio 2005 / Visual C++ Express 2005 — which are the officially-supported compilers.
  2. Visual Studio 2010 / Visual C++ Express 2010 — needs a manual fix for Alien Swarm SDK, but works best for it.

Source SDK 2007 (and earlier)

  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. See Compiling under Linux.