bangopk.blogg.se

How to include the conio library into cygwin
How to include the conio library into cygwin












how to include the conio library into cygwin how to include the conio library into cygwin

NOTE: You may need to adjust your include path to gcc to pick this header file up. So you can simply install this package to get the header file + libraries that your application requires to compile. COM executables.ĭescription-md5: 2da04d6881989db1f4a11df4a992c06fĪnd here's the file: $ apt-file list elks-libc | grep conio.h Headers and static libraries needed to build 16-bit applications,įor Linux/8086, Linux/i386 and DOS. This is the C library used to compile with bcc. $ apt-cache show elks-libcįilename: pool/main/l/linux86/elks-libc_0.16.17-3.1ubuntu3_all.deb Looking on a Ubuntu system I have there's a similar package called elks-libc that also contains conio.h. : developers to use functions like getch, getche, textcolor and Summary : Implementation of conio.h functionsĭescription : libconio is an implementation of conio.h functions that some Loaded plugins: auto-update-debuginfo, changelog, langpacks, refresh-packagekit I realize you're on Ubuntu but on Fedora the package is called libconio that provides exactly the libraries that you're looking for. Looking for a package that includes conio.h on my Fedora system I turned up this package. However you have the option with Linux to install packages from centrally managed repositories. cpp file would seem to be coming from a Windows environment originally. NOTE:: Also the use of ncurses.h is not appropriate here either, since that library will likely not include any of the functions that you're looking for ( clrscr(), getch(), etc.) since your. At least not the ones that I'm familiar with Fedora/CentOS/RHEL/Debian/Ubuntu.

how to include the conio library into cygwin how to include the conio library into cygwin

The conio.h header + library for C/C++ is not something you'll typically find as being installed by default with most Linux distros. Either option is viable and is up to the developer/implementer to decide which is the "correct" path. You can either install a package that includes conio.h + its library as I describe below or you can use ncurses.h + its library and swap out and/or remove function calls that depend on it as Kulkarni describes in his answer. You basically have 2 choices on how to proceed.














How to include the conio library into cygwin