News:

Accounts with zero posts and zero activity during the last months will be deleted periodically to fight SPAM!

Main Menu

strange problem of build and crash when exit

Started by magisu, December 06, 2006, 12:07:26 PM

Previous topic - Next topic

magisu

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.

joubertdj

Stupid question... but does your new program have a main.cpp ?