compilation error in C using gcc

Asked by Nikhil Gangarde

I use Ubuntu 11.04. I've installed gcc [version 4:4.5.2-1ubuntu3 (gcc)]. I've seen that when I inclu8de the following header files, namely, <conio.h>,<graphics.h> and <windows.h>, the compiler pops an error saying that
"fatal error: No such file or directory"
"compilation terminated"

 I face the above error in all above mentioned header files. I've even tried to use the "-std=c99" command. But that does not help.
Is it some problem with the C-header library or is it a compiler error. How do I get rid of it?

Question information

English Edit question
Ubuntu gcc-defaults Edit question
No assignee Edit question
Last query:
Last reply:
Revision history for this message
Ubfan (ubfan1) said :

Your "missing" header files appear to be for Microsoft Dos programs, so are not distributed on a Linux system. Even if you could locate the files, and installed them, when you try to link the program, the libraries referred to in the header files would not be found either. Maybe you could find a compiler which runs under Wine. The alternatives would be to rewrite the program to use Unix/Linux library/headers, or to look around for some automatic conversion tool (may not even exist).

Can you help with this problem?

Provide an answer of your own, or ask Nikhil Gangarde for more information if necessary.

To post a message you must log in.