User forums > Using Code::Blocks
Configuring VC++2010 Express (free Version) in CB
oBFusCATed:
--- Quote from: oBFusCATed on September 10, 2012, 03:05:26 pm ---But if you don't need vc++ for a specific project I highly recommend to use a mingw release and gdb, with codeblocks
it will be easier and more complete experience. Especially if you're a novice.
--- End quote ---
Maybe you've missed this comment...
p.s. the post explained that you have to put the path to kernel32.lib in the seach directories for the linker...
cacb:
--- Quote from: oBFusCATed on September 10, 2012, 03:05:26 pm ---
--- Quote from: mahaju on September 10, 2012, 02:57:43 pm ---Also, for the toolchain executable tab, how to I set the VC++ 2010 debugger? I cannot find the debugger file there
--- End quote ---
You can't, because the debugger is tightly integrated with the visual studio and external programs doesn't have access to it.
You can debug vc++ programs by installing the "debugging tools for windows", which include the cdb executable, which
can be used by C::B.
But if you don't need vc++ for a specific project I highly recommend to use a mingw release and gdb, with codeblocks
it will be easier and more complete experience. Especially if you're a novice.
--- End quote ---
I agree the mingw way is more complete in C::B. However, some of us must use the MS compiler in order to be compatible with "other stuff". I have used the VC2010 express compiler with Code::Blocks Nightlies for a while now, and it works rather well. The main drawback compared to using mingw/gcc is that debugging isn't quite as integrated.
However, I have lived well for some time with the following compromise: The attached screenshot shows how I configured the VC2010 express IDE to be an external debugger acessible from the C::B Tools menu. So in Debug mode one may use "Tools | VCPP Debug" and then the VC2010 debugger pops up with the current source file. So for debugging, the VC2010 debugger is used without any other preparations.
Navigation
[0] Message Index
[*] Previous page
Go to full version