ncurses程序无法在debian armv7上运行 [英] ncurses program won't run on debian armv7
问题描述
这里有人可以帮助我解决armv7(x86)的问题吗?我只想在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
如果我在控制台中键入哪个,则显示以下内容:哪个$ TERM/usr/bin/xterm
If i type which in console, it shows this: which $TERM /usr/bin/xterm
似乎initscr()函数不会启动诅咒模式
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屋!