Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Language IDEs » C / C++ IDE (CDT) » fatal error: 'iostream.h' file not found(OS : MacOS High Sierra Version 10.13.4 & Eclipse IDE for C/C++ Developers Version: Oxygen.3a Release (4.7.3a))
fatal error: 'iostream.h' file not found [message #1785826] Fri, 20 April 2018 10:31 Go to next message
Nimya Nampoothiri is currently offline Nimya NampoothiriFriend
Messages: 9
Registered: April 2018
Junior Member
I am using Eclipse IDE for C/C++ Developers Version: Oxygen.3a Release (4.7.3a). I am trying to do an Opencv program. The following error shows

13:24:32 **** Incremental Build of configuration Release for project SampleImage ****
make all
Building file: ../Main.cpp
Invoking: GCC C++ Compiler
g++ -I/usr/local/Cellar/opencv/3.4.1_2/include -I/Library/Developer/CommandLineTools/usr/include -I/Library/Developer/CommandLineTools/usr/include/c++/v1 -O3 -Wall -c -fmessage-length=0 -std=c++11 -MMD -MP -MF"Main.d" -MT"Main.o" -o "Main.o" "../Main.cpp"
../Main.cpp:4:10: fatal error: 'iostream.h' file not found
#include <iostream.h>
^~~~~~~~~~~~
1 error generated.
make: *** [Main.o] Error 1

13:24:33 Build Finished (took 985ms)

I can see iostream in includes under my projects.
I tried to add include files under project properties ->c/c++ General->paths and symbols->GNU C++-> includes. Still its not solving the issue
Re: fatal error: 'iostream.h' file not found [message #1785840 is a reply to message #1785826] Fri, 20 April 2018 12:51 Go to previous messageGo to next message
David VavraFriend
Messages: 778
Registered: October 2012
Senior Member
Try <iostream> vs. <iostream.h>
https://stackoverflow.com/a/214242/3312726
Re: fatal error: 'iostream.h' file not found [message #1786011 is a reply to message #1785840] Tue, 24 April 2018 06:47 Go to previous messageGo to next message
Nimya Nampoothiri is currently offline Nimya NampoothiriFriend
Messages: 9
Registered: April 2018
Junior Member
Thanks Issue Solved
Re: fatal error: 'iostream.h' file not found [message #1786012 is a reply to message #1785840] Tue, 24 April 2018 06:47 Go to previous message
Nimya Nampoothiri is currently offline Nimya NampoothiriFriend
Messages: 9
Registered: April 2018
Junior Member
Thanks Issue Solved
Previous Topic:versioning and language.settings.xml
Next Topic:Eye detection using Haar cascades in c++
Goto Forum:
  


Current Time: Wed Sep 26 06:23:30 GMT 2018

Powered by FUDForum. Page generated in 0.01381 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top