Fluzz Fluzz - 5 months ago 35
C++ Question

Writing Mac OS X App in C++

I am looking for a way to write Mac OS X apps using C++. I found some other answers, but they are outdated, citing Carbon (now obsolete) as a solution. I want to be able to scipt the app without having to learn Obj-C, so I don't want to use cocoa. Is this possible at all?

Edit by application I mean an app that you could put in your dock and everything. Also, graphics would be nice to; I was thinking of creating a game.



OK, so I originally said to use XCode. It comes with an IDE and compiler, but as @Fluzz indicates: no Cocoa please.

I have C++ installed with homebrew on my system:

$ ruby -e "$(curl -fsSL https://raw.github.com/Homebrew/homebrew/go/install)"
$ brew update
$ brew install gcc49  

Not sure how this would go with the native OS X libraries, however.