Jump to content
Sign in to follow this  

[answered] Help Compiling Elementary Code Examples

Recommended Posts

I'm attempting to compile some of the simple code examples using Elementary.  These are the two instructional pages I found:





The first page suggests using a Makefile for compiling.  This leads to a compile error:

fatal error: Elementary.h: No such file or directory #include <Elementary.h>
The second page suggest using 
gcc hello.c -o hello `pkg-config elementary --cflags --libs`
This gets me a string of unmet dependencies.  I gave up at 
Package 'mount', required by 'eeze', not found
I'm on Bodhi 3.0.0

Share this post

Link to post
Share on other sites

Bodhi has Elementary/EFL headers installed by default. We do not split them out like a lot of packagers do. Your first message implies gcc isn't finding the headers.


Your third code snippet means you are missing a dependency.

Share this post

Link to post
Share on other sites

Hi Jeff -  Thanks for your quick reply.  I have two questions:

How do I check if my EFL headers are installed correctly, and if not, where/how do I best install them?


These are the packages I installed by hand - they showed up as missing depencies just like 'mount'.  Is there an easier way than to install these one by one?












Share this post

Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this