| View previous topic :: View next topic |
| Author |
Message |
alansecker
Joined: Wed Apr 20, 2005 9:40 pm Posts: 16
|
Posted: Sun Oct 21, 2012 1:23 pm Post subject: qt creator and iostream |
|
|
I have installed qt creator from the Mageia 2 repository. When I 'build' my tiny test routine that contains the line
#include <iostream>
qt returns: iostream: No such file or directory.
I have been unable to identify which library file might contain it.
I've left messages on qt's forum and the Mageia newsgroup but so far, no really useful reply. This appears to be the 'Last Chance Saloon' |
|
| Back to top |
|
 |
Bruno LXF regular

Joined: Tue Sep 18, 2007 7:07 pm Posts: 139 Location: Cambridgeshire, UK
|
Posted: Mon Oct 22, 2012 11:29 am Post subject: |
|
|
Hi alansecker,
On my openSUSE 11.4 system, the file you require is located in: | Code: | | /usr/include/c++/<version_number>/ | so I would try looking there on your system. I've had similar problems in the past with the compiler not finding things that are definitely in /usr/include/ and sub-directories thereof, but I am unsure why this happens.
Searching for "where is iostream" on the internet gives an interesting page here: http://www.linuxforums.org/forum/programming-scripting/98283-where-iostream-h.html. This user is just starting out. I don't know if you are in the same situation, but some of this user's problems seem to be caused by using both C and C++ conventions in the code.
HTH, Bruno |
|
| Back to top |
|
 |
alansecker
Joined: Wed Apr 20, 2005 9:40 pm Posts: 16
|
Posted: Mon Oct 22, 2012 9:47 pm Post subject: |
|
|
You are absolutely right! The number is 4.6.3 but why qt creator cannot find it is the next problem to solve.
Thank you very much indeed.
Regards
Alan |
|
| Back to top |
|
 |
| View previous topic :: View next topic |
|