Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6210873
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 24, 20262026-05-24T06:14:19+00:00 2026-05-24T06:14:19+00:00

Just upgraded to Lion from SL, and downloaded xCode from app store. I go

  • 0

Just upgraded to Lion from SL, and downloaded xCode from app store.

I go to compile “Hello World” and find that g++ isn’t being found. After some searching, I find it in /Developer/usr/bin. I add this to my path, and try to compile, and now its saying it can’t find iostream.

Clearly, I missed some key setup step but I don’t seem to know what it is. I don’t seem to remember any of this when I installed dev tools for previous mac OS upgrades. Anyone else run into this problem or offer some advice?

The code I’m compling is dirt simple obviously, file name helloworld.cpp

#include <iostream>
int main() { std::cout << "Hello World" << std::endl; }

Just trying

g++ helloworld.cpp

and its saying it can’t find iostream.h (no such file or directory)

Thanks for your help.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-24T06:14:20+00:00Added an answer on May 24, 2026 at 6:14 am

    What gets downloaded from the App Store is an installer for Xcode 4.1. You then need to manually run the installer. You should find it in /Applications.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

UPDATE 1: I've just upgraded from jquery 1.4.4 to 1.6.1. How does that effect
I've just upgraded a native C++ project from VS2005-SP1 to VS2008-SP1 The first thing
I have just upgraded our company's domain controller from NT 4.0 to Windows 2008
I've just recently upgraded to SQL Server 2008 from 2005 and when I attempt
Having just upgraded to the latest ASP.NET MVC Release Candidate I noticed that, when
We just upgraded from TCP 4 to RC 2 of the MVC framework for
I just upgraded to Resharper 4.5 and now see that all my BDDish test
I just upgraded to SVN 1.6.1 from 1.4, and in the various docs, it
I just upgraded a VS 2005 project to VS 2008 and was examining the
I've just upgraded some old Java source which has been running on a Sun

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.