delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2010/05/17/14:48:34

X-Recipient: archive-cygwin AT delorie DOT com
X-SWARE-Spam-Status: No, hits=-1.4 required=5.0 tests=AWL,BAYES_00,FREEMAIL_FROM,RCVD_IN_DNSWL_NONE,T_TO_NO_BRKTS_FREEMAIL
X-Spam-Check-By: sourceware.org
Message-ID: <4BF18F69.8000904@freesbee.fr>
Date: Mon, 17 May 2010 20:48:09 +0200
From: =?ISO-8859-1?Q?Vincent_Rivi=E8re?= <vincent DOT riviere AT freesbee DOT fr>
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; fr; rv:1.9.1.9) Gecko/20100317 Thunderbird/3.0.4
MIME-Version: 1.0
To: cygwin AT cygwin DOT com
Subject: Re: NCurses and Cygwin
References: <68DC5D2BAA4B4BCE8AA0BD3730104D24 AT paikea> <AANLkTim6TgvgDH5wLy5GVlMBUPdxhxhVwCYhyr7Lh0qg AT mail DOT gmail DOT com>
In-Reply-To: <AANLkTim6TgvgDH5wLy5GVlMBUPdxhxhVwCYhyr7Lh0qg@mail.gmail.com>
X-IsSubscribed: yes
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com

Steven Collins wrote:
> 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?

In older ncurses versions, ncurses.h was in /usr/include.
But now it is in the ncurses subdirectory.
So your example simply refer to the old version.
You just have to replace the includes to <ncurses/ncurses.h> and so on.

-- 
Vincent Rivière

--
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

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019