source-sdk-2013 icon indicating copy to clipboard operation
source-sdk-2013 copied to clipboard

Can't build Game_HL2-2010.

Open MrMuffinz opened this issue 13 years ago • 5 comments

I set up everything correctly, but when I go to debug, it gives me the errors: "Debugging info for 'hl2.exe' cannot be found or does not match. Cannot find or open the PDB file

Do you want to continute debugging?"

I then click yes, and it gives me:

Setup file 'gameinfo.txt' doesn't exist in subdirectory 'hl2'. Check your -game parameter or VCONFIG setting.

I am lost, I have no clue what to do.

MrMuffinz avatar Jul 02 '13 05:07 MrMuffinz

Right click on Client in Game_HL2_2010.sln and Select Properties -> Debugging -> At Command Arguments add the following: -game "Path To Mod"

Hope it helps! fix

coderiekelt avatar Jul 02 '13 09:07 coderiekelt

Its much more elegant to use a property sheet than to paste full paths directly into vc++. Here's a tutorial of mine that I just updated recently for 2013. http://www.ctwhalen.com/tutorials/property%20sheets.php

Chris528 avatar Jul 02 '13 14:07 Chris528

What are your debugging options set to? If you're trying to run -game hl2 or no args at all that's not going to work. Not only is gameinfo.txt missing, but so are client.dll and server.dll for HL2.

JoeLudwig avatar Jul 02 '13 15:07 JoeLudwig

Joe, I had fully ran the solutions of each required, and even built the first one. Client and server were both built, and I even have a gameinfo.txt in my mod-hl2 folder.

MrMuffinz avatar Jul 03 '13 02:07 MrMuffinz

Oh, I just figured out I need -game right behind the path.

Thanks code!

MrMuffinz avatar Jul 03 '13 02:07 MrMuffinz