NCurses and Cygwin
Steven Collins
spc.for.nbc@gmail.com
Mon May 17 19:20:00 GMT 2010
Perhaps the examples are assuming you are controlling the include path
via a -I switch to the compiler, thus avoiding any direct reference in
the source code that would imply knowledge of your installation?
gcc -I /usr/include/ncurses ...
On Mon, May 17, 2010 at 12:06, Luis Vital <> wrote:
> 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
>
>
> --
> Problem reports: http://cygwin.com/problems.html
> FAQ: http://cygwin.com/faq/
> Documentation: http://cygwin.com/docs.html
> Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
>
>
--
Problem reports: http://cygwin.com/problems.html
FAQ: http://cygwin.com/faq/
Documentation: http://cygwin.com/docs.html
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
More information about the Cygwin
mailing list