Mail Archives: djgpp/1998/08/13/03:39:37
On Sun, 9 Aug 1998, Robin Pell wrote:
> win.cpp (5) Error: `CursesWindow' undeclared (first use this function)
> win.cpp (5) Error: (Each undeclared identifier is reported only once
> win.cpp (5) Error: for each function it appears in.)
> win.cpp (5) Error: parse error before `('
This happens because lang/cxx/_G_config.h disables the Curses support
in C++ programs (it defines _G_HAVE_CURSES to zero near its end). You
could edit that line and change 0 to 1, but it seems that at least
PDCurses 2.2 is incompatible with the C++ CursesWindow class and you
will get other error messages.
I'd suggest trying PDCurses 2.3 (an announcement was posted here not
long ago). If that doesn't help, you will have to resolve any
conflicts by changing the curses.h header and/or cursesw.h.
- Raw text -