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了

 

你可能感兴趣的:(编译)