| fatal error: 'iostream.h' file not found [message #1785809] |
Fri, 20 April 2018 04:01  |
Eclipse User |
|
|
|
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
|
|
|
|
Powered by
FUDForum. Page generated in 0.09092 seconds