Menu

NCurses.h - what's needed?

2003-01-12
2012-09-26
  • Nobody/Anonymous

    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.

     
    • Nobody/Anonymous

      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

       

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.