ncurses problem with mvcur function

Joe Java cop3252@yahoo.com
Thu May 20 03:28:00 GMT 2010


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



More information about the Cygwin mailing list