Code::Blocks Forums

User forums => General (but related to Code::Blocks) => Topic started by: magisu on December 06, 2006, 12:07:26 pm

Title: strange problem of build and crash when exit
Post by: magisu on December 06, 2006, 12:07:26 pm
hello, everyone. sorry for poor English, I'm Chinese, you see.

well, I've used code::blocks for more than one year, since RC2. last day I deleted the Code::Blocks i built from svn. I wrote an program yesterday, using VIM, and today I get the most updated nightly build of CB, I created a new console project, then deleted the default "main.cpp" and inserted the program to the project. Then the problem comes: I cannot build the project! Items in Build menu turned gray. I can use g++ to build the project although. So the program should not have any syntax or other problems. But I cannot build it.

another problem is that when I exited the CB, the program showed that I have changed the layout. then it stopped responding. I don't know why, so I pressed CTRL-ALT-ESC to kill it.

Any suggestions? Thanks. I'm using Edgy Eft.
Title: Re: strange problem of build and crash when exit
Post by: joubertdj on December 08, 2006, 10:54:26 am
Stupid question... but does your new program have a main.cpp ?