De/Compiling under VS2005: Difference between revisions
< De
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
Line 6: | Line 6: | ||
== Einleitung == | == Einleitung == | ||
Diese Anleitung dient dazu HL2 erfolgreich mit MS VisualStudio 2005 (VS'05) bzw. MS VC++2005Express (VC++'05)kompilieren zu können. Hierbei ist es wichtig zu beachten, dass ausschließlich Dateien mit der Endung _2005.sln zum kompilieren verwendet werden, da ansonsten Fehler auftreten können. Ältere Versionen des SDK Quellcodes unterstützten die VS2005 nicht. Um aber dennoch eine alte Version des SDK Codes mit VS'05 kompilieren zu können gehen sie auf [[Compiling under VS2005/Older SDK|diese Seite]]. | |||
== Was funktioniert == | == Was funktioniert == |
Revision as of 04:41, 23 April 2007
Einleitung
Diese Anleitung dient dazu HL2 erfolgreich mit MS VisualStudio 2005 (VS'05) bzw. MS VC++2005Express (VC++'05)kompilieren zu können. Hierbei ist es wichtig zu beachten, dass ausschließlich Dateien mit der Endung _2005.sln zum kompilieren verwendet werden, da ansonsten Fehler auftreten können. Ältere Versionen des SDK Quellcodes unterstützten die VS2005 nicht. Um aber dennoch eine alte Version des SDK Codes mit VS'05 kompilieren zu können gehen sie auf diese Seite.
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)