Which header files (apart from curses.h) do I need to use the ncurses library in DevC++? I got the very file, but as soon as I try to compile even a simple program, the compiler tells that he's missing termios.h and unctrl.h. What other files I may need to get and where to look for them (I mean I downloaded the curses.h file from Sunsite ftp (it was in Linux dir) but intend to use the library on both Unix (mostly Solaris) and Windows environments so if there are any significant difference in interpretation, please let me know.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Note that header files are just a map that tells the compiler what functions are part of code. They are not the code. You have to have the libraries and have them visible and link to them. What you have to do is either
(a) Find a binary of curses for MingW and install it
or
(b) Build curses from source
or
(c) There might be a Dev-Pak that has it.
I'm looking for which is possible / best. You can too. ;-)
Wayne
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Which header files (apart from curses.h) do I need to use the ncurses library in DevC++? I got the very file, but as soon as I try to compile even a simple program, the compiler tells that he's missing termios.h and unctrl.h. What other files I may need to get and where to look for them (I mean I downloaded the curses.h file from Sunsite ftp (it was in Linux dir) but intend to use the library on both Unix (mostly Solaris) and Windows environments so if there are any significant difference in interpretation, please let me know.
Note that header files are just a map that tells the compiler what functions are part of code. They are not the code. You have to have the libraries and have them visible and link to them. What you have to do is either
(a) Find a binary of curses for MingW and install it
or
(b) Build curses from source
or
(c) There might be a Dev-Pak that has it.
I'm looking for which is possible / best. You can too. ;-)
Wayne