On 13-Mar-2000 -=qUeNCy95=- wrote:
>> I'm not an expert programmer, but isn't the header file you want
>> "iostream.h"
>> and not "streamio.h"? I could be wrong and all, but I've never seen streamio
>> and I can't find it on my system even though I installed everything even
>> remotely related to development.
>
> That was a typo on my fault. Im still getting an error about not finding
> file iostream.h, what RPM is this file in? Can anyone else with Mandrake
> 7 compile simple c++ source?
$ locate iostream.h
/usr/include/g++-3/iostream.h
/usr/include/g++-3/stdiostream.h
$ rpm -qf /usr/include/g++-3/iostream.h
libstdc++-devel-2.95.2-3mdk
Maybe it's a $PATH problem?
tom
P.S.: To find a certain file in a set of RPMs:
for i in *.rpm ; do rpm -qpli $i | grep [filename] && echo $i ; done
>>
>>
>> > When I installed Madrake 7, I chose my primary use would be developer. It
>> > seemed to have installed all my libraries I need (I thought). I compiled
>> > xmms, kxicq, and BitchX.
>> >
>> > All 3 applications were written in C I believe. However, I cannot compile
>> > any C++ programs. Not even the simplest:
>> >
>> > #include <streamio.h>
>> > int main() { cout << "hello world"; return 1; }
>> >
>> > [quency95@xena quency95]$ gcc test.c
>> > test.c:1: streamio.h: No such file or directory
>> >
>> > Ok so I dont have c++ libraries installed?
>> >
>> > [quency95@xena quency95]$ rpm -q gcc-c++
>> > gcc-c++-2.95.2-3mdk
>> > [quency95@xena quency95]$ rpm -q libstdc++-devel
>> > libstdc++-devel-2.95.2-3mdk
>> > [quency95@xena quency95]$ rpm -q libstdc++
>> > libstdc++-2.95.2-3mdk
>> >
>> >
>> > Should I be checking for anything else?
>> --
>> Anthony Huereca
>> http://m3000.1wh.com
>> Press any key to continue and any other key to quit
>>
--
"No fun, no gain"
Thomas 'tom' Berger, [EMAIL PROTECTED] (home), [EMAIL PROTECTED] (work)
http://www.mandrakeuser.org, [EMAIL PROTECTED]