De/Compiling under VS2005: Difference between revisions
< De
Jump to navigation
Jump to search
(Compiling under VS2005:de moved to Compiling under VS2005/Older SDK:de) |
No edit summary |
||
Line 1: | Line 1: | ||
{|align=right | |||
|__TOC__ | |||
|} | |||
== Einleitung == | |||
The following is a general guide to getting HL2 compiling under VS 2005. Its important to note that the SDK code for HL2 supports VS2005, but only in the the _2005.sln files. Compiling a _2003.sln under 2005 and visa versa will only generate problems and errors. Older versions of the source code did not support 2005, to get them working with 2005 go [[Compiling under VS2005/Older SDK|here]]. | |||
== Was funktioniert == | |||
''SP'' | |||
*Release - client - VS Studio: '''working''' & playable | |||
*Release - hl - VS Studio: '''working''' & playable | |||
*Release - client - V C++ Express: '''working''' & playable (after [[Compiling_under_VS2005#Requirements|requirements]] are fullfilled) | |||
*Release - hl - V C++ Express: '''working''' & playable (after [[Compiling_under_VS2005#Requirements|requirements]] are fullfilled) | |||
''MP'' | |||
*Release - client - VS Studio: '''working''' & playable | |||
*Release - hl - VS Studio: '''working''' & playable | |||
*Release - client - V C++ Express: '''working''' & playable (after [[Compiling_under_VS2005#Requirements|requirements]] are fullfilled) | |||
*Release - hl - V C++ Express: '''working''' & playable (after [[Compiling_under_VS2005#Requirements|requirements]] are fullfilled) | |||
== Anforderungen == | |||
Necessary steps are needed to enable compiling with the Visual Studio C++ 2005 Express Edition: | |||
''Files required'' | |||
*[http://msdn.microsoft.com/directx/sdk/ MS DirectX SDK] | |||
*[http://www.microsoft.com/downloads/details.aspx?FamilyId=0BAF2B35-C656-4969-ACE8-E4C0C0716ADB&displaylang=en MS Platform SDK] | |||
''Setup'' | |||
Go to Tools - Options: Projects and Solutions - VC++ Directories | |||
* In the upper right drop down box, select "Executable files" and add "...\Microsoft Platform SDK\Bin" (replace with the correct path) | |||
* Then select "Include files" and add "...\Microsoft Platform SDK\Include" and "...\Microsoft DirectX SDK (December 2005)\Include" | |||
* Then select "Library files" and add "...\Microsoft Platform SDK\Lib" and "...\Microsoft DirectX SDK (February 2007)\Lib\x86" | |||
* Finally, go to the project properties for hl and client and add user32.lib to Linker->Input->Additional Dependencies (with spaces between entries) | |||
== Verwandte Themen == | |||
*[[Microsoft Visual Studio 6.0 Usage]] | |||
*[[Compiling under VS2002]] | |||
*[[Compiling under VS2005/Older SDK]] | |||
{{otherlang:en}} {{otherlang:en:de|Compiling_under_VS2005}} | |||
[[Category:Tutorials]] [[Category:Programming]] |
Revision as of 04:27, 23 April 2007
Einleitung
The following is a general guide to getting HL2 compiling under VS 2005. Its important to note that the SDK code for HL2 supports VS2005, but only in the the _2005.sln files. Compiling a _2003.sln under 2005 and visa versa will only generate problems and errors. Older versions of the source code did not support 2005, to get them working with 2005 go here.
Was funktioniert
SP
- Release - client - VS Studio: working & playable
- Release - hl - VS Studio: working & playable
- Release - client - V C++ Express: working & playable (after requirements are fullfilled)
- Release - hl - V C++ Express: working & playable (after requirements are fullfilled)
MP
- Release - client - VS Studio: working & playable
- Release - hl - VS Studio: working & playable
- Release - client - V C++ Express: working & playable (after requirements are fullfilled)
- Release - hl - V C++ Express: working & playable (after requirements are fullfilled)
Anforderungen
Necessary steps are needed to enable compiling with the Visual Studio C++ 2005 Express Edition:
Files required
Setup
Go to Tools - Options: Projects and Solutions - VC++ Directories
- In the upper right drop down box, select "Executable files" and add "...\Microsoft Platform SDK\Bin" (replace with the correct path)
- Then select "Include files" and add "...\Microsoft Platform SDK\Include" and "...\Microsoft DirectX SDK (December 2005)\Include"
- Then select "Library files" and add "...\Microsoft Platform SDK\Lib" and "...\Microsoft DirectX SDK (February 2007)\Lib\x86"
- Finally, go to the project properties for hl and client and add user32.lib to Linker->Input->Additional Dependencies (with spaces between entries)