ubuntu下minigui+qvfb pc端配置

来源:互联网 发布:烈火之剑JAVA全升 编辑:程序博客网 时间:2024/06/06 03:28
安装qvfb
tar zxvf qvfb-1.1.tar.gz
vi ./qvfb/main.cpp
将main函数中的width和height改成想要的分辨率;
./configure
出现:
checking for dlopen in -ldl... yes
checking for shl_unload in -ldld... no
checking for X... configure: error: Can't find X includes. Please check your installation and add the correct paths!

./configure --x-includes=/usr/lib/X11 --x-libraries=/usr/lib/

出现问题:
checking for libXext... no
configure: error: We need a working libXext to proceed. Since configure
can't find it itself, we stop here assuming that make wouldn't find
them either.


sudo apt-get install libxext-dev autoconf automake build-essential

./configure --x-includes=/usr/lib/X11 --x-libraries=/usr/lib

checking for extra libs... no
checking for libz... configure: error: not found. Check your installation and look into config.log

下载zlib-1.2.3.tar.gz 安装完成后
运行./configure --x-includes=/usr/lib/X11 --x-libraries=/usr/lib

出现:checking for Qt... configure: error: Qt (>= Qt 3.0.3) (headers and libraries) not found. Please check your installation!

sudo apt-get install libqt3-headers libqt3-mt-dev
/configure --with-qt-includes=/usr/include/qt3/ --with-qt-libraries=/usr/lib/
make
sudo make install

安装libminigui-1.6.10.tar.gz
./configure
make
sudo make install

mde-1.6.10.tar.gz
./configure
make
出现问题
vcconfigure.c can't find popt.h
解决:sudo apt-get install libpopt-dev

make
sudo make install
 


原创粉丝点击