Need help with fixing the source code

Grab your favourite IDE and tinker with the innards of game engines

Need help with fixing the source code

Postby ExplosiveCheese on Sun Feb 10, 2013 5:45 pm

I tried my best to follow the programming guides at the valve developer wiki, and I have run across some errors that prevent me from compiling. I have no clue what's causing these errors. The first one is an error that says it cannot load library content, which I know is an engine error. The second says a triggered breakpoint is detected. I've tried to compile in release mode, which it does successfully, but I get a referenced memory error when I try to start the mod from both steam and the compiler. :x
Here is the compile log:

Code: Select all
'hl2.exe': Loaded 'C:\Program Files\Steam\steamapps\explosive_cheese6794\source sdk base 2007\hl2.exe', Cannot find or open the PDB file
'hl2.exe': Loaded 'C:\WINDOWS\system32\ntdll.dll', Cannot find or open the PDB file
'hl2.exe': Loaded 'C:\WINDOWS\system32\kernel32.dll', Cannot find or open the PDB file
'hl2.exe': Loaded 'C:\WINDOWS\system32\user32.dll', Cannot find or open the PDB file
'hl2.exe': Loaded 'C:\WINDOWS\system32\gdi32.dll', Cannot find or open the PDB file
'hl2.exe': Loaded 'C:\WINDOWS\system32\shimeng.dll', Cannot find or open the PDB file
'hl2.exe': Unloaded 'C:\WINDOWS\system32\shimeng.dll'
'hl2.exe': Loaded 'C:\Program Files\Steam\steamapps\explosive_cheese6794\source sdk base 2007\bin\launcher.dll', Cannot find or open the PDB file
'hl2.exe': Loaded 'C:\WINDOWS\system32\wsock32.dll', Cannot find or open the PDB file
'hl2.exe': Loaded 'C:\WINDOWS\system32\ws2_32.dll', Cannot find or open the PDB file
'hl2.exe': Loaded 'C:\WINDOWS\system32\advapi32.dll', Cannot find or open the PDB file
'hl2.exe': Loaded 'C:\WINDOWS\system32\rpcrt4.dll', Cannot find or open the PDB file
'hl2.exe': Loaded 'C:\WINDOWS\system32\secur32.dll', Cannot find or open the PDB file
'hl2.exe': Loaded 'C:\WINDOWS\system32\msvcrt.dll', Cannot find or open the PDB file
'hl2.exe': Loaded 'C:\WINDOWS\system32\ws2help.dll', Cannot find or open the PDB file
'hl2.exe': Loaded 'C:\WINDOWS\system32\shell32.dll', Cannot find or open the PDB file
'hl2.exe': Loaded 'C:\WINDOWS\system32\shlwapi.dll', Cannot find or open the PDB file
'hl2.exe': Loaded 'C:\WINDOWS\system32\ole32.dll', Cannot find or open the PDB file
'hl2.exe': Loaded 'C:\Program Files\Steam\steamapps\explosive_cheese6794\source sdk base 2007\bin\tier0.dll', Cannot find or open the PDB file
'hl2.exe': Loaded 'C:\Program Files\Steam\steamapps\explosive_cheese6794\source sdk base 2007\bin\steam_api.dll', Cannot find or open the PDB file
'hl2.exe': Loaded 'C:\Program Files\Steam\steamapps\explosive_cheese6794\source sdk base 2007\bin\vstdlib.dll', Cannot find or open the PDB file
'hl2.exe': Loaded 'C:\WINDOWS\WinSxS\x86_Microsoft.Windows.Common-Controls_6595b64144ccf1df_6.0.2600.6028_x-ww_61e65202\comctl32.dll', Cannot find or open the PDB file
'hl2.exe': Loaded 'C:\WINDOWS\system32\comctl32.dll', Cannot find or open the PDB file
'hl2.exe': Loaded 'C:\Program Files\Steam\GameOverlayRenderer.dll', Cannot find or open the PDB file
'hl2.exe': Loaded 'C:\WINDOWS\system32\imm32.dll', Cannot find or open the PDB file
'hl2.exe': Loaded 'C:\Program Files\Steam\steamapps\explosive_cheese6794\source sdk base 2007\bin\FileSystem_Steam.dll', Cannot find or open the PDB file
'hl2.exe': Loaded 'C:\Program Files\Steam\Steam.dll', Cannot find or open the PDB file
'hl2.exe': Loaded 'C:\WINDOWS\system32\version.dll', Cannot find or open the PDB file
'hl2.exe': Loaded 'C:\WINDOWS\system32\mswsock.dll', Cannot find or open the PDB file
'hl2.exe': Loaded 'C:\WINDOWS\system32\dnsapi.dll', Cannot find or open the PDB file
First-chance exception at 0x7c812fd3 in hl2.exe: 0x000006BA: The RPC server is unavailable.
'hl2.exe': Loaded 'C:\WINDOWS\system32\iphlpapi.dll', Cannot find or open the PDB file
'hl2.exe': Loaded 'C:\WINDOWS\system32\winrnr.dll', Cannot find or open the PDB file
'hl2.exe': Loaded 'C:\WINDOWS\system32\wldap32.dll', Cannot find or open the PDB file
'hl2.exe': Loaded 'C:\Program Files\Bonjour\mdnsNSP.dll', Cannot find or open the PDB file
First-chance exception at 0x7c812fd3 in hl2.exe: 0x000006BA: The RPC server is unavailable.
First-chance exception at 0x7c812fd3 in hl2.exe: 0x000006BA: The RPC server is unavailable.
'hl2.exe': Loaded 'C:\WINDOWS\system32\rasadhlp.dll', Cannot find or open the PDB file
First-chance exception at 0x7c812fd3 in hl2.exe: Microsoft C++ exception: common::CNamedArgsUndefinedNameException at memory location 0x0013e068..
First-chance exception at 0x7c812fd3 in hl2.exe: Microsoft C++ exception: common::CNamedArgsUndefinedNameException at memory location 0x0013e034..
'hl2.exe': Loaded 'C:\Program Files\Steam\dbghelp.dll', Cannot find or open the PDB file
'hl2.exe': Loaded 'C:\Program Files\Steam\CSERHelper.dll', Cannot find or open the PDB file
The thread 'CThread' (0x5a8) has exited with code 0 (0x0).
First-chance exception at 0x7c812fd3 in hl2.exe: Microsoft C++ exception: common::CRuntimeError at memory location 0x0013e170..
First-chance exception at 0x7c812fd3 in hl2.exe: Microsoft C++ exception: common::CNamedArgsUndefinedNameException at memory location 0x0013e05c..
'hl2.exe': Loaded 'C:\WINDOWS\system32\uxtheme.dll', Cannot find or open the PDB file
'hl2.exe': Loaded 'C:\WINDOWS\system32\msctf.dll', Cannot find or open the PDB file
'hl2.exe': Loaded 'C:\Program Files\Steam\steamapps\explosive_cheese6794\source sdk base 2007\bin\engine.dll', Cannot find or open the PDB file
'hl2.exe': Loaded 'C:\WINDOWS\system32\winmm.dll', Cannot find or open the PDB file
'hl2.exe': Loaded 'C:\WINDOWS\system32\wininet.dll', Cannot find or open the PDB file
'hl2.exe': Loaded 'C:\WINDOWS\system32\normaliz.dll', Cannot find or open the PDB file
'hl2.exe': Loaded 'C:\WINDOWS\system32\urlmon.dll', Cannot find or open the PDB file
'hl2.exe': Loaded 'C:\WINDOWS\system32\oleaut32.dll', Cannot find or open the PDB file
'hl2.exe': Loaded 'C:\WINDOWS\system32\iertutil.dll', Cannot find or open the PDB file
'hl2.exe': Loaded 'C:\Program Files\Steam\steamapps\explosive_cheese6794\source sdk base 2007\bin\binkw32.dll', Cannot find or open the PDB file
'hl2.exe': Loaded 'C:\Program Files\Steam\steamapps\explosive_cheese6794\source sdk base 2007\bin\inputsystem.dll', Cannot find or open the PDB file
'hl2.exe': Loaded 'C:\Program Files\Steam\steamapps\explosive_cheese6794\source sdk base 2007\bin\MaterialSystem.dll', Cannot find or open the PDB file
'hl2.exe': Loaded 'C:\Program Files\Steam\steamapps\explosive_cheese6794\source sdk base 2007\bin\datacache.dll', Cannot find or open the PDB file
'hl2.exe': Loaded 'C:\Program Files\Steam\steamapps\explosive_cheese6794\source sdk base 2007\bin\StudioRender.dll', Cannot find or open the PDB file
'hl2.exe': Loaded 'C:\Program Files\Steam\steamapps\explosive_cheese6794\source sdk base 2007\bin\vphysics.dll', Cannot find or open the PDB file
'hl2.exe': Loaded 'C:\Program Files\Steam\steamapps\explosive_cheese6794\source sdk base 2007\bin\valve_avi.dll', Cannot find or open the PDB file
'hl2.exe': Loaded 'C:\WINDOWS\system32\avifil32.dll', Cannot find or open the PDB file
'hl2.exe': Loaded 'C:\WINDOWS\system32\msacm32.dll', Cannot find or open the PDB file
'hl2.exe': Loaded 'C:\WINDOWS\system32\msvfw32.dll', Cannot find or open the PDB file
'hl2.exe': Loaded 'C:\Program Files\Steam\steamapps\explosive_cheese6794\source sdk base 2007\bin\vguimatsurface.dll', Cannot find or open the PDB file
'hl2.exe': Loaded 'C:\Program Files\Steam\steamapps\explosive_cheese6794\source sdk base 2007\bin\vgui2.dll', Cannot find or open the PDB file
'hl2.exe': Loaded 'C:\Program Files\Steam\steamapps\explosive_cheese6794\source sdk base 2007\bin\shaderapidx9.dll', Cannot find or open the PDB file
'hl2.exe': Loaded 'C:\WINDOWS\system32\d3d9.dll', Cannot find or open the PDB file
'hl2.exe': Loaded 'C:\WINDOWS\system32\d3d8thk.dll', Cannot find or open the PDB file
'hl2.exe': Loaded 'C:\WINDOWS\system32\kbdus.dll', Cannot find or open the PDB file
'hl2.exe': Unloaded 'C:\WINDOWS\system32\kbdus.dll'
'hl2.exe': Loaded 'C:\Program Files\Steam\steamapps\explosive_cheese6794\source sdk base 2007\bin\xinput1_3.dll', Cannot find or open the PDB file
'hl2.exe': Loaded 'C:\WINDOWS\system32\setupapi.dll', Cannot find or open the PDB file
'hl2.exe': Loaded 'C:\WINDOWS\system32\wintrust.dll', Cannot find or open the PDB file
'hl2.exe': Loaded 'C:\WINDOWS\system32\crypt32.dll', Cannot find or open the PDB file
'hl2.exe': Loaded 'C:\WINDOWS\system32\msasn1.dll', Cannot find or open the PDB file
'hl2.exe': Loaded 'C:\WINDOWS\system32\imagehlp.dll', Cannot find or open the PDB file
'hl2.exe': Loaded 'C:\WINDOWS\system32\dinput.dll', Cannot find or open the PDB file
'hl2.exe': Loaded 'C:\WINDOWS\system32\hid.dll', Cannot find or open the PDB file
'hl2.exe': Loaded 'C:\WINDOWS\system32\mscat32.dll', Cannot find or open the PDB file
'hl2.exe': Loaded 'C:\WINDOWS\system32\xpsp2res.dll', Binary was not built with debug information.
'hl2.exe': Loaded 'C:\WINDOWS\system32\rsaenh.dll', Cannot find or open the PDB file
'hl2.exe': Loaded 'C:\WINDOWS\system32\userenv.dll', Cannot find or open the PDB file
'hl2.exe': Loaded 'C:\WINDOWS\system32\netapi32.dll', Cannot find or open the PDB file
'hl2.exe': Loaded 'C:\WINDOWS\system32\cryptnet.dll', Cannot find or open the PDB file
'hl2.exe': Loaded 'C:\WINDOWS\system32\psapi.dll', Cannot find or open the PDB file
'hl2.exe': Loaded 'C:\WINDOWS\system32\sensapi.dll', Cannot find or open the PDB file
'hl2.exe': Loaded 'C:\WINDOWS\system32\winhttp.dll', Cannot find or open the PDB file
'hl2.exe': Unloaded 'C:\WINDOWS\system32\mscat32.dll'
'hl2.exe': Loaded 'C:\WINDOWS\system32\mscat32.dll', Cannot find or open the PDB file
'hl2.exe': Unloaded 'C:\WINDOWS\system32\mscat32.dll'
'hl2.exe': Loaded 'C:\Program Files\Steam\steamapps\explosive_cheese6794\source sdk base 2007\bin\stdshader_dbg.dll', Cannot find or open the PDB file
'hl2.exe': Loaded 'C:\Program Files\Steam\steamapps\explosive_cheese6794\source sdk base 2007\bin\stdshader_dx6.dll', Cannot find or open the PDB file
'hl2.exe': Loaded 'C:\Program Files\Steam\steamapps\explosive_cheese6794\source sdk base 2007\bin\stdshader_dx7.dll', Cannot find or open the PDB file
'hl2.exe': Loaded 'C:\Program Files\Steam\steamapps\explosive_cheese6794\source sdk base 2007\bin\stdshader_dx8.dll', Cannot find or open the PDB file
'hl2.exe': Loaded 'C:\Program Files\Steam\steamapps\explosive_cheese6794\source sdk base 2007\bin\stdshader_dx9.dll', Cannot find or open the PDB file
'hl2.exe': Loaded 'C:\WINDOWS\system32\clbcatq.dll', Cannot find or open the PDB file
'hl2.exe': Loaded 'C:\WINDOWS\system32\comres.dll', Cannot find or open the PDB file
'hl2.exe': Loaded 'C:\WINDOWS\system32\wbem\wbemprox.dll', Cannot find or open the PDB file
'hl2.exe': Loaded 'C:\WINDOWS\system32\wbem\wbemcomn.dll', Cannot find or open the PDB file
'hl2.exe': Loaded 'C:\WINDOWS\system32\wbem\wbemsvc.dll', Cannot find or open the PDB file
'hl2.exe': Loaded 'C:\WINDOWS\system32\wbem\fastprox.dll', Cannot find or open the PDB file
'hl2.exe': Loaded 'C:\WINDOWS\system32\msvcp60.dll', Cannot find or open the PDB file
'hl2.exe': Loaded 'C:\WINDOWS\system32\ntdsapi.dll', Cannot find or open the PDB file
'hl2.exe': Loaded 'C:\Program Files\Steam\steamapps\explosive_cheese6794\source sdk base 2007\bin\unicode.dll', Cannot find or open the PDB file
'hl2.exe': Unloaded 'C:\Program Files\Steam\steamapps\explosive_cheese6794\source sdk base 2007\bin\unicode.dll'
'hl2.exe': Loaded 'C:\WINDOWS\system32\mslbui.dll', Cannot find or open the PDB file
hl2.exe has triggered a breakpoint
The thread 'ClientCallbackAgent' (0x254) has exited with code 100 (0x64).
The thread 'BlobRegistry Watchdog' (0x8f8) has exited with code 100 (0x64).
The thread 'IOJob0' (0xfb8) has exited with code 100 (0x64).
The thread 'Win32 Thread' (0xdd0) has exited with code 100 (0x64).
The thread 'IOJob1' (0xf8c) has exited with code 100 (0x64).
The thread 'Win32 Thread' (0xefc) has exited with code 100 (0x64).
The thread 'Win32 Thread' (0x788) has exited with code 100 (0x64).
The thread 'Win32 Thread' (0xd64) has exited with code 100 (0x64).
The thread 'Win32 Thread' (0x824) has exited with code 100 (0x64).
The thread 'Win32 Thread' (0xca8) has exited with code 100 (0x64).
The thread 'Win32 Thread' (0xeec) has exited with code 100 (0x64).
The thread 'MainThrd' (0xab4) has exited with code 100 (0x64).
The thread 'Win32 Thread' (0xbbc) has exited with code 100 (0x64).
The thread 'Win32 Thread' (0xfc8) has exited with code 100 (0x64).
The program '[2164] hl2.exe: Native' has exited with code 100 (0x64).
ExplosiveCheese
Dumpling
Dumpling
 
