Ecere SDK/eC Forums
http://ec-lang.org/community/
Print view

ffi.h Error while Building
http://ec-lang.org/community/viewtopic.php?f=2&t=425
Page 1 of 1
Author:  cloutiy [ Wed Jul 20, 2016 7:40 pm ]
Post subject:  ffi.h Error while Building

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
Author:  jerome [ Wed Jul 20, 2016 8:16 pm ]
Post subject:  Re: ffi.h Error while Building

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
Author:  cloutiy [ Wed Jul 20, 2016 8:43 pm ]
Post subject:  Re: ffi.h Error while Building

You are a life saver :D
All times are UTC-05:00 Page 1 of 1