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

Salman Pervez spervez at purdue.edu
Tue Mar 2 18:01:33 PST 2010


I'm using Gentoo Linux, 64 bit.

Salman

On Mar 2, 2010, at 8:58 PM, Eric Christopher wrote:

>
> 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