1.下载skyeye-1.3.5_rc1.tar.bz2
2.tar xjvf skyeye-1.3.5_rc1.tar.bz2
3.cd skyeye-1.3.5_rc1
4./configure
5.make lib
6.make
6.1 出错 /bin/bash: python-config: command not found
sudo apt-get install python-dev
6.2 出错 /usr/bin/ld:cannot find -lltdl
apt-getinstall libltdl-dev
6.3 出错 In file included from ../../../third-party/distrib/sdl-1.2.12/src/video/x11/SDL_x11dyn.c:26:
../../../third-party/distrib/sdl-1.2.12/src/video/x11/SDL_x11dyn.h:39:33: error: X11/extensions/XShm.h: No such file or directory
In file included from ../../../third-party/distrib/sdl-1.2.12/src/video/x11/SDL_x11dyn.c:93:
../../../third-party/distrib/sdl-1.2.12/src/video/x11/SDL_x11sym.h:165: error: expected declaration specifiers or ‘...’ before ‘XShmSegmentInfo’
../../../third-party/distrib/sdl-1.2.12/src/video/x11/SDL_x11sym.h:165: error: expected declaration specifiers or ‘...’ before ‘XShmSegmentInfo’
../../../third-party/distrib/sdl-1.2.12/src/video/x11/SDL_x11sym.h: In function ‘XShmAttach’:
../../../third-party/distrib/sdl-1.2.12/src/video/x11/SDL_x11sym.h:165: error: ‘b’ undeclared (first use in this function)
../../../third-party/distrib/sdl-1.2.12/src/video/x11/SDL_x11sym.h:165: error: (Each undeclared identifier is reported only once
../../../third-party/distrib/sdl-1.2.12/src/video/x11/SDL_x11sym.h:165: error: for each function it appears in.)
../../../third-party/distrib/sdl-1.2.12/src/video/x11/SDL_x11sym.h:165: error: too many arguments to function ‘pXShmAttach’
../../../third-party/distrib/sdl-1.2.12/src/video/x11/SDL_x11sym.h: At top level:
../../../third-party/distrib/sdl-1.2.12/src/video/x11/SDL_x11sym.h:166: error: expected declaration specifiers or ‘...’ before ‘XShmSegmentInfo’
../../../third-party/distrib/sdl-1.2.12/src/video/x11/SDL_x11sym.h:166: error: expected declaration specifiers or ‘...’ before ‘XShmSegmentInfo’
../../../third-party/distrib/sdl-1.2.12/src/video/x11/SDL_x11sym.h: In function ‘XShmDetach’:
../../../third-party/distrib/sdl-1.2.12/src/video/x11/SDL_x11sym.h:166: error: ‘b’ undeclared (first use in this function)
../../../third-party/distrib/sdl-1.2.12/src/video/x11/SDL_x11sym.h:166: error: too many arguments to function ‘pXShmDetach’
../../../third-party/distrib/sdl-1.2.12/src/video/x11/SDL_x11sym.h: At top level:
../../../third-party/distrib/sdl-1.2.12/src/video/x11/SDL_x11sym.h:168: error: expected declaration specifiers or ‘...’ before ‘XShmSegmentInfo’
../../../third-party/distrib/sdl-1.2.12/src/video/x11/SDL_x11sym.h:168: error: expected declaration specifiers or ‘...’ before ‘XShmSegmentInfo’
../../../third-party/distrib/sdl-1.2.12/src/video/x11/SDL_x11sym.h: In function ‘XShmCreateImage’:
../../../third-party/distrib/sdl-1.2.12/src/video/x11/SDL_x11sym.h:168: error: ‘f’ undeclared (first use in this function)
../../../third-party/distrib/sdl-1.2.12/src/video/x11/SDL_x11sym.h:168: error: too many arguments to function ‘pXShmCreateImage’
apt-get install x11proto-xext-dev
apt-get install xorg-dev
6.4 出错 /usr/bin/ld: cannot find -liconv
下载libiconv-1.14.tar.gz http://ftp.gnu.org/pub/gnu/libiconv/
# tar -zxvf libiconv-1.14.tar.gz
# cd libiconv-1.14
# ./configure --prefix=/usr/local
# make
# make install
# make clean
6.5 出错 touchscreen_s3c6410/touchscreen_s3c6410.h:4:21: error: gtk/gtk.h: No such file or directory
In file included from ../common/include/skyeye_lcd_intf.h:27,
apt-get install libgtk2.0-dev
6.5.1修改 device/lcd_gtk/lcd_gtk.c
//#include <gdk/gdk.h>
//#include <gtk/gtk.h>
#include <gtk-2.0/gdk/gdk.h>
#include <gtk-2.0/gtk/gtk.h>
6.5.2修改 device\touchscree_s3c6410\touchscreen_s3c6410.h
//#include <gtk/gtk.h>
#include <gtk-2.0/gtk/gtk.h>
6.5.3 修改 device\lcd\skyeye_lcd_gtk.c
//#include <gdk/gdk.h>
//#include <gtk/gtk.h>
#include <gtk-2.0/gdk/gdk.h>
#include <gtk-2.0/gtk/gtk.h>
7.make install
8.make install_lib