Hi folks,
does anyone here know how to build a libncurses and a libpanel for mingw? When trying to build a gpc program that uses crt, I'm getting a lot of undefined references now.
To fix them, I downloaded a ncurses-1.5 tarball. Trying to build it resulted in a bunch of error messages:
In file included from c:/MinGW/include/sys/ioctl.h:22, from ../include/term.h:133, from ../ncurses/curses.priv.h:258, from tinfo/comp_hash.c:40: c:/MinGW/include/features.h:283:25: sys/cdefs.h: No such file or directory c:/MinGW/include/features.h:312:24: gnu/stubs.h: No such file or directory In file included from c:/MinGW/include/sys/ioctl.h:30, from ../include/term.h:133, from ../ncurses/curses.priv.h:258, from tinfo/comp_hash.c:40: c:/MinGW/include/bits/ioctl-types.h:28: syntax error before "struct" In file included from ../include/term.h:133, from ../ncurses/curses.priv.h:258, from tinfo/comp_hash.c:40: c:/MinGW/include/sys/ioctl.h:42: parse error before "__THROW" In file included from ../ncurses/curses.priv.h:258, from tinfo/comp_hash.c:40: ../include/term.h:673: syntax error before "typedef" ../include/term.h:698: field `Ottyb' has incomplete type ../include/term.h:699: field `Nttyb' has incomplete type make[1]: *** [make_hash] Error 1 make: *** [all] Error 2
Since they seem to refer to non-existing files: Is there some kind of "mingw special" ncurses distribution I would have to use instead?
Thanks in advance,
Markus