Joined: Sun Feb 10, 2013 3:55 pm

Re: Need help with fixing the source code

Postby MrTwoVideoCards on Sun Feb 10, 2013 5:54 pm

are you on a legit copy of windows?
User avatar
MrTwoVideoCards
Monothetic
 
Joined: Thu Aug 02, 2007 11:18 am
Location: IN YOUR SOUL

Re: Need help with fixing the source code

Postby ExplosiveCheese on Sun Feb 10, 2013 5:59 pm

MrTwoVideoCards wrote:are you on a legit copy of windows?


Yeah, of course I am. I'm using windows XP, it's old but it should still work. I'm using Visual 2010 Express for the coding.
ExplosiveCheese
Dumpling
Dumpling
 
Joined: Sun Feb 10, 2013 3:55 pm

Re: Need help with fixing the source code

Postby LordDz on Sun Feb 10, 2013 6:37 pm

First, check this:
https://developer.valvesoftware.com/wik ... der_VS2010
https://developer.valvesoftware.com/wik ... ompilation

If that shouldn't work (which it should), a simple google on Cannot find or open the PDB file gave this:
http://social.msdn.microsoft.com/Forums ... bf4a037ea0

They seem to have some solutions.
User avatar
LordDz
May Contain Skills
May Contain Skills
 
