Sublime Forum

C++ on Mountain Lion?

#1

Hello,

I’m using Xcode Version 4.5.2 (4G2008a) on Mountain Lion. I’d like to switch to ST2. Unfortunately, building a simple “Hello World!” program is not possible. The error message I get is this:
[Errno 2] No such file or directory
[cmd: [u’g++’, u’/Users/56phil/Dev/st2/main.cpp’, u’-o’, u’/Users/56phil/Dev/st2/main’]]
[dir: /Users/56phil/Dev/st2]
[path: /usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin:$HOME/bin]
[Finished]

What must I do to remedy this problem?

Thanks.

0 Likes

#2

Did you install the command-line tools inside of Xcode?

0 Likes

#3

No, but that’s what I needed. Thanks.

0 Likes