Ecere SDK/eC Forums • View topic - ffi.h Error while Building




Ecere SDK/eC Forums

Ecere Developers Community

ffi.h Error while Building

General help: new users, installing the Ecere SDK, using the IDE to compile and run applications.

ffi.h Error while Building

Postby cloutiy » Wed Jul 20, 2016 7:40 pm

Hello,

While making, I get the following error.

Code: Select all
Building EDA...
Building Ecere Data Access layer...
src/EDA.ec:8:17: fatal error: ffi.h: No such file or directory
 #include "ffi.h"
                 ^
compilation terminated.
make[2]: *** [Makefile:172: obj/release.linux/EDA.sym] Error 1
make[1]: *** [Makefile:15: all] Error 2
make: *** [Makefile:351: eda] Error 2


I have installed the sqlite dependency recommended on the installation instructions using the package installer in Arch Linux. However I'm still receiving this error.

Any pointers are useful!

yc

I've closed and restarted the console
cloutiy
 
Posts: 18
Joined: Wed Jul 20, 2016 5:07 pm

Re: ffi.h Error while Building

Postby jerome » Wed Jul 20, 2016 8:16 pm

Hi Yves,

There is a package on the AUR that might make things easier for you:

https://aur.archlinux.org/packages/ecere-sdk-git/

You can also look at what it does in its PKGBUILD:

https://aur.archlinux.org/cgit/aur.git/ ... re-sdk-git

You can 'make' with:

Code: Select all
make CFLAGS="$(pkg-config libffi --cflags)" ENABLE_SSL=y


That should be able to find libffi.

Also, I recommend you join us on IRC at irc.freenode.net #ecere if you would like quick responses.

Best regards,

-Jerome
jerome
Site Admin
 
Posts: 621
Joined: Sat Jan 16, 2010 11:16 pm

Re: ffi.h Error while Building

Postby cloutiy » Wed Jul 20, 2016 8:43 pm

You are a life saver :D
cloutiy
 
Posts: 18
Joined: Wed Jul 20, 2016 5:07 pm


Return to General Help

Who is online

Users browsing this forum: No registered users and 1 guest

cron