Menu

#1768 ncurses.cls doesn't build on some platforms

5.0.0
closed
Erich
None
none
1
2023-05-12
2021-05-23
Erich
No

On platforms like OpenIndiana or NetBSD, where the ncurses header file is located at ncurses/ncurses.h our ncurses.cls isn't being built.

Discussion

  • Erich

    Erich - 2021-05-23
    • status: open --> accepted
    • assigned_to: Erich
    • Pending work items: none --> tests
    • Group: None --> 5.0.0
     
  • Erich

    Erich - 2021-05-23

    Fixed CMake, code and added a test stub with revision [r12252]

     

    Related

    Commit: [r12252]

  • Niclas Rosenvik

    Niclas Rosenvik - 2021-06-02

    It doesn't build for me since the include directory and library directory is missing.
    The attached patch fixes this, it also includes testing for ncurses and asks the user to install it if not found. Did the check because find_package(Curses REQUIRED) didn't fail if ncurses is not installed even if CURSES_NEED_NCURSES is set to TRUE.

     

    Last edit: Niclas Rosenvik 2021-06-02
  • Per Olov Jonsson

    • status: accepted --> closed
    • Pending work items: tests --> none
     
  • Per Olov Jonsson

    With ncurses installed this works in 5.0.0. so I close this ticket as solved OpenIndiana passes all tests.

     

Anonymous
Anonymous

Add attachments
Cancel





Monday.com Logo