Luis Vital
2010-05-17 18:06:15 UTC
Hi,
I just installed NCurses under Cygwin.
Looking at the file list after the instalation I see that I have:
/usr/include/curses.h
/usr/include/ncurses.h
etc.
and
/usr/include/ncurses/curses.h
/usr/include/ncurses/ncurses.h
etc.
If I compile using #include <ncurses.h> I got errors but if I
compile using #include "ncurses/ncurses.h" I don't get errors and the
programs work fine.
Nevertheless all the examples use #include <ncurses.h> so this should
work fine.
Does anyone know why this is happening? Thanks in advance.
Best regards,
Luis Vital
I just installed NCurses under Cygwin.
Looking at the file list after the instalation I see that I have:
/usr/include/curses.h
/usr/include/ncurses.h
etc.
and
/usr/include/ncurses/curses.h
/usr/include/ncurses/ncurses.h
etc.
If I compile using #include <ncurses.h> I got errors but if I
compile using #include "ncurses/ncurses.h" I don't get errors and the
programs work fine.
Nevertheless all the examples use #include <ncurses.h> so this should
work fine.
Does anyone know why this is happening? Thanks in advance.
Best regards,
Luis Vital