Work at SourceForge, help us to make it a better place! We have an immediate need for a Support Technician in our San Francisco or Denver office.

Close

Problem making ndk++

2014-04-04
2014-04-04
  • J. L. Turriff
    J. L. Turriff
    2014-04-04

    Hi,
    I'm trying to make ndk++ on my OpenSuSE 13.1 system (on x86_64). I've
    followed the requirements in the README file as best I can*, but I'm getting
    the following error:

    $make
    make[1]: Entering directory 
    `/home/leslie/Downloads/Packages/Non-RPMs/Linux/ndkpp-master/src'
    Making dependences for menu.cc
    Making dependences for edit.cc
    Making dependences for list_box.cc
    Making dependences for text.cc
    Making dependences for scroll_bar.cc
    Making dependences for switch_button.cc
    Making dependences for push_button.cc
    Making dependences for align.cc
    Making dependences for button.cc
    Making dependences for label.cc
    Making dependences for frame.cc
    Making dependences for panel.cc
    Making dependences for application.cc
    Making dependences for transport.cc
    make[1]: Leaving directory 
    `/home/leslie/Downloads/Packages/Non-RPMs/Linux/ndkpp-master/src'
    make[1]: Entering directory 
    `/home/leslie/Downloads/Packages/Non-RPMs/Linux/ndkpp-master/src'
    g++  -I../include -I../../ncursesxx/include   -c  -fpic transport.cc -o 
    transport.so
    transport.cc:13:28: fatal error: ncurses/panel.hh: No such file or directory
     #include <ncurses/panel.hh>
                                ^
    compilation terminated.
    make[1]: *** [transport.so] Error 1
    make[1]: Leaving directory 
    `/home/leslie/Downloads/Packages/Non-RPMs/Linux/ndkpp-master/src'
    make: *** [all] Error 2
    

    from which it appears that the include files are expected to be in an
    ncursesxx subdirectory instead of the ndk++ subdirectory where they actually
    are.

    $tree -fi | grep panel
    ./include/ndk++/panel.hh
    ./src/panel.cc
    ./src/panel.d
    

    Should I just make a link and continue, or is there something more
    fundamental wrong?

    Thanks,
    Leslie

    • The README file says that ncursesxx is required, but I can't find such a
      package anywhere, and there is an ncursesxx subdirectory in your build tree.
      (?)