This is the mail archive of the
cygwin
mailing list for the Cygwin project.
Re: NCurses and Cygwin
- From: Steven Collins <spc dot for dot nbc at gmail dot com>
- To: cygwin at cygwin dot com
- Date: Mon, 17 May 2010 12:13:27 -0600
- Subject: Re: NCurses and Cygwin
- References: <68DC5D2BAA4B4BCE8AA0BD3730104D24@paikea>
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