delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2004/04/13/23:38:22

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sources.redhat.com/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
Reply-To: Cygwin List <cygwin AT cygwin DOT com>
Message-Id: <6.1.0.6.0.20040413233006.0307bdc0@127.0.0.1>
X-Sender:
Date: Tue, 13 Apr 2004 23:34:31 -0400
To: "Jim Strathmeyer" <strath AT ipass DOT net>, <cygwin AT cygwin DOT com>
From: Larry Hall <cygwin-lh AT cygwin DOT com>
Subject: Re: ncurses problem
In-Reply-To: <005101c421ca$f14f8f50$6601a8c0@dash>
References: <005101c421ca$f14f8f50$6601a8c0 AT dash>
Mime-Version: 1.0

At 10:48 PM 4/13/2004, you wrote:

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


There's dozens of packages in the distribution that use ncurses.  Just look
at the setup.ini file in the directory you downloaded your packages to and
you can find them.


> I searched for the Info lines above and couldn't find
>anything on Google or the cygwin site.


Don't worry about the messages.  They are "information".  It's just to let
you know that the symbols weren't explicitly exported from the DLL but the
linker found them and used them anyway.  It's a convenience feature to make
it easier to port stuff to Windows.  While it's possible that this is somehow
related to the problem you're seeing with your program, it's pretty unlikely
that it's the cause.


--
Larry Hall                              http://www.rfk.com
RFK Partners, Inc.                      (508) 893-9779 - RFK Office
838 Washington Street                   (508) 893-9889 - FAX
Holliston, MA 01746                     


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

- Raw text -


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