Compiler choices: Difference between revisions
Jump to navigation
Jump to search
Tip:Visual Studio 2010 is nearing release and features vastly improved IntelliSense. It can compile the SDK source code after some modifications - you should consider using the beta!
TomEdwards (talk | contribs) (VS2010) |
No edit summary |
||
Line 22: | Line 22: | ||
Both are perfectly acceptable choices, providing for free all of the functionality needed to program and compile a mod. If you are unsure, choose 2008, as you will not have to install additional software. | Both are perfectly acceptable choices, providing for free all of the functionality needed to program and compile a mod. If you are unsure, choose 2008, as you will not have to install additional software. | ||
{{tip|[http://www.microsoft.com/visualstudio/en-us/products/2010/ Visual Studio 2010] is nearing release and features ''vastly'' improved [[wikipedia:IntelliSense|IntelliSense]]. It can compile the SDK source code after [[Compiling under | {{tip|[http://www.microsoft.com/visualstudio/en-us/products/2010/ Visual Studio 2010] is nearing release and features ''vastly'' improved [[wikipedia:IntelliSense|IntelliSense]]. It can compile the SDK source code after [[Compiling under VS2010|some modifications]] - you should consider using the beta!}} | ||
== Additional SDKs == | == Additional SDKs == |
Revision as of 05:17, 14 March 2010
You have several choices for compiling the Source SDK:
- Visual Studio 2005 / Visual C++ Express 2005 — which are the officially supported compilers.
- Visual Studio 2008 / Visual C++ Express 2008 — which can be used after a bit of work.
- GCC — which is used to compile Linux Dedicated Servers.
If you own a copy of Visual Studio 2005/2008 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 Visual C++ Express versions to choose between:
- VCE2005
- Officially supported by Valve
- Older technology
- VCE2008
- Supported by Microsoft
- Better Vista compatibility
- Nicer user interface
Both are perfectly acceptable choices, providing for free all of the functionality needed to program and compile a mod. If you are unsure, choose 2008, as you will not have to install additional software.

Additional SDKs
- VCE2005 users need to download the Windows SDK (Windows 2000 users: Platform SDK). Visual Studio and VCE2008 users do not.
- If you want to create new shaders, the DirectX SDK is required.