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.
_______________________________________________
fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
https://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal

Reply via email to