Date: Thu, 13 Aug 1998 10:39:23 +0300 (IDT) From: Eli Zaretskii To: Robin Pell cc: djgpp AT delorie DOT com Subject: Re: Problem using CursesWindow class In-Reply-To: <35ce0e92.55072@news.force9.net> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Precedence: bulk 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.