Page 1 of 1

Firstchess

PostPosted: 28 Aug 2014, 20:12
by matrix101
Hello,

I tried to compile firstchess.c from http://devwebcl.atarionline.pl/cc65/ when trying to compile getting this error message:
Code: Select all
 gcc Documents/firstchess.c
Documents/firstchess.c:18:19: fatal error: conio.h: No such file or directory
 #include <conio.h>
                   ^
compilation terminated.

Re: Firstchess

PostPosted: 29 Aug 2014, 21:14
by H.G.Muller
What system are you trying to compile on? conio.h is a file available on MS Windows, describing routines that are available in MS-DOS. A Windows compiler should know where to find it.

Re: Firstchess

PostPosted: 30 Aug 2014, 10:11
by matrix101
Hm, I use Ubuntu 13.10 and it would be interesting if Firstchess would work in Linux because it should have a command line interface. But then again, maybe it is only intended for windows..

Re: Firstchess

PostPosted: 17 Oct 2014, 17:50
by Tony Mokonen
I know this response is a little late, so maybe you've solved your issue. If not, perhaps you can try this Linux specific version of conio.h, which I think maps to the ncurses library:

http://sourceforge.net/projects/linux-conioh/