Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm 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 Reply-To: Cygwin List Message-Id: <6.1.0.6.0.20040414101327.0308ca98@127.0.0.1> X-Sender: Date: Wed, 14 Apr 2004 10:19:25 -0400 To: "Jim Strathmeyer" , "Cygwin List" From: Larry Hall Subject: Re: ncurses problem In-Reply-To: <000701c421ee$45967d80$6601a8c0@dash> References: <005101c421ca$f14f8f50$6601a8c0 AT dash> <6 DOT 1 DOT 0 DOT 6 DOT 0 DOT 20040413233006 DOT 0307bdc0 AT 127 DOT 0 DOT 0 DOT 1> <000701c421ee$45967d80$6601a8c0 AT dash> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" At 03:01 AM 4/14/2004, you wrote: >From: "Larry Hall" >> 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: >> 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. > >Well, this lead me to reading /usr/share/doc/Cygwin/ncurses-5.3.README, >which had an amount of useful information. I got the compiler Info's to go >away by compiling statically (the README says c++ can only use ncurses >statically) and adding '-lpanel -lmenu -lpanel -lncurses' to my $LIBRARIES. Actually, I did not interpret it that way. To me, this just says if you want to link against the C++ bindings of the ncurses library, you have to use the static library. You can alternatively link to either the static or the DLL version of the C bindings. But I agree with your findings. The info messages aren't the source of your problems. -- 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/