i meet the same problem like
http://forums.codeblocks.org/index.php/topic,12950.0.htmlBut when i check my .cbp file .i found i didnot make the same mistake with him/her.So i need your help.
i use ubuntu 10.04 ,and codeBlocks version is 10.05.when i create console project with gcc whicn only prints hello,world,but each time I hit run, a dialog box appears saying "It seems that this project has not been built yet. Do you want to build it now?". I click yes, the project builds successfully.Hit execute again, then a dialog box appears again saying "It seems that this project has not been built yet. Do you want to build it now?". but when i click on yes,it shows nothing at all.
when i open /projectname/obj/debug ,i found main.o.Then i run" gcc -o main.o a" in the console, it works well. The .cbp file is in the attachment .Forgive my poor English and thank you for helping me solve the problem.