X-Recipient: archive-cygwin AT delorie DOT com DomainKey-Signature: a=rsa-sha1; c=nofws; d=sourceware.org; h=list-id :list-unsubscribe:list-subscribe:list-archive:list-post :list-help:sender:message-id:date:from:mime-version:to:subject :references:in-reply-to:content-type:content-transfer-encoding; q=dns; s=default; b=H2kuy1gAbBE4OpD0mjxNeVFk5ejsebbnp2/3mD6KZpR Ijv2QQYagypiy+6nIAqm64dgbrZ+THuApY6F7PLGeQ0humYVJV6jG0/QsxHGNeKT hK0zOfP9fOYkfY4HE4RaWZFwii8rRI8VfhVShPCmCTAXCyuSTTR3aRfwoxb+o0ZQ = DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=sourceware.org; h=list-id :list-unsubscribe:list-subscribe:list-archive:list-post :list-help:sender:message-id:date:from:mime-version:to:subject :references:in-reply-to:content-type:content-transfer-encoding; s=default; bh=4vxl+K9m8ZMXD/VEwt6aeLZoYbc=; b=UOYyWHuXxOiCpoIRc PjGCIlHYXWhLoQiK0pWClSIufqTDRBdjmB7orEmzlfg6EBdlFszMK8gw0fPSXHDE XFxBsDS4MWtf/1YABAWEHJI6XI1WewGRuU9mJcF0gzIN6v4aBdqp26HIvTyOEXLq 2+I0N32iL2bujelOcQtDm761Qk= Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Id: 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 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=1.6 required=5.0 tests=BAYES_50,FREEMAIL_FROM,RDNS_NONE,SPF_PASS,URIBL_BLOCKED autolearn=no version=3.3.2 X-HELO: mail-ea0-f170.google.com X-Received: by 10.14.109.1 with SMTP id r1mr15671933eeg.32.1385113356205; Fri, 22 Nov 2013 01:42:36 -0800 (PST) Message-ID: <528F2709.104@googlemail.com> Date: Fri, 22 Nov 2013 09:42:33 +0000 From: David Kilroy User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:17.0) Gecko/20131005 Icedove/17.0.9 MIME-Version: 1.0 To: cygwin AT cygwin DOT com Subject: Re: ncurses, Windows 8.1 64 bit References: In-Reply-To: Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit On 22/11/13 03:57, Michael Purves wrote: > I'm having a great deal of difficulty getting my programs that use curses to > compile with Windows 8.1 64 bit. I've been > using/usr/x86_64-w64-mingw32/sys-root/mingw for the header and library > files. When the compiler couldn't find some of the necessary header files > that are in /usr/include, I copied them to the appropriate place under > /usr/x86_64-w64-ming32. I also copied the various libcurses.a type libraries > from /usr/lib to my $(CMDIR)/lib. I tried various combinations of -lcurses, > -lcurses.dll, -lncurses, -lncurses.dll, -lncursesw and -lncursesw.dll. Stop. Undo all the above. You've told gcc that your mingw system supports various cygwin libraries/calls. GCC will happily compile your code and fail to link. You first need to decide whether you want a mingw or cygwin application. If cygwin, you also have a cygwin32/cygwin64 choice. 32 bit cygwin will compile and work on 64 bit windows. Cygwin64 currently has fewer packages. Ncurses is available in both. Then make sure you have all the necessary libraries in your chosen environment. If you choose mingw (your current effort), then I believe further discussion in this list is off topic. Hint: you will want the mingw ncurses library and headers. To compile against cygwin ncurses, install the appropriate headers and libs (libncursesw-devel, libncursesw, ncurses) using setup. Then use gcc (i686-pc-cygwin-gcc or x86_64-pc-cygwin-gcc) as your compiler. Dave. -- 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