Code::Blocks Forums
User forums => Help => Topic started by: ABTOMAT on March 26, 2009, 12:50:42 pm
-
-------------- Build: Debug in FBG ---------------
mingw32-g++.exe -o "bin\Debug\FBG.exe" obj\Debug\main.o /DEBUG -lmsvcrtd.lib -lmsvcprtd.lib
mingw32-g++.exe: /DEBUG: No such file or directory
Process terminated with status 1 (0 minutes, 0 seconds)
0 errors, 0 warnings
Hi all! Sorry for stupid question...
What file or directory is needed in the higlighted line? And how to make is start correct debugging?
I saw faq's, but haven't found answer on this question, google keeps silence too. :(
I use MinGW Compiler + CodeBlocks 8.02
Thanks for any answer!
-
You should read the compilers (or in this case linkers) doc, before asking.
"/DEBUG" is not a valid parameter for gcc.
It uses "-g" instaed.
You should define it on the first page of the projects build-options in the compiler-flags tab.
A good way to start learning C::B is to use wizard-created project with debug and release target and have a look how it is done there.
-
Thanks, i shall try!