Problem after upgrading kevelop
Amilcar do Carmo Lucas
amilcar at ida.ing.tu-bs.de
Thu Jan 27 21:12:37 GMT 2005
On Wednesday 26 January 2005 07:51, Muhammad Rizwan Khan wrote:
> If you don't sure then don't reply on these sort of lists.
>
> >You've already been told how to solve it, include <iostream> instead
> > of <iostream.h> and probably you'll also need <string>
>
> This did not work with me.
> Can you try this simple program:
> #include <iostream>
> int main ()
> {
> cout <<"test"<<endl;
> }
>
> By running this program i got these errors:
> /root/test.cpp: In function `int main()':
> /root/test.cpp:4: `cout' undeclared (first use this function)
> /root/test.cpp:4: (Each undeclared identifier is reported only once for
> each
> function it appears in.)
> /root/test.cpp:4: `endl' undeclared (first use this function)
>
> What these errors indicates?
Again this has nothing to do with KDevelop. This is a libc, gcc problem.
> > This has nothing to do with kdevelop or kde, this is C++ basics.
>
> If this is nothing to do with Kdevelop then why this problem arise with
> new version and with old kdevelop its running fine.
The old KDevelop version used an old libc and an old gcc. That is why it
worked.
Try the "C Hello world" template that ships with KDevelop. That one will work
for sure.
Regards,
--
Amilcar Lucas
Current webmaster
The KDevelop project
-
to unsubscribe from this list send an email to kdevelop-request at kdevelop.org with the following body:
unsubscribe »your-email-address«
More information about the KDevelop
mailing list