Author Topic: Code Blocks under Mac OS X  (Read 5458 times)

Offline Majo

  • Single posting newcomer
  • *
  • Posts: 2
Code Blocks under Mac OS X
« on: October 14, 2011, 07:32:14 pm »
Hello. I've installed Code Blocks under Mac OS X, but when i want to run the program, it says: Program uses an [SEARCH THE FORUMS BEFORE YOU POST. THIS HAS BEEN ANSWERED MANY TIMES!]. Probably the toolchain pathwith the compiler options is not setup correctly. Skipping...
Nothing to be done.


I do not know what to do with this. I have Xcode 3.2 installed. Even when i select path in Xcode directories for gdc, dbg and make, it says something with library, that it cannot inicialize stdio.h and functuion main and so on.

Can anybody tell me how to install it ? Please. Thank you.

I've also typed -std=99 -pedantic -Wall -Wextra to other options...
« Last Edit: October 14, 2011, 07:34:45 pm by Majo »

Offline Majo

  • Single posting newcomer
  • *
  • Posts: 2
Re: Code Blocks under Mac OS X
« Reply #1 on: October 14, 2011, 11:15:57 pm »
Or what are the standard steps for installing Code Blocks on Mac OS X ? Only install Xcode and then install Code Blocks ? That is everything ?

Offline oBFusCATed

  • Developer
  • Lives here!
  • *****
  • Posts: 13406
    • Travis build status
Re: Code Blocks under Mac OS X
« Reply #2 on: October 14, 2011, 11:33:23 pm »
Have you tried autodetecting your compiler?

You should install C::B after you've installed Xcode.
The compiler settings are in Settings -> Compiler & Debugger -> Compiler

Also read here: http://wiki.codeblocks.org/index.php?title=FAQ
And of course search the forum...
(most of the time I ignore long posts)
[strangers don't send me private messages, I'll ignore them; post a topic in the forum, but first read the rules!]