User forums > Help
mingw32-g++.exe: /DEBUG: No such file or directory
(1/1)
ABTOMAT:
--- Quote ----------------- 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
--- End quote ---
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!
Jenna:
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.
ABTOMAT:
Thanks, i shall try!
Navigation
[0] Message Index
Go to full version