我完全安装了RedHat7.2,从新编译skyeye,我在/目录下建了一个workstation目录,将skyeye压缩文件解压在这个目录下,然后进入skyeye目录,运行./configure --target=arm-elf --prefix=/usr/local --without-gtk-prefix --without-gtk-exec-prefix --disable-gtktest
然后make
出现如下错误提示:
Package gtk+-2.0 was not found in the pkg-config search path.
Perhaps you should add the directory containing `gtk+-2.0.pc'
to the PKG_CONFIG_PATH environment variable
No package 'gtk+-2.0' found
skyeye_lcd.c: In function `lcd_enable':
skyeye_lcd.c:145: warning: passing arg 1 of `gtk_window_set_title' from incompatible pointer type
skyeye_lcd.c:165: parse error before `color'
skyeye_lcd.c:199: `color' undeclared (first use in this function)
skyeye_lcd.c:199: (Each undeclared identifier is reported only once
skyeye_lcd.c:199: for each function it appears in.)
make[2]: *** [skyeye_lcd.o] Error 1
make[1]: *** [all] Error 2
make: *** [all-sim] Error 2