ecere 编译过程中遇到的问题

ecere 编译过程中遇到的问题

ecere 编译过程中遇到的问题

先在 https://nodeload.github.com/ecere/sdk/tarball/master 下载到最新源码

解压后, 直接make

显示如下:

Bootstrapping eC compiling tools... Building ecere... Building ec... Building ecp... Building ecc... Building ecs... All done! Building dependencies... Building libungif... Building 2nd stage ecere... src/sys/EARArchive.ec:4:18: 致命错误: zlib.h:没有那个文件或目录 编译中断。

问题开始了

一、 致命错误: zlib.h:没有那个文件或目录

    执行  sudo apt-get install zlib1g-dev

二 、 致命错误: jpeglib.h:没有那个文件或目录    执行  sudo apt-get install libjpeg-dev

三、 致命错误: png.h:没有那个文件或目录

执行  sudo apt-get install libpng

四、 curses.h:没有那个文件或目录

sudo apt-get  install libncurses5-dev

五、 致命错误: ft2build.h:没有那个文件或目录

sudo apt-get install libxft2-dev

六 致命错误: GL/glx.h:没有那个文件或目录 和   致命错误: X11/extensions/shape.h:没有那个文件或目录

sudo apt-get install libgl1-mesa-dev

七、如果报ln 错误, 那是因为你使用的文件系统 是 windows的而不是linux 的, 因为windows的文件系统不支持ln ,注意, 你可能是通过虚拟机共享或者挂载之类的使用的windows 的文件系统。 解决问题的方法是把他 mv 到 linux 的文件系统里。

八、致命错误: sqlite3.h:没有那个文件或目录

 

最后, 如果编译内容显示:

Bootstrapping eC compiling tools... Building ecere... Building ec... Building ecp... Building ecc... Building ecs... All done! Building dependencies... Building libungif... Building 2nd stage ecere... Building eAR command line tool... Building Vanilla Ecere... Building ear... Building self-extract tool... Building eAR command line tool... Building 2nd stage compiler Building 2nd stage libec... /home/klaus/ecere-sdk-36e91de/compiler/libec/obj/release.linux/ec.main.ec:605:1: warning: Redefinition of sourceFileStack (defining as char[10][MAX_LOCATION], already defined as char[MAX_INCLUDE_DEPTH][MAX_LOCATION]) Building 2nd stage ecp... Building 2nd stage ecc... Building 2nd stage ecs... Building eC Core Runtime... Enabling 2nd stage binaries... Building IDE... Building epj2make... Building Documentor... Building EDA... Building Ecere Data Access layer... Building EDASQLite driver... The Ecere SDK is fully built.

 

说明已经OK了

 

posted @ 2012-06-25 11:37 麦壳饼 阅读( ...) 评论( ...) 编辑 收藏
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值