Closed phpmooc closed 7 months ago
Just find tinfo.pc/ncursesw.pc file path, then export the environment variables, it can work normally.
export PKG_CONFIG_PATH=$PKG_CONFIG_PATH:/usr/lib/x86_64-linux-gnu/pkgconfig/
yep, @kuanghl is correct; you just need to ensure PKG_CONFIG_PATH
is pointing to wherever the appropriate .pc files are installed.
Environment:
compile from source code by issuing the command
cmake ../ -DUSE_GPM=on -DUSE_QRCODEGEN=on -DBUILD_TESTING=off -DUSE_DOCTEST=off -DUSE_MULTIMEDIA=none
, then throw errors as below:Besides, I have built and installed the latest ncurses library with version 6.3, and I have did lots of google search for
tinfo
, but no any clues found, so how to install tinfo with version required? and I found the library file 【/usr/lib/libncursesw.so.6.3】already exists, so why it still report that ncursesw >= 6.1 ? any help will be appreciated.