X-Recipient: archive-cygwin AT delorie DOT com X-SWARE-Spam-Status: No, hits=-1.4 required=5.0 tests=AWL,BAYES_00,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,FREEMAIL_FROM,RCVD_IN_DNSWL_NONE,T_TO_NO_BRKTS_FREEMAIL X-Spam-Check-By: sourceware.org MIME-Version: 1.0 In-Reply-To: <68DC5D2BAA4B4BCE8AA0BD3730104D24@paikea> References: <68DC5D2BAA4B4BCE8AA0BD3730104D24 AT paikea> Date: Mon, 17 May 2010 12:13:27 -0600 Message-ID: Subject: Re: NCurses and Cygwin From: Steven Collins To: cygwin AT cygwin DOT com Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-IsSubscribed: yes Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm Precedence: bulk List-Id: List-Unsubscribe: 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 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 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. > > Does anyone know why this is happening? Thanks in advance. > Best regards, > > Luis Vital > > > -- > Problem reports: =A0 =A0 =A0 http://cygwin.com/problems.html > FAQ: =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 http://cygwin.com/faq/ > Documentation: =A0 =A0 =A0 =A0 http://cygwin.com/docs.html > Unsubscribe info: =A0 =A0 =A0http://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