Joined: Mon Sep 01, 2008 12:28 pm
Location: Hammer Crash Logs

Re: Need help with fixing the source code

Postby zombie@computer on Sun Feb 10, 2013 7:42 pm

LordDz wrote:First, check this:
https://developer.valvesoftware.com/wik ... der_VS2010
https://developer.valvesoftware.com/wik ... ompilation

If that shouldn't work (which it should), a simple google on Cannot find or open the PDB file gave this:
http://social.msdn.microsoft.com/Forums ... bf4a037ea0

They seem to have some solutions.

'cannot find the pdb' is normal. There is no debug information for compiled windows or source engine dlls.
When you are up to your neck in shit, keep your head up high
zombie@computer
Forum Goer Elite™
Forum Goer Elite™
 
Joined: Fri Dec 31, 2004 5:58 pm
Location: Lent, Netherlands

Re: Need help with fixing the source code

Postby ExplosiveCheese on Sun Feb 10, 2013 11:56 pm

So if the "cannot open PBD" message is normal, what did I do wrong? Here is 2 screenshots of the errors I'm talking about. I think the library content error is due to wrong pathways or something like that, not sure about the breakpoint error.

Image



Image


Maybe I should delete the whole thing and start from scratch. :oops:
ExplosiveCheese
Dumpling
Dumpling
 
Joined: Sun Feb 10, 2013 3:55 pm

Re: Need help with fixing the source code

Postby Gary on Mon Feb 11, 2013 3:10 am

Maybe your .dll(s) are not being copied. What files are in your sourcemods/<YOUR MOD>/bins directory?
Have a question related to modding or something I posted? Something that needs staff attention? I haven't been active lately, but feel free to PM me or message me on Steam(link below)

User avatar
Gary
Interlopers Staff
Interlopers Staff
 
Joined: Wed Dec 16, 2009 12:40 am
Location: USA, FL

Re: Need help with fixing the source code

Postby ExplosiveCheese on Mon Feb 11, 2013 9:28 pm

Gary wrote:Maybe your .dll(s) are not being copied. What files are in your sourcemods/<YOUR MOD>/bins directory?


Ah, your right. The files aren't being copied, and if I use this fix from here
https://developer.valvesoftware.com/wik ... le_Copying

Do I just put $(TargetPath) or do I add that and then the directory to the bin folder?

*EDIT* I'm just gonna start the whole thing over, I keep finding more errors than solutions.
ExplosiveCheese
Dumpling
Dumpling
 
Joined: Sun Feb 10, 2013 3:55 pm

Return to Programming

Who is online

Users browsing this forum: No registered users