[cfe-dev] compiling C++ with clang++

Eric Christopher echristo at apple.com
Tue Mar 2 17:58:21 PST 2010


On Mar 2, 2010, at 5:52 PM, Salman Pervez wrote:

> And I get the following error message.
> 
> vec1.cpp:1:10: fatal error: 'iostream' file not found
> #include <iostream>
>          ^
> 1 diagnostic generated.
> 
> It looks like clang is having trouble locating some necessary header  
> files. I know its a newbie question but I'll appreciate any help on  
> this. thanks,

What platform are you on?  It may not be able to find iostream because it's looking in the wrong set of places (or no place) for your system.

-eric



More information about the cfe-dev mailing list