ffi.h Error while Building

General help: new users, installing the Ecere SDK, using the IDE to compile and run applications.
Post Reply
cloutiy
Posts: 13
Joined: Wed Jul 20, 2016 5:07 pm

ffi.h Error while Building

Post by cloutiy »

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
jerome
Site Admin
Posts: 608
Joined: Sat Jan 16, 2010 11:16 pm

Re: ffi.h Error while Building

Post by jerome »

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
cloutiy
Posts: 13
Joined: Wed Jul 20, 2016 5:07 pm

Re: ffi.h Error while Building

Post by cloutiy »

You are a life saver :D
Post Reply