$ scons scons: Reading SConscript files ... Checking for g++ >= 4.0...(cached) yes Checking for pkg-config... (cached) yes Checking for C header file time.h... (cached) yes Checking for C header file signal.h... (cached) yes Checking for C header file unistd.h... (cached) yes Checking for C header file sys/poll.h... (cached) yes Checking for C++ header file tr1/functional... (cached) yes Checking for main() in C library ncursesw... (cached) yes Checking for main() in C library dl... (cached) yes Checking for main() in C library pthread... (cached) yes Checking for main() in C library z... (cached) yes Checking for main() in C library bz2... (cached) yes Checking for glib-2.0... (cached) yes Checking for sigc++-2.0... (cached) yes scons: done reading SConscript files. scons: Building targets ... g++ -o build/core/main.o -c -D_GNU_SOURCE -I. -DENABLE_BINRELOC -D_FILE_OFFSET_B ITS=64 -ansi -I/usr/include/sigc++-2.0 -I/usr/lib/sigc++-2.0/include -I/usr/incl ude/glib-2.0 -I/usr/lib/glib-2.0/include -g -rdynamic -Wall core/main.cc In file included from ./display/window.h:27, from ./core/manager.h:23, from ./core/nanodc.h:22, from core/main.cc:2: ./display/curses_window.h:22:30: error: ncursesw/ncurses.h: No such file or dire ctory ./display/curses_window.h:93: error: ISO C++ forbids declaration of ‘WINDOW’ with no type ./display/curses_window.h:93: error: expected ‘;’ before ‘*’ token ./display/curses_window.h:96: error: expected `;' before ‘~’ token ./display/curses_window.h:114: error: ISO C++ forbids declaration of ‘WINDOW’ with no type ./display/curses_window.h:114: error: expected ‘;’ before ‘*’ token ./display/curses_window.h: In member function ‘void display::CursesWindow::refresh()’: ./display/curses_window.h:41: error: ‘m_window’ was not declared in this scope ./display/curses_window.h:41: error: ‘wnoutrefresh’ was not declared in this scope ./display/curses_window.h: In member function ‘void display::CursesWindow::erase()’: ./display/curses_window.h:44: error: ‘m_window’ was not declared in this scope ./display/curses_window.h:44: error: ‘werase’ was not declared in this scope ./display/curses_window.h: In member function ‘void display::CursesWindow::clear()’: ./display/curses_window.h:47: error: ‘m_window’ was not declared in this scope ./display/curses_window.h:47: error: ‘wclear’ was not declared in this scope ./display/curses_window.h: In member function ‘int display::CursesWindow::get_width()’: ./display/curses_window.h:50: error: ‘m_window’ was not declared in this scope ./display/curses_window.h:50: error: ‘getmaxyx’ was not declared in this scope ./display/curses_window.h: In member function ‘int display::CursesWindow::get_height()’: ./display/curses_window.h:53: error: ‘m_window’ was not declared in this scope ./display/curses_window.h:53: error: ‘getmaxyx’ was not declared in this scope ./display/curses_window.h: In member function ‘int display::CursesWindow::get_x()’: ./display/curses_window.h:56: error: ‘m_window’ was not declared in this scope ./display/curses_window.h:56: error: ‘getyx’ was not declared in this scope ./display/curses_window.h: In member function ‘int display::CursesWindow::get_y()’: ./display/curses_window.h:59: error: ‘m_window’ was not declared in this scope ./display/curses_window.h:59: error: ‘getyx’ was not declared in this scope ./display/curses_window.h: In member function ‘void display::CursesWindow::set_background(int)’: ./display/curses_window.h:90: error: ‘m_window’ was not declared in this scope ./display/curses_window.h:90: error: ‘COLOR_PAIR’ was not declared in this scope ./display/curses_window.h:90: error: ‘wbkgdset’ was not declared in this scope ./display/curses_window.h: In static member function ‘static int display::CursesWindow::get_screen_width()’: ./display/curses_window.h:102: error: ‘stdscr’ was not declared in this scope ./display/curses_window.h:102: error: ‘getmaxyx’ was not declared in this scope ./display/curses_window.h: In static member function ‘static int display::CursesWindow::get_screen_height()’: ./display/curses_window.h:105: error: ‘stdscr’ was not declared in this scope ./display/curses_window.h:105: error: ‘getmaxyx’ was not declared in this scope ./display/curses_window.h: In static member function ‘static void display::CursesWindow::do_update()’: ./display/curses_window.h:112: error: ‘doupdate’ was not declared in this scope scons: *** [build/core/main.o] Error 1 scons: building terminated because of errors.