Problems encountered in the process of compiling ecere

Problems encountered in the process of compiling ecere

First in https://nodeload.github.com/ecere/sdk/tarball/master download the latest source code

After decompression, directly make

It is shown below:

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: fatal error: zlib.h: no such file or directory compilation terminated.

The problem began

A fatal error: zlib.h: No such file or directory

    Execute sudo apt-get install zlib1g-dev

Second, the fatal error: jpeglib.h: No such file or directory execute sudo apt-get install libjpeg-dev

Third, the fatal error: png.h: No such file or directory

执行  sudo apt-get install libpng

Four, curses.h: No such file or directory

sudo apt-get  install libncurses5-dev

Five fatal error: ft2build.h: No such file or directory

sudo apt-get install libxft2-dev

Six fatal error: GL / glx.h: No such file or directory and fatal error: X11 / extensions / shape.h: No such file or directory

sudo apt-get install libgl1-mesa-dev

Seven, if ln error report, it is because the file system you are using windows rather than linux because windows file system does not support ln, note that you may be through the use of virtual machines to share or mount like the windows file system. Solution to the problem is to put him mv linux file system.

Eight fatal error: sqlite3.h: No such file or directory

 

Finally, if you compile the contents of the display:

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.

 

DESCRIPTION been OK

 

Reproduced in: https: //my.oschina.net/mysticboy/blog/541376

Guess you like

Origin blog.csdn.net/weixin_34007020/article/details/92064637