ncurses 程序无法在 debian armv7 上运行 [英] ncurses program won't run on debian armv7
问题描述
这里有人可以帮我处理 armv7 (x86) 的 ncurses 吗?我只想在 Debian 上运行我的 C++ 程序使用 ncurses 它有错误打开终端时出错:xterm."
Can somebody here help me with ncurses for armv7 (x86)? I just want to run on Debian my C++ program uses ncurses It has error "Error opening terminal: xterm."
我使用了这个安装指南:http://soft-dev-pro.blogspot.ru/2014/07/cross-compile-ncurses-for-arm.html
I used this installation guide: http://soft-dev-pro.blogspot.ru/2014/07/cross-compile-ncurses-for-arm.html
如果我在控制台中输入 which,它会显示:which $TERM/usr/bin/xterm
If i type which in console, it shows this: which $TERM /usr/bin/xterm
似乎initscr()函数不会启动curses模式
It seems initscr() function won't start curses mode
推荐答案
您的 ncurses 程序正在寻找
Your ncurses program is looking for
/usr/arm-linux-gnueabihf/share/terminfo
并没有找到.如果你这样做
and not finding that. If you do
export TERMINFO=/usr/share/terminfo
然后程序可以使用该设置来查找系统的终端数据库.
then the program can use that setting to find the system's terminal database.
这篇关于ncurses 程序无法在 debian armv7 上运行的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!