Code::Blocks Forums

User forums => Using Code::Blocks => Topic started by: Quetz on October 08, 2005, 07:25:04 pm

Title: [GDB] No source file named main.cpp.
Post by: Quetz on October 08, 2005, 07:25:04 pm
Hello!

I've download and installed CodeBlocks 1.0 RC 1-1 (without GCC).
I downloaded ale the necessary file direct from Mingw.org and after manual installation everything is OK.
But...I;ve got problem with a debugger. I get this:

Selecting target: default
Compiling: done
Starting debugger: done
Adding source dir: D:\pwr\Semestr_2\Cpp\grafy\
Adding file: grafy.exe
No source file named main.cpp.
error

Of course, missing (for GDB) file is there in  that catalog. Moreover, this situation occurs to every other project I've made in CB last year.
What should I do, please help!

Thank you,
Jakub Lambrych

Title: Re: [GDB] No source file named main.cpp.
Post by: rickg22 on October 09, 2005, 06:16:15 am
Did you enable the "generate debugging symbols" in the compiler options?
Title: Re: [GDB] No source file named main.cpp.
Post by: Quetz on October 09, 2005, 01:16:02 pm
Thx!

Yes, now it works.