Compiler choices: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
(Add VS2019 Preview)
(VS2019 does not include the 2013 compiler. Without installing VS2013 you are wasting your time.)
Line 6: Line 6:
You have several choices for compiling the Source SDK:
You have several choices for compiling the Source SDK:


#'''[https://visualstudio.microsoft.com/vs/preview/ Visual Studio 2019 Preview]''' — Recognizes the project as VS2013 one, allowing to compile using it.
#'''[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.
#'''[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.

Revision as of 20:40, 29 December 2018

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 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.

Additional SDKs

See also