10.04安装skyeye 1.3.5

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

  • 0
    点赞
  • 1
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值