Sign in Join

Live chat for Free Pascal, Lazarus, Delphi and every Pascal programmer.

Mailing lists / fpc-pascal / 2020-02

ncurses 6

1 message · 1 person ·

Reply by email Subscribe to this list Your subscription

Read-only archive. Use j and k to move between messages.

Kevin Monceaux

Pascal Fans,

The ncurses and oCRT example programs appear to have an issue with ncurses
6. Attempting to compile them gets an undefined reference to symbol 'keypad' error. Adding {$LINKLIB tinfow} to the affected programs works around the issue. The ncurses units might need to use:

pkg-config --libs ncursesw

to gracefully determine which libraries need to be linked against based on the system's ncurses version. On my Gentoo Linux system, with ncurses 6.1_p20190609, pkg-config --libs ncursesw returns:

-lncursesw -ltinfow

Kevin http://www.RawFedDogs.net http://www.Lassie.xyz http://www.WacoAgilityGroup.org Bruceville, TX What's the definition of a legacy system? One that works! Errare humanum est, ignoscere caninum.

Reply by email