Author Topic: build error in mac  (Read 2211 times)

grandhand

  • Guest
build error in mac
« on: February 13, 2013, 12:57:32 am »
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?

Offline Ceniza

  • Developer
  • Lives here!
  • *****
  • Posts: 1441
    • CenizaSOFT
Re: build error in mac
« Reply #1 on: February 13, 2013, 07:27:32 pm »
Did you install a compiler? If not, install Xcode first, then try again.