Home Download Buy Blog Forum Support

C++ on Mountain Lion?

C++ on Mountain Lion?

Postby 56phil on Tue Nov 20, 2012 1:25 am

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.
56phil
 
Posts: 2
Joined: Tue Nov 20, 2012 12:59 am

Re: C++ on Mountain Lion?

Postby adzenith on Tue Nov 20, 2012 1:44 am

Did you install the command-line tools inside of Xcode?
adzenith
 
Posts: 1217
Joined: Mon Oct 19, 2009 9:12 pm

Re: C++ on Mountain Lion?

Postby 56phil on Tue Nov 27, 2012 3:43 am

No, but that's what I needed. Thanks.
56phil
 
Posts: 2
Joined: Tue Nov 20, 2012 12:59 am


Return to Technical Support

Who is online

Users browsing this forum: Exabot [Bot], Yahoo [Bot] and 9 guests