Assistive Context-Aware Toolkit (ACAT)
Ask questions and collaborate on improvements for ACAT communication and computer interface software that helps people with limited or no muscle movement.

iostream not found

moha7
Beginner
876 Views

Hello,

I am trying to compile a Hello world code using openAPI on Ubuntu

My compile line is:

icpx -std=c++14 -qopenmp -qmkl=parallel HelloWorld.cpp -o a.out -liomp5 -lpthread -lm -ldl

 

I get the following error:

HelloWorld.cpp:5:10: fatal error: 'iostream' file not found

#include <iostream>

1 error generated.

 

 

g++ --version

g++ (Ubuntu 9.4.0-1ubuntu1~20.04.1) 9.4.0

 

Any pointers to what would be the reason?

 

Thanks

Labels (1)
0 Kudos
0 Replies
Reply