This is the mail archive of the
mailing list for the Cygwin project.
Re: NCurses and Cygwin
- From: Dave Korn <dave dot korn dot cygwin at gmail dot com>
- To: cygwin at cygwin dot com
- Date: Mon, 17 May 2010 19:35:47 +0100
- Subject: Re: NCurses and Cygwin
- References: <68DC5D2BAA4B4BCE8AA0BD3730104D24@paikea>
On 17/05/2010 19:06, Luis Vital wrote:
> I just installed NCurses under Cygwin.
> Looking at the file list after the instalation I see that I have:
The real question is how these got there. They aren't part of any Cygwin
package. They must have been there already, for some reason. You should
probably just get rid of them.
> 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.
Add "-I /usr/include/ncurses" to your compile commands. I'm not sure why
the layout is a bit different between Cygwin and Linux, I guess it's just one
of those things. If you check the cygwin-specific docs for the package
(/usr/share/doc/Cygwin/ncurses.README), you'll see it says to use the -I option.
Problem reports: http://cygwin.com/problems.html
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple