Difference between revisions of "Compiler Choices"

From Valve Developer Community
Jump to: navigation, search
(VS2019 does not include the 2013 compiler. Without installing VS2013 you are wasting your time.)
(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.)
Line 10: Line 10:
 
#'''[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 non-commercial Community 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.
+
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.
 +
{{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.}}
  
 
== Additional SDKs ==
 
== Additional SDKs ==

Revision as of 18:51, 13 October 2019

Español Русский
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 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.

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

Additional SDKs

See also