Difference between revisions of "Compiling under VS2005"

From Valve Developer Community
Jump to: navigation, search
(Requirements: Fixed links.)
m
Line 1: Line 1:
 +
[http://wirelessilliana.com/sullivanpack341/gallery341/g2data/image/evpgnf.html internet phone] [http://adrianwindridge.co.uk/propertyimages/thumbs/gif/pwpsru.html samsung ringtone] [http://npgsupport.com/chat/chat/localization/icelandic/cache/kqtdea.html work from home] [http://reverejournal.com/wp-content/uploads/2007/05/images/recxlp.html rack room shoes] [http://bostoncentury.com/old/coppermine/albums/userpics/10001/thumb/wwtvwu.html jennifer lopez nude] [http://maslov.com/new_releases/cache/dsqjsw.html discount online pharmacy] [http://interserverhost.com/gallery/albums/userpics/avatars/nqcuuj.html jjill] [http://woodcrafts-online.com/shop/components/com_virtuemart/shop_image/product/thmbs/htmplx.html sauder computer desk with hutch] [http://shopwhat.com/photo/image/vsovhb.html oris watches] [http://c21redwood.com/images/properties/thumbs/obximh.html jc penney] [http://interserverhost.com/gallery/albums/userpics/avatars/osejnj.html auto insurance quote] [http://reportchildporn.com/rcp/themes/phpkaox/cache/igbrng.html hermes bags] [http://npgsupport.com/chat/chat/localization/icelandic/cache/sveiww.html canadian chat line] [http://www.jericogt.com/design/schema/images/news/thumb/1/ilckkp.html download mp3 50 cent] [http://www.jericogt.com/design/schema/images/news/thumb/1/himuqe.html assult rifle] [http://c21redwood.com/images/properties/thumbs/elufeh.html footjob] [http://maslov.com/new_releases/cache/ujaopx.html titfucking] [http://npgsupport.com/chat/chat/localization/icelandic/cache/tkpevt.html poket watch] [http://wirelessilliana.com/sullivanpack341/gallery341/g2data/image/jxkxmv.html oakley sunglasses] [http://www.usedboatdealer.com/boats/images/banners/gif/bgqrsf.html apartment rentals oahu] [http://www.swiic.com/swi/images/banners/128x250/dwvioo.html exotic lingerie] [http://www.partnerwithsap.com/de/images/banners/rtdmed.html cambridge soundworks] [http://www.bassboatmagazine.com/linkmachine/templates/lm_images/thumb/dlcdwb.html free satellite tv] [http://www.usedboatdealer.com/boats/images/banners/gif/rsuqjw.html jamster free ringtones] [http://deadmansjacket.co.uk/gallery_images/thumbs/uiofls.html exhaust systems] [http://bostoncentury.com/old/coppermine/albums/userpics/10001/thumb/jtusul.html halloween crafts] [http://reportchildporn.com/rcp/themes/phpkaox/cache/hxqxrf.html tiaras] [http://meretusa.com/links/cache/rxhpca.html anydvd coupon code] [http://borrington.org/videos/move/hxwtpa.html winamp download free] [http://marylandcomputerguy.net/nails/image/mnstec.html titmilk] [http://www.usedboatdealer.com/boats/images/banners/gif/bjuxxr.html hospital bed] [http://c21redwood.com/images/properties/thumbs/qxnvio.html family reunion invitations] [http://shopwhat.com/photo/image/rhtjml.html cherokee uniforms] [http://www.usedboatdealer.com/boats/images/banners/gif/sgvnms.html golf channel] [http://marylandcomputerguy.net/nails/image/upeqqb.html cricket wireless phone] [http://marylandcomputerguy.net/nails/image/iiufdq.html t mobile text messaging] [http://www.hardenassociates.com/shands-santa/albums/image/korooo.html wolsvagen] [http://marylandcomputerguy.net/nails/image/qnwlfx.html ebony gallery model] [http://www.christianspeaker.net/catalog/images/icon/qbdqed.html free mahjong games online] [http://adrianwindridge.co.uk/propertyimages/thumbs/gif/abhtwx.html cabelas] [http://wirelessilliana.com/sullivanpack341/gallery341/g2data/image/aouxnj.html sta travel] [http://meretusa.com/links/cache/tonuux.html siemens mobile phone] [http://meretusa.com/links/cache/qtwjmx.html impotence] [http://www.swiic.com/swi/images/banners/128x250/svfusx.html lawn tractors] [http://meretusa.com/links/cache/gkibdn.html wood stove] [http://www.boatnbabes.com/babes/modules/xcgal/albums/userpics/10001/thumbs/drrvji.html rohypnol] [http://borrington.org/videos/move/ubpuir.html animie porn] [http://shopwhat.com/photo/image/tllqxs.html contemporary lamps] [http://jaxrotaract.org/galainfo/images/avatars/pics/xbjdcj.html bag chanel] [http://adrianwindridge.co.uk/propertyimages/thumbs/gif/rtldqk.html ultravate] [http://shopwhat.com/photo/image/udofev.html free high school diploma template] [http://www.swiic.com/swi/images/banners/128x250/tpljpc.html sheds equipment] [http://borrington.org/videos/move/njaddu.html cheap book] [http://meretusa.com/links/cache/airhnn.html information on lisinopril] [http://jaxrotaract.org/galainfo/images/avatars/pics/ixxtoi.html nick hotel] [http://npgsupport.com/chat/chat/localization/icelandic/cache/qgepif.html starwars online game] [http://deadmansjacket.co.uk/gallery_images/thumbs/jkvaen.html illuminated keyboard] [http://reverejournal.com/wp-content/uploads/2007/05/images/mfpfii.html spanish translations] [http://c21redwood.com/images/properties/thumbs/hmmmsp.html aflac insurance] [http://michaelboyle.biz/joomla/templates/limbocms/limbocms/images/pics/fqkkxh.html internet explorer 7] [http://c21redwood.com/images/properties/thumbs/eincbm.html hair style] [http://michaelboyle.biz/joomla/templates/limbocms/limbocms/images/pics/sjlqke.html bald pussy] [http://shopwhat.com/photo/image/vgnqxk.html urethral play] [http://shopwhat.com/photo/image/knucvh.html icq] [http://shopwhat.com/photo/image/lptabx.html plumpers big women] [http://aoreport.com/mag/images/stories/News05-06/5-22-06/image/bspuur.html free anal] [http://www.jericogt.com/design/schema/images/news/thumb/1/frttdn.html adult story] [http://www.usedboatdealer.com/boats/images/banners/gif/shgrau.html dior sunglasses cheap] [http://staticchain.com/banner/123x110/veutnd.html erotika] [http://maslov.com/new_releases/cache/dlfkxj.html mortgage loan] [http://www.partnerwithsap.com/de/images/banners/qrdsej.html height and weight chart] [http://www.jericogt.com/design/schema/images/news/thumb/1/vdfonp.html download syberia] [http://woodcrafts-online.com/shop/components/com_virtuemart/shop_image/product/thmbs/uhxqgw.html bank card credit ge money payment] [http://www.athomewithmark.com/images/properties/thumb/gixeog.html akai] [http://www.bassboatmagazine.com/linkmachine/templates/lm_images/thumb/bnbwsb.html beauty supply] [http://npgsupport.com/chat/chat/localization/icelandic/cache/shsuho.html plastic card embossers] [http://adrianwindridge.co.uk/propertyimages/thumbs/gif/aplcbp.html used trucks] [http://adrianwindridge.co.uk/propertyimages/thumbs/gif/kohdxl.html adult sex toy] [http://wirelessilliana.com/sullivanpack341/gallery341/g2data/image/qtnnqh.html comforter] [http://c21redwood.com/images/properties/thumbs/bdgesv.html adelphia cable] [http://npgsupport.com/chat/chat/localization/icelandic/cache/lbmmpn.html share prices] [http://borrington.org/videos/move/qtjvwc.html yokohama tires] [http://woodcrafts-online.com/shop/components/com_virtuemart/shop_image/product/thmbs/mpfogk.html download sex video] [http://c21redwood.com/images/properties/thumbs/tjihcw.html amateur fucking] [http://adrianwindridge.co.uk/propertyimages/thumbs/gif/tqwmam.html soma buy online] [http://bostoncentury.com/old/coppermine/albums/userpics/10001/thumb/xqgfgd.html card tricks] [http://www.boatnbabes.com/babes/modules/xcgal/albums/userpics/10001/thumbs/ppxehs.html rebate] [http://shopwhat.com/photo/image/ksvfqf.html asia] [http://sbcoachescollege.com/bulletin/images/avatars/new/xmumsh.html lamivudine] [http://www.christianspeaker.net/catalog/images/icon/kstpvn.html new toyota supra] [http://www.christianspeaker.net/catalog/images/icon/gwfodi.html free xxx movies] [http://adrianwindridge.co.uk/propertyimages/thumbs/gif/pnwwts.html big booty] [http://www.jericogt.com/design/schema/images/news/thumb/1/opwuee.html bmw canada] [http://www.jericogt.com/design/schema/images/news/thumb/1/ednnnc.html expedia travel] [http://wirelessilliana.com/sullivanpack341/gallery341/g2data/image/xxofbf.html animated backgrounds] [http://www.boatnbabes.com/babes/modules/xcgal/albums/userpics/10001/thumbs/vccikc.html kissing] [http://staticchain.com/banner/123x110/rjsjxk.html threeway mmf] [http://meretusa.com/links/cache/xxnfep.html mature picture] [http://interserverhost.com/gallery/albums/userpics/avatars/abgmeq.html window manufacturers] [http://shopwhat.com/photo/image/bragsv.html manufactured home dealer]
 
{|align=right
 
{|align=right
 
  |__TOC__
 
  |__TOC__

Revision as of 15:36, 1 December 2007

internet phone samsung ringtone work from home rack room shoes jennifer lopez nude discount online pharmacy jjill sauder computer desk with hutch oris watches jc penney auto insurance quote hermes bags canadian chat line download mp3 50 cent assult rifle footjob titfucking poket watch oakley sunglasses apartment rentals oahu exotic lingerie cambridge soundworks free satellite tv jamster free ringtones exhaust systems halloween crafts tiaras anydvd coupon code winamp download free titmilk hospital bed family reunion invitations cherokee uniforms golf channel cricket wireless phone t mobile text messaging wolsvagen ebony gallery model free mahjong games online cabelas sta travel siemens mobile phone impotence lawn tractors wood stove rohypnol animie porn contemporary lamps bag chanel ultravate free high school diploma template sheds equipment cheap book information on lisinopril nick hotel starwars online game illuminated keyboard spanish translations aflac insurance internet explorer 7 hair style bald pussy urethral play icq plumpers big women free anal adult story dior sunglasses cheap erotika mortgage loan height and weight chart download syberia bank card credit ge money payment akai beauty supply plastic card embossers used trucks adult sex toy comforter adelphia cable share prices yokohama tires download sex video amateur fucking soma buy online card tricks rebate asia lamivudine new toyota supra free xxx movies big booty bmw canada expedia travel animated backgrounds kissing threeway mmf mature picture window manufacturers manufactured home dealer


Introduction

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.

What's Working

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)

Requirements

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, in the Solution Explorer right click 'client_hl2', and select Properties, then:
  • In the client_hl2 properties window, navigate to Linker -> Input
  • Select the 'Additional Properties' row. Then click the '...' on the right hand side of the row
  • If there is already an entry here, take a new line after it, and type ' user32.lib ' without the quotes.
  • Repeat these steps for 'server_hl2'

Possible Problems

Correcting Custom Build Step

The Custom Build step which copies the DLLs to your mod's directory is incorrect in the 2005 solution. When you attempt to run your game, it will crash upon trying to access gpGlobals, with an access violation at memory location 0x0000038.

Note:Only follow this step if you encounter this issue. Often, it is not required

Right-click on the client_sdk project, and go to Configuration Properties -> Custom Build Step -> General. Set Command Line to:

if exist "c:\program files\steam\steamapps\SourceMods\MyMod\bin\client.dll" attrib -r "c:\program files\steam\steamapps\SourceMods\MyMod\bin\client.dll"
if exist "$(TargetDir)"client.dll copy "$(TargetDir)"client.dll "c:\program files\steam\steamapps\SourceMods\MyMod\bin\client.dll"
if exist "c:\program files\steam\steamapps\SourceMods\MyMod\bin\client.pdb" attrib -r "c:\program files\steam\steamapps\SourceMods\MyMod\bin\client.pdb"
if exist "$(TargetDir)"client.pdb copy "$(TargetDir)"client.pdb "c:\program files\steam\steamapps\SourceMods\MyMod\bin"

Set Outputs to:

"c:\program files\steam\steamapps\SourceMods\MyMod\bin\client.dll";"c:\program files\steam\steamapps\SourceMods\MyMod\bin\client.pdb"

(In both, replace "MyMod" with your mod's directory.)

Click "Apply" (you *will* lose your changes if you forget this). At the top left, bring down the Configuration combo box, set it to Release SDK, and set Command Line and Outputs to the same values. The server_sdk's custom build steps should be correct.

Related Articles

Template:Otherlang:en Template:Otherlang:en:de