Page 1 of 1

ffi.h Error while Building

PostPosted: Wed Jul 20, 2016 7:40 pm
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

Re: ffi.h Error while Building

PostPosted: Wed Jul 20, 2016 8:16 pm
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

Re: ffi.h Error while Building

PostPosted: Wed Jul 20, 2016 8:43 pm
by cloutiy
You are a life saver :D