| delorie.com/archives/browse.cgi | search |
| X-Recipient: | archive-cygwin AT delorie DOT com |
| X-SWARE-Spam-Status: | No, hits=4.1 required=5.0 tests=AWL,BAYES_50,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,FREEMAIL_ENVFROM_END_DIGIT,FREEMAIL_FROM,RCVD_IN_DNSWL_NONE,TW_MV,T_RP_MATCHES_RCVD,T_TO_NO_BRKTS_FREEMAIL |
| X-Spam-Check-By: | sourceware.org |
| Message-ID: | <426823.4782.qm@web34408.mail.mud.yahoo.com> |
| Date: | Wed, 19 May 2010 18:09:53 -0700 (PDT) |
| From: | Joe Java <cop3252 AT yahoo DOT com> |
| Subject: | ncurses problem with mvcur function |
| To: | cygwin AT cygwin DOT com |
| MIME-Version: | 1.0 |
| X-IsSubscribed: | yes |
| Mailing-List: | contact cygwin-help AT cygwin DOT com; run by ezmlm |
| List-Id: | <cygwin.cygwin.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 |
I have a very old game that uses ncurses.
I read the file
/usr/share/doc/Cygwin/ncurses.README
and added
-I /usr/include/ncurses
to the compile commands
I am using 5.7-18 of ncurses
I added every package with ncurses in the package name
in the Devel, Libs, and Utils Categories
The error is:
gcc -std=c99 -Wall -Wextra -pedantic -O3 -pipe -D"USE_X11" -D"USE_GCU" -I/usr/X11R6/include -I/usr/include/ncurses -c -o main-gcu.o main-gcu.c
main-gcu.c: In function `Term_xtra_gcu_alive':
main-gcu.c:603: error: dereferencing pointer to incomplete type
main-gcu.c:603: error: dereferencing pointer to incomplete type
main-gcu.c: In function `Term_nuke_gcu':
main-gcu.c:739: error: dereferencing pointer to incomplete type
main-gcu.c:739: error: dereferencing pointer to incomplete type
make: *** [main-gcu.o] Error 1
lines 602-603 are
/* this moves curses to bottom right corner */
mvcur(curscr->_cury, curscr->_curx, LINES - 1, 0);
lines 738-739 are the same as above.
This program use to compile with Cygwin 1.5
I would like top compile this old game, any hints on how?
Joe
--
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
| webmaster | delorie software privacy |
| Copyright © 2019 by DJ Delorie | Updated Jul 2019 |