Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe@cygwin.com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-help@cygwin.com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
Delivered-To: mailing list cygwin@cygwin.com
Message-ID: <005101c421ca$f14f8f50$6601a8c0@dash>
From: "Jim Strathmeyer" <strath@ipass.net>
To: <cygwin@cygwin.com>
Subject: ncurses problem
Date: Tue, 13 Apr 2004 22:48:18 -0400
MIME-Version: 1.0
Content-Type: text/plain; charset="iso-8859-1"
Content-Transfer-Encoding: 7bit


I'm having problems compiling a c++ program with ncurses. When it links I
get this message:

g++ -Wall -o main (bunch of .o's) -lncurses -lm
Info: resolving _stdscr by linking to __imp__stdscr (auto-import)
Info: resolving _COLS by linking to __imp__COLS (auto-import)
Info: resolving _LINES by linking to __imp__LINES (auto-import)

It compiles ok, and seems to run, and clears the screen but doesn't seem to
output anything to it, nor does it seem to be accepting input (program
should exit with I hit 'q'... buffers it until I hit ctl-C instead... using
getch()).

I know this program worked under Linux and I do have gcc 3.3.1-3 and ncurses
5.3-4 installed.

Or, does anyone have an example of a program they've gotten to work with
cygwin/ncurses? I searched for the Info lines above and couldn't find
anything on Google or the cygwin site.


--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

