News:

When registered with our forums, feel free to send a "here I am" post here to differ human beings from SPAM bots.

Main Menu

build error in mac

Started by grandhand, February 13, 2013, 12:57:32 AM

Previous topic - Next topic

grandhand

I am taking a beginning class for c++. I recently downloaded code::blocks onto my macbook (OSX 10.8.2) and am trying to run simple programs such as "hello world" and i am having trouble getting them to work. After pressing "compile current file," whenever i press "build" nothing happens. If i press "build and run" still nothing happens. So i try just pressing "run" and this message pops up:

INFORMATION
It seems that this file has not been built yet.
Do you want to build it now?

so i press yes and nothing happens. if i press no, my terminal pops up with a bunch of login information including the words "no such file or directory," but without the "hello world" message.
What can i do? how can i get my programs to start working and appearing in my terminal?

Ceniza

Did you install a compiler? If not, install Xcode first, then try again.