Code::Blocks Forums

User forums => Help => Topic started by: antonien on January 30, 2011, 08:45:44 pm

Title: [RESOLVED] debugger and resource compiler
Post by: antonien on January 30, 2011, 08:45:44 pm
Hi everybody !
I just switched to Visual Studio 2010 and tried to rebuild my programs.

1 - I can't launch a debug session ! Is there something that I missed ?

2 - Resource are not compiled :
-------------- Build: Debug in Edit2D ---------------

rc.exe /IC:\CBnightlybuild\wxWidgets-2.9.1\include /IC:\CBnightlybuild\wxWidgets-2.9.1\lib\vc_dll\mswud  -foobj\Debug\resource.res resource.rc
Execution of 'rc.exe /IC:\CBnightlybuild\wxWidgets-2.9.1\include /IC:\CBnightlybuild\wxWidgets-2.9.1\lib\vc_dll\mswud  -foobj\Debug\resource.res resource.rc' in 'D:\Jeux\CodeBlocks\Programmes\Edit2D' failed.

Anybody has an idea thant could help me ?

Thanks in advance

Best regards
Title: Re: debugger and resource compiler
Post by: stahta01 on January 31, 2011, 09:52:51 pm
Is wxWidgets library created using the MSVC 2010 compiler?
If not, why do you think it will work?

Tim S.
Title: Re: debugger and resource compiler
Post by: antonien on February 01, 2011, 08:12:33 am
Yes. It's been done with Visual Studio Express 2010 itself.
Digging far into the forum, I found some interesting stuff on the way to install and declare the compiler.
It's not that easy for a non wizard. A comprehensive tutorial would be helpfull.
Title: Re: debugger and resource compiler
Post by: antonien on February 02, 2011, 02:38:49 pm
As I got no help, I am progressing slooowly. My wxwidget issue is quite solved. Actually Visual failed to build a couple of files in the DLL mode. No problem, I'll use Static ones. I'll fix the DLL issue later.
I still have a question to VC users: which debugger are you using and where can I find it?
Using Visual express integrated one is definitely not convenient!
Many thanks for your answer.
Title: Re: debugger and resource compiler
Post by: oBFusCATed on February 02, 2011, 02:57:49 pm
You can install CDB, it is supported in C::B so you can debug inside the IDE.
CDB is distributed with "debugging tools for windows".

Note: the debuggers branch handles CDB way better, so I advise you to use it instead of 10.05 or the normal nightlies.
Title: Re: debugger and resource compiler
Post by: antonien on February 03, 2011, 06:55:56 am
Thamks for the advice. I'll download it tonight. At the moment it looks like ms download center is saturated.