delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2010/05/19/02:05:03

X-Recipient: archive-cygwin AT delorie DOT com
X-SWARE-Spam-Status: No, hits=-2.0 required=5.0 tests=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: Wed, 19 May 2010 15:04:50 +0900
Message-ID: <AANLkTinm5ngjBhzgXrgXW54Y1-Z-ImpmtvEG4wXxTKmK@mail.gmail.com>
Subject: Re: NCurses and Cygwin
From: rushojp <rushojp AT gmail DOT com>
To: cygwin AT cygwin DOT com
X-IsSubscribed: yes
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Unsubscribe: <mailto:cygwin-unsubscribe-archive-cygwin=delorie DOT com AT cygwin DOT 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

user AT localhost /usr/include
$ for h in curses.h eti.h form.h menu.h ncurses.h panel.h term.h unctrl.h ; do
> ln -s ncurses/$h $h ;done

I think libncurses-devel package should have these symlink files.

http://www.rpmseek.com/rpm-pl/libncurses-devel.html?hl=com&cs=libncurses-devel:PN:0:0:0:0:0


2010/5/18, Luis Vital <lvital DOT mail AT gmail DOT com>:
> 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

- Raw text -


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