Skip to main content

Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Newcomers » Newcomers » 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 #1785809] Fri, 20 April 2018 08:01 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 #1785820 is a reply to message #1785809] Fri, 20 April 2018 09:51 Go to previous message
Ed Merks is currently offline Ed MerksFriend
Messages: 30466
Registered: July 2009
Senior Member
It seems better to ask on the CDT forum:
Previous Topic:Code responsible for QuickFix
Next Topic:Import data to acceleo project
Goto Forum:

Current Time: Mon Sep 23 11:19:40 GMT 2019

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

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

Back to the top