Linux Format forums Forum Index Linux Format forums
Help, discussion, magazine feedback and more
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

qt creator and iostream

 
Post new topic   Reply to topic    Linux Format forums Forum Index -> Programming
View previous topic :: View next topic  
Author Message
alansecker



Joined: Wed Apr 20, 2005 9:40 pm
Posts: 21

PostPosted: Sun Oct 21, 2012 1:23 pm    Post subject: qt creator and iostream Reply with quote

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
View user's profile Send private message
Bruno
LXF regular


Joined: Tue Sep 18, 2007 7:07 pm
Posts: 139
Location: Cambridgeshire, UK

PostPosted: Mon Oct 22, 2012 11:29 am    Post subject: Reply with quote

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
View user's profile Send private message
alansecker



Joined: Wed Apr 20, 2005 9:40 pm
Posts: 21

PostPosted: Mon Oct 22, 2012 9:47 pm    Post subject: Reply with quote

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 user's profile Send private message
View previous topic :: View next topic  
Display posts from previous:   
Post new topic   Reply to topic    Linux Format forums Forum Index -> Programming All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
Linux Format forums topic RSS feed 


Powered by phpBB © 2001, 2005 phpBB Group


Copyright 2011 Future Publishing, all rights reserved.


Web hosting by UKFast