Developer forums (C::B DEVELOPMENT STRICTLY!) > Development

Debugging

<< < (2/3) > >>

takeshimiya:
Cideblocks :lol:

Probably http://wiki.codeblocks.org/ will work better. :P

cborders:
Ok, I am still trying to get this working.  I downloaded the prebuild SVN-HEAD and installed it, reset all of my includes and linker paths butb now my app runs fin under the Release build, but crashes under the Debug build.  I tried to debug the app, which is why I started this process and I got this error:

So I try to set it up, but it's already set:

So I think, what in the world is going on!  It looks like it's already set up! So I click on the browse button and find that cbd.exe doesn't exist!

 :shock:  I know that I'm probably doing something wrong so what should I do now?

Frank3000:
Hi,
you have to install the Debugging Tools for Windows.
http://www.microsoft.com/whdc/devtools/debugging/installx86.mspx
And add the installation path to: Compiler Settings->Programs->Additional Paths

Frank

cborders:
I just downloaded it and installed it.  Then under Settings->Compiler->Programs->Additional Paths I added the path to where it installed and now when I build the debug version I get a lot of linker warnings.

--- Code: ----------------- Build: Debug in BSP_Test ---------------
main.cpp
Linking console executable: Debug\BSP.exe
LINK : LNK6004: Debug\BSP.exe not found or not built by the last incremental link; performing full link
LIBC.lib(fp8.obj) : warning LNK4099: PDB 'libc.pdb' was not found with 'C:\Program Files\Microsoft Visual C++ Toolkit 2003\lib\LIBC.lib' or at 'C:\Documents and Settings\cborders\My Documents\Virtual Tower\BSP\Debug\libc.pdb'; linking object as if no debug info
LIBC.lib(wincrt0.obj) : warning LNK4099: PDB 'libc.pdb' was not found with 'C:\Program Files\Microsoft Visual C++ Toolkit 2003\lib\LIBC.lib' or at 'C:\Documents and Settings\cborders\My Documents\Virtual Tower\BSP\Debug\libc.pdb'; linking object as if no debug info
LIBC.lib(wincmdln.obj) : warning LNK4099: PDB 'libc.pdb' was not found with 'C:\Program Files\Microsoft Visual C++ Toolkit 2003\lib\LIBC.lib' or at 'C:\Documents and Settings\cborders\My Documents\Virtual Tower\BSP\Debug\libc.pdb'; linking object as if no debug info
LIBC.lib(stdenvp.obj) : warning LNK4099: PDB 'libc.pdb' was not found with 'C:\Program Files\Microsoft Visual C++ Toolkit 2003\lib\LIBC.lib' or at 'C:\Documents and Settings\cborders\My Documents\Virtual Tower\BSP\Debug\libc.pdb'; linking object as if no debug info
LIBC.lib(stdargv.obj) : warning LNK4099: PDB 'libc.pdb' was not found with 'C:\Program Files\Microsoft Visual C++ Toolkit 2003\lib\LIBC.lib' or at 'C:\Documents and Settings\cborders\My Documents\Virtual Tower\BSP\Debug\libc.pdb'; linking object as if no debug info
LIBC.lib(crt0msg.obj) : warning LNK4099: PDB 'libc.pdb' was not found with 'C:\Program Files\Microsoft Visual C++ Toolkit 2003\lib\LIBC.lib' or at 'C:\Documents and Settings\cborders\My Documents\Virtual Tower\BSP\Debug\libc.pdb'; linking object as if no debug info
LIBC.lib(crt0init.obj) : warning LNK4099: PDB 'libc.pdb' was not found with 'C:\Program Files\Microsoft Visual C++ Toolkit 2003\lib\LIBC.lib' or at 'C:\Documents and Settings\cborders\My Documents\Virtual Tower\BSP\Debug\libc.pdb'; linking object as if no debug info
LIBC.lib(crt0fp.obj) : warning LNK4099: PDB 'libc.pdb' was not found with 'C:\Program Files\Microsoft Visual C++ Toolkit 2003\lib\LIBC.lib' or at 'C:\Documents and Settings\cborders\My Documents\Virtual Tower\BSP\Debug\libc.pdb'; linking object as if no debug info
LIBC.lib(crt0dat.obj) : warning LNK4099: PDB 'libc.pdb' was not found with 'C:\Program Files\Microsoft Visual C++ Toolkit 2003\lib\LIBC.lib' or at 'C:\Documents and Settings\cborders\My Documents\Virtual Tower\BSP\Debug\libc.pdb'; linking object as if no debug info
LIBC.lib(winxfltr.obj) : warning LNK4099: PDB 'libc.pdb' was not found with 'C:\Program Files\Microsoft Visual C++ Toolkit 2003\lib\LIBC.lib' or at 'C:\Documents and Settings\cborders\My Documents\Virtual Tower\BSP\Debug\libc.pdb'; linking object as if no debug info
LIBC.lib(winsig.obj) : warning LNK4099: PDB 'libc.pdb' was not found with 'C:\Program Files\Microsoft Visual C++ Toolkit 2003\lib\LIBC.lib' or at 'C:\Documents and Settings\cborders\My Documents\Virtual Tower\BSP\Debug\libc.pdb'; linking object as if no debug info
LIBC.lib(convrtcp.obj) : warning LNK4099: PDB 'libc.pdb' was not found with 'C:\Program Files\Microsoft Visual C++ Toolkit 2003\lib\LIBC.lib' or at 'C:\Documents and Settings\cborders\My Documents\Virtual Tower\BSP\Debug\libc.pdb'; linking object as if no debug info
LIBC.lib(onexit.obj) : warning LNK4099: PDB 'libc.pdb' was not found with 'C:\Program Files\Microsoft Visual C++ Toolkit 2003\lib\LIBC.lib' or at 'C:\Documents and Settings\cborders\My Documents\Virtual Tower\BSP\Debug\libc.pdb'; linking object as if no debug info
LIBC.lib(nlsdata2.obj) : warning LNK4099: PDB 'libc.pdb' was not found with 'C:\Program Files\Microsoft Visual C++ Toolkit 2003\lib\LIBC.lib' or at 'C:\Documents and Settings\cborders\My Documents\Virtual Tower\BSP\Debug\libc.pdb'; linking object as if no debug info
LIBC.lib(nlsdata1.obj) : warning LNK4099: PDB 'libc.pdb' was not found with 'C:\Program Files\Microsoft Visual C++ Toolkit 2003\lib\LIBC.lib' or at 'C:\Documents and Settings\cborders\My Documents\Virtual Tower\BSP\Debug\libc.pdb'; linking object as if no debug info
LIBC.lib(ctype.obj) : warning LNK4099: PDB 'libc.pdb' was not found with 'C:\Program Files\Microsoft Visual C++ Toolkit 2003\lib\LIBC.lib' or at 'C:\Documents and Settings\cborders\My Documents\Virtual Tower\BSP\Debug\libc.pdb'; linking object as if no debug info
LIBC.lib(crtmbox.obj) : warning LNK4099: PDB 'libc.pdb' was not found with 'C:\Program Files\Microsoft Visual C++ Toolkit 2003\lib\LIBC.lib' or at 'C:\Documents and Settings\cborders\My Documents\Virtual Tower\BSP\Debug\libc.pdb'; linking object as if no debug info
LIBC.lib(cmiscdat.obj) : warning LNK4099: PDB 'libc.pdb' was not found with 'C:\Program Files\Microsoft Visual C++ Toolkit 2003\lib\LIBC.lib' or at 'C:\Documents and Settings\cborders\My Documents\Virtual Tower\BSP\Debug\libc.pdb'; linking object as if no debug info
LIBC.lib(abort.obj) : warning LNK4099: PDB 'libc.pdb' was not found with 'C:\Program Files\Microsoft Visual C++ Toolkit 2003\lib\LIBC.lib' or at 'C:\Documents and Settings\cborders\My Documents\Virtual Tower\BSP\Debug\libc.pdb'; linking object as if no debug info
LIBC.lib(a_str.obj) : warning LNK4099: PDB 'libc.pdb' was not found with 'C:\Program Files\Microsoft Visual C++ Toolkit 2003\lib\LIBC.lib' or at 'C:\Documents and Settings\cborders\My Documents\Virtual Tower\BSP\Debug\libc.pdb'; linking object as if no debug info
LIBC.lib(a_map.obj) : warning LNK4099: PDB 'libc.pdb' was not found with 'C:\Program Files\Microsoft Visual C++ Toolkit 2003\lib\LIBC.lib' or at 'C:\Documents and Settings\cborders\My Documents\Virtual Tower\BSP\Debug\libc.pdb'; linking object as if no debug info
LIBC.lib(a_env.obj) : warning LNK4099: PDB 'libc.pdb' was not found with 'C:\Program Files\Microsoft Visual C++ Toolkit 2003\lib\LIBC.lib' or at 'C:\Documents and Settings\cborders\My Documents\Virtual Tower\BSP\Debug\libc.pdb'; linking object as if no debug info
LIBC.lib(secfail.obj) : warning LNK4099: PDB 'libc.pdb' was not found with 'C:\Program Files\Microsoft Visual C++ Toolkit 2003\lib\LIBC.lib' or at 'C:\Documents and Settings\cborders\My Documents\Virtual Tower\BSP\Debug\libc.pdb'; linking object as if no debug info
LIBC.lib(seccook.obj) : warning LNK4099: PDB 'libc.pdb' was not found with 'C:\Program Files\Microsoft Visual C++ Toolkit 2003\lib\LIBC.lib' or at 'C:\Documents and Settings\cborders\My Documents\Virtual Tower\BSP\Debug\libc.pdb'; linking object as if no debug info
LIBC.lib(seccinit.obj) : warning LNK4099: PDB 'libc.pdb' was not found with 'C:\Program Files\Microsoft Visual C++ Toolkit 2003\lib\LIBC.lib' or at 'C:\Documents and Settings\cborders\My Documents\Virtual Tower\BSP\Debug\libc.pdb'; linking object as if no debug info
LIBC.lib(secchk.obj) : warning LNK4099: PDB 'libc.pdb' was not found with 'C:\Program Files\Microsoft Visual C++ Toolkit 2003\lib\LIBC.lib' or at 'C:\Documents and Settings\cborders\My Documents\Virtual Tower\BSP\Debug\libc.pdb'; linking object as if no debug info
LIBC.lib(loadcfg.obj) : warning LNK4099: PDB 'libc.pdb' was not found with 'C:\Program Files\Microsoft Visual C++ Toolkit 2003\lib\LIBC.lib' or at 'C:\Documents and Settings\cborders\My Documents\Virtual Tower\BSP\Debug\libc.pdb'; linking object as if no debug info
LIBC.lib(mbctype.obj) : warning LNK4099: PDB 'libc.pdb' was not found with 'C:\Program Files\Microsoft Visual C++ Toolkit 2003\lib\LIBC.lib' or at 'C:\Documents and Settings\cborders\My Documents\Virtual Tower\BSP\Debug\libc.pdb'; linking object as if no debug info
LIBC.lib(ismbspc.obj) : warning LNK4099: PDB 'libc.pdb' was not found with 'C:\Program Files\Microsoft Visual C++ Toolkit 2003\lib\LIBC.lib' or at 'C:\Documents and Settings\cborders\My Documents\Virtual Tower\BSP\Debug\libc.pdb'; linking object as if no debug info
LIBC.lib(ismbbyte.obj) : warning LNK4099: PDB 'libc.pdb' was not found with 'C:\Program Files\Microsoft Visual C++ Toolkit 2003\lib\LIBC.lib' or at 'C:\Documents and Settings\cborders\My Documents\Virtual Tower\BSP\Debug\libc.pdb'; linking object as if no debug info
LIBC.lib(ioinit.obj) : warning LNK4099: PDB 'libc.pdb' was not found with 'C:\Program Files\Microsoft Visual C++ Toolkit 2003\lib\LIBC.lib' or at 'C:\Documents and Settings\cborders\My Documents\Virtual Tower\BSP\Debug\libc.pdb'; linking object as if no debug info
LIBC.lib(_newmode.obj) : warning LNK4099: PDB 'libc.pdb' was not found with 'C:\Program Files\Microsoft Visual C++ Toolkit 2003\lib\LIBC.lib' or at 'C:\Documents and Settings\cborders\My Documents\Virtual Tower\BSP\Debug\libc.pdb'; linking object as if no debug info
LIBC.lib(handler.obj) : warning LNK4099: PDB 'libc.pdb' was not found with 'C:\Program Files\Microsoft Visual C++ Toolkit 2003\lib\LIBC.lib' or at 'C:\Documents and Settings\cborders\My Documents\Virtual Tower\BSP\Debug\libc.pdb'; linking object as if no debug info
LIBC.lib(sbheap.obj) : warning LNK4099: PDB 'libc.pdb' was not found with 'C:\Program Files\Microsoft Visual C++ Toolkit 2003\lib\LIBC.lib' or at 'C:\Documents and Settings\cborders\My Documents\Virtual Tower\BSP\Debug\libc.pdb'; linking object as if no debug info
LIBC.lib(realloc.obj) : warning LNK4099: PDB 'libc.pdb' was not found with 'C:\Program Files\Microsoft Visual C++ Toolkit 2003\lib\LIBC.lib' or at 'C:\Documents and Settings\cborders\My Documents\Virtual Tower\BSP\Debug\libc.pdb'; linking object as if no debug info
LIBC.lib(msize.obj) : warning LNK4099: PDB 'libc.pdb' was not found with 'C:\Program Files\Microsoft Visual C++ Toolkit 2003\lib\LIBC.lib' or at 'C:\Documents and Settings\cborders\My Documents\Virtual Tower\BSP\Debug\libc.pdb'; linking object as if no debug info
LIBC.lib(malloc.obj) : warning LNK4099: PDB 'libc.pdb' was not found with 'C:\Program Files\Microsoft Visual C++ Toolkit 2003\lib\LIBC.lib' or at 'C:\Documents and Settings\cborders\My Documents\Virtual Tower\BSP\Debug\libc.pdb'; linking object as if no debug info
LIBC.lib(heapinit.obj) : warning LNK4099: PDB 'libc.pdb' was not found with 'C:\Program Files\Microsoft Visual C++ Toolkit 2003\lib\LIBC.lib' or at 'C:\Documents and Settings\cborders\My Documents\Virtual Tower\BSP\Debug\libc.pdb'; linking object as if no debug info
LIBC.lib(free.obj) : warning LNK4099: PDB 'libc.pdb' was not found with 'C:\Program Files\Microsoft Visual C++ Toolkit 2003\lib\LIBC.lib' or at 'C:\Documents and Settings\cborders\My Documents\Virtual Tower\BSP\Debug\libc.pdb'; linking object as if no debug info
LIBC.lib(calloc.obj) : warning LNK4099: PDB 'libc.pdb' was not found with 'C:\Program Files\Microsoft Visual C++ Toolkit 2003\lib\LIBC.lib' or at 'C:\Documents and Settings\cborders\My Documents\Virtual Tower\BSP\Debug\libc.pdb'; linking object as if no debug info
LIBC.lib(resetstk.obj) : warning LNK4099: PDB 'libc.pdb' was not found with 'C:\Program Files\Microsoft Visual C++ Toolkit 2003\lib\LIBC.lib' or at 'C:\Documents and Settings\cborders\My Documents\Virtual Tower\BSP\Debug\libc.pdb'; linking object as if no debug info
LIBC.lib(tolower.obj) : warning LNK4099: PDB 'libc.pdb' was not found with 'C:\Program Files\Microsoft Visual C++ Toolkit 2003\lib\LIBC.lib' or at 'C:\Documents and Settings\cborders\My Documents\Virtual Tower\BSP\Debug\libc.pdb'; linking object as if no debug info
LIBC.lib(isctype.obj) : warning LNK4099: PDB 'libc.pdb' was not found with 'C:\Program Files\Microsoft Visual C++ Toolkit 2003\lib\LIBC.lib' or at 'C:\Documents and Settings\cborders\My Documents\Virtual Tower\BSP\Debug\libc.pdb'; linking object as if no debug info
LIBC.lib(atox.obj) : warning LNK4099: PDB 'libc.pdb' was not found with 'C:\Program Files\Microsoft Visual C++ Toolkit 2003\lib\LIBC.lib' or at 'C:\Documents and Settings\cborders\My Documents\Virtual Tower\BSP\Debug\libc.pdb'; linking object as if no debug info
LIBC.lib(_fptostr.obj) : warning LNK4099: PDB 'libc.pdb' was not found with 'C:\Program Files\Microsoft Visual C++ Toolkit 2003\lib\LIBC.lib' or at 'C:\Documents and Settings\cborders\My Documents\Virtual Tower\BSP\Debug\libc.pdb'; linking object as if no debug info

--- End code ---

cborders:
Ok, I had to download the .NET 1.1 SDK to get the libc.pdb file!  :x
Now it compiles with no warnings, but it still won't run with the debug build.  It runs fine with the Release build so I am not sure what the issue could be.  If someone needs more info please ask and I'll let you know, I just want to get this working!

Navigation

[0] Message Index

[#] Next page

[*] Previous page

Go to full version