Compiler choices: Difference between revisions
Jump to navigation
Jump to search
m (VCE URL changed) |
TomEdwards (talk | contribs) No edit summary |
||
Line 1: | Line 1: | ||
[[ | [[Image:Vsexpress logo.png|right|Visual Studio Express]] | ||
The SDK is | |||
The Source SDK is compatible with [http://msdn.microsoft.com/howtobuy/visualc/default.aspx Visual Studio 2005] and [http://www.microsoft.com/express/2005/download/default.aspx Visual C++ Express 2005] (Visual Studio and C++ Express 2008 compile in release mode, but not in debug). The server library can be compiled for Linux with [http://gcc.gnu.org/ gcc]. | |||
'''For most, [http://www.microsoft.com/express/2005/download/default.aspx Visual C++ Express 2005] is the best option.''' It provides all of the functionality needed to program and build a mod, and most of Microsoft's industry-standard toolset, for free. | |||
Most tutorials on this website assume you are using Visual Studio. | |||
<!-- Commented because C++ Express makes it redundant | |||
== Using other compilers == | == Using other compilers == | ||
Line 11: | Line 14: | ||
::A: Dev-C++ is an IDE. The default compiler it uses is called [http://www.mingw.org MinGW], which is a Windows port of GCC (the more-or-less standard Linux compiler). Attempts to compile the SDK using MinGW have failed. Getting it to succeed would require a non-trivial amount of work. | ::A: Dev-C++ is an IDE. The default compiler it uses is called [http://www.mingw.org MinGW], which is a Windows port of GCC (the more-or-less standard Linux compiler). Attempts to compile the SDK using MinGW have failed. Getting it to succeed would require a non-trivial amount of work. | ||
Another solution is to use a [http://www.vinoisnotouzo.com/hl2sdk-cmake/ port of the SDK] to [http://www.cmake.org/ CMake]. CMake is a cross-platform makefile and project file generator, and will generate Visual Studio project files for 6.0 2002 and 2003, and also NMake makefiles for the Visual C++ Toolkit. It can also generate GNUmake files for compiling under GCC. It may also assist any porting to MinGW. | Another solution is to use a [http://www.vinoisnotouzo.com/hl2sdk-cmake/ port of the SDK] to [http://www.cmake.org/ CMake]. CMake is a cross-platform makefile and project file generator, and will generate Visual Studio project files for 6.0 2002 and 2003, and also NMake makefiles for the Visual C++ Toolkit. It can also generate GNUmake files for compiling under GCC. It may also assist any porting to MinGW.--> | ||
[[Category:Source_SDK_FAQ]] |
Revision as of 06:42, 7 March 2008
The Source SDK is compatible with Visual Studio 2005 and Visual C++ Express 2005 (Visual Studio and C++ Express 2008 compile in release mode, but not in debug). The server library can be compiled for Linux with gcc.
For most, Visual C++ Express 2005 is the best option. It provides all of the functionality needed to program and build a mod, and most of Microsoft's industry-standard toolset, for free.
Most tutorials on this website assume you are using Visual Studio.