Code::Blocks Forums
User forums => Using Code::Blocks => Topic started by: Kapellen421 on October 11, 2006, 11:39:38 pm
-
I have CB RC2. I have -g checked yet I still get this error. Project Target has no debugging info Please change this in the projects build options and retry again. I have no clue what to do. I could really use the help. Thanks
-
Uninstall RC2 and install a Nightly Build (check the forums for details) and be sure you have GDB 6.x instead of 5.x. That should do :wink:
-
//-- Nightly Builds
http://forums.codeblocks.org/index.php?board=20.0
//-- Wiki Index
http://wiki.codeblocks.org/index.php?title=Special:Allpages
Search for "nightly"
-
I tried the daily release thing. But it was hard to follow so I just uninstalled and reinstalled CB and that worked.
P.S. THANKS ALOT FOR THE ADVICE :D :D :D
-
While it is generally true that nightly builds have far better debugger support and gdb 6 is a lot better than gdb 5, the particular error "Project/Target has no debugging info" is likely not related to either.
You probably enabled "strip executable" by accident (maybe in the system-wide compiler options), so no matter whether or not you have -g in your project, the symbols will be stripped off as the last thing. Reinstalling will have cleared out the settings, so that'll be why it works now.