Difference between revisions of "Compiler Choices"

From Valve Developer Community
Jump to: navigation, search
(Clarifies and provides resources to Visual Studio 2013 Community licensing and adds that the Visual Studio 2013 Express edition doesn't work with the Multibyte MFC Library for Visual Studio 2013 add-on.)
(Why does this page still have info on vs2005 and vs2008?)
 
(3 intermediate revisions by one other user not shown)
Line 4: Line 4:
 
[[File:Gccegg-65.png|right|GCC logo]]
 
[[File:Gccegg-65.png|right|GCC logo]]
  
You have several choices for compiling the Source SDK:
+
You have several choices for compiling unedited variants of the Source SDK:
  
#'''[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.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]]
 
#'''[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 for it.
 
#'''[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 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 2013 Express because MFC is not included in that edition. The add-on will work with Visual Studio 2013 Community edition. If you are a current student though you can get a free copy of the Professional edition from Microsoft.
+
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.
{{note|Visual Studio 2013 Community 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 2013 Community EULA [https://visualstudio.microsoft.com/license-terms/dn877550/ here]. Visual Studio 2013 Community is practically the same as the Professional edition, but with the aforementioned license restrictions.}}
+
{{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 ==
 
== Additional SDKs ==
  
* SDK 2013 users should read [[Source_SDK_2013#Platform_Specific_Build_Instructions|this]]
+
* Source 2013 users may need to manually install the Microsoft Speech SDK. See [[Source_SDK_2013#Platform_Specific_Build_Instructions|this]] for more info.
* 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.
  
 
== See also ==
 
== See also ==
  
* [[Compiling under VS2005]]
 
* [[Compiling under VS2008]]
 
 
* [[Compiling under VS2010]]
 
* [[Compiling under VS2010]]
 
* [[Source_SDK_2013|Source SDK 2013 Compiling]]
 
* [[Source_SDK_2013|Source SDK 2013 Compiling]]

Latest revision as of 22:25, 18 October 2019

Español Русский
Visual Studio logo
GCC logo

You have several choices for compiling unedited variants of the Source SDK:

  1. Visual Studio 2013 — officially-supported compilers for SDK 2013, works the best for it. SDK 2013 users should read this
  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 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.

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 here. Visual Studio Community 2013 is practically the same as the Professional edition, but with the aforementioned license restrictions.

Additional SDKs

  • Source 2013 users may need to manually install the Microsoft Speech SDK. See this for more info.
  • If you want to create new shaders, the DirectX SDK is required.

See also