Page 1 of 1

conio.h: No such file or directory

Posted: Fri Feb 26, 2010 11:35 am
by BigThetan
Hi all,

I get this message when I try to build my program. What am i doing wrong. I am using #include <conio.h>. Do I need to point codelite to some places that additional header files are kept?

----------Building project:[ MyTemplate - Debug ] (Preprocess Single File)----------
gcc -c "/home/eric/My Code Space/main.c" -g -o ./Debug/main.o "-I." "-I."
/home/eric/My Code Space/main.c:2:19: error: conio.h: No such file or directory
make: *** [Debug/main.o] Error 1
----------Build Ended----------
1 errors, 0 warnings

Re: conio.h: No such file or directory

Posted: Fri Feb 26, 2010 11:49 am
by eranif
The problem is that conio is not included in MinGW.

http://en.wikipedia.org/wiki/Conio.h

There is a project on sourceforget which implements conio, but I never tried it, you might want to have a look at it:

http://sourceforge.net/projects/conio/
Eran