Ubuntu10.04安装skyeye1.3.2问题
从网上下载了skyeye-1.3.2_rc1_CP.tar.gz源码包,在Ubuntu10.04下解决后执行下面的命令进行配置安装:
./configure
make lib
make
make install_lib
make install
当执行最后的make时有如下的错误提示:
gui/x.cc: In member function ‘virtual void bx_x_gui_c::specific_init(int, char**, unsigned int, unsigned int, unsigned int)’:
gui/x.cc:485: error: ‘XCreatePixmapFromData’ was not declared in this scope
make[2]: *** [x.lo] Error 1
make[2]: Leaving directory `/home/guochongxin/skyeye-1.3.2_rc1/arch/x86'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/guochongxin/skyeye-1.3.2_rc1'
make: *** [all] Error 2
查找后发现是有文件没安装,故执行下面命令安装:
sudo apt-get install libxft-dev libx11-dev libxft-dev
再次执行make,又出现如下的错误:
gui/x.cc: In member function ‘virtual void bx_x_gui_c::specific_init(int, char**, unsigned int, unsigned int, unsigned int)’:
gui/x.cc:485: error: ‘XCreatePixmapFromData’ was not declared in this scope
make[2]: *** [x.lo] Error 1
make[2]: Leaving directory `/home/guochongxin/skyeye-1.3.2_rc1/arch/x86'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/guochongxin/skyeye-1.3.2_rc1'
make: *** [all] Error 2
执行如下命令安装相应的包:
sudo apt-get install libxpm-dev
再重新执行make以及后面的安装命令,整个安装就结束。