X-Recipient: archive-cygwin AT delorie DOT com X-SWARE-Spam-Status: No, hits=-0.6 required=5.0 tests=AWL,BAYES_00,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,FREEMAIL_FROM,T_TO_NO_BRKTS_FREEMAIL X-Spam-Check-By: sourceware.org Message-ID: <4BF18C83.3030305@gmail.com> Date: Mon, 17 May 2010 19:35:47 +0100 From: Dave Korn User-Agent: Thunderbird 2.0.0.17 (Windows/20080914) MIME-Version: 1.0 To: cygwin AT cygwin DOT com Subject: Re: NCurses and Cygwin References: <68DC5D2BAA4B4BCE8AA0BD3730104D24 AT paikea> In-Reply-To: <68DC5D2BAA4B4BCE8AA0BD3730104D24@paikea> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-IsSubscribed: yes Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com 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: > > /usr/include/curses.h > /usr/include/ncurses.h > etc. 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. > /usr/include/ncurses/curses.h > /usr/include/ncurses/ncurses.h > etc. > > If I compile using #include 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 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. cheers, DaveK -- 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