yuhongp 发表于 2010-5-25 10:53:49

skyeye1.3在suse linux10.0下编译老是出错,请大家啊帮忙

如题,错误信息如下:
gui/x.cc:559: error: ‘GXcopy’ was not declared in this scope
gui/x.cc:559: error: ‘AllPlanes’ was not declared in this scope
gui/x.cc:559: error: ‘XSetState’ was not declared in this scope
。。。。。。。。。。。。。。。。。。。。。。。
gui/x.cc:2496: error: ‘XK_Escape’ was not declared in this scope
gui/x.cc:2499: error: ‘XK_space’ was not declared in this scope
gui/x.cc:2499: error: ‘XK_Return’ was not declared in this scope
gui/x.cc:2515: error: ‘struct x11_dialog_t’ has no member named ‘gc’
gui/x.cc:2520: error: ‘bx_x_display’ was not declared in this scope
gui/x.cc:2520: error: ‘struct x11_dialog_t’ has no member named ‘gc’
gui/x.cc:2520: error: ‘XFreeGC’ was not declared in this scope
gui/x.cc:2521: error: ‘struct x11_dialog_t’ has no member named ‘gc_inv’
gui/x.cc:2522: error: ‘struct x11_dialog_t’ has no member named ‘dialog’
gui/x.cc:2522: error: ‘XDestroyWindow’ was not declared in this scope
make: *** Error 1
make: Leaving directory `/skyeye/skyeye-1.3.0_rc1/arch/x86'
make: *** Error 1
make: Leaving directory `/skyeye/skyeye-1.3.0_rc1'
make: *** Error 2

另外,我在运行./configure的时候,有些项显示的是=no,不知道是不是有补丁包没有打?但又不知道具体要打那些补丁包。

才转入搞嵌入式不久,许多问题都比较初级,望高手指教!

yuhongp 发表于 2010-5-25 10:56:10

对了,我没有安装交叉编译环境,我是直接下载1.3的源代码,然后再我的suse linux下解压编译的,没有做任何的特殊处理

ksh 发表于 2010-5-25 17:01:00

需要安装一些X11的开发库,如:
libxpm-dev - X11 pixmap library (development headers)
libxpm4 - X11 pixmap library
.....

yuhongp 发表于 2010-5-26 09:39:29

谢谢ksh,我开始也认为是有一些库没有安装,但具体不知道是哪些,所以我将光盘上的有关图形界面的补丁包(gnome、kde、x窗口系统的全部补丁都打上了),编译还是不行(重新编译之前我make clean了)

ksh指出的这些库我确实没有安装,但我在suse linux10.0的安装光盘上找不到上面提到的这些补丁包,而我google后也没有找到下载的地址,不知道怎么才能够安装上?

另外,我刚去下载了1.20版的skyeye,采用make NO_LCD=1的方式编译通过
页: [1]
查看完整版本: skyeye1.3在suse linux10.0下编译老是出错,请大家啊帮忙