1、出错:C++ preprocessor "/lib/cpp" fails sanity check
解决:aptitude install g++
2、出错:error: Can't find X includes. Please check your installation and add the correct paths!
解决:apt-get install xorg-dev
3、出错:error: Qt (>= Qt 3.0.3) (headers and libraries) not found. Please check your installation!
解决:sudo apt-get install libqt3-headers libqt3-mt-dev
sudo apt-get install qt3-dev-tools-embedded
sudo apt-get install qt3-dev-tools-embedded
执行
./configure --with-qt-libraries=/usr/share/qt3/lib/--with-qt-includes=/usr/share/qt3/include
make –j4
4、出错: NEWGAL: Video mode smaller than requested.
NEWGAL: Set video mode failure.
InitGUI: Can not initialize graphics engine!
原因:执行qvfb &时弹出的窗口,通过查看文件->配置得知size为240*320
解决:修改sudo gedit /usr/local/etc/MiniGUI.cfg中
[qvfb]
defaultmode=240*320-16bpp
重启
5、出错: NEWGAL: Video mode smaller than requested.
NEWGAL: Set video mode failure.
InitGUI: Can not initialize graphics engine!
原因:执行qvfb &时弹出的窗口被关闭了,重新执行此指令