Hi Alexander, you can add this to your gcc line:
$(pkg-config --cflags --libs ecore) eg: gcc *.c \ *-I/usr/local/include -I/usr/X11R6/include \* -L/usr/local/lib -L/usr/X11R6/lib \ $(pkg-config --cflags --libs ecore evas) Hope that helps :) Thanks, Daniel 2011/3/23 Alexander Enchevich <[email protected]> > Hi > > Following the instructions on this page > http://docs.enlightenment.org/auto/ecore/ I installed a few modules > (from eina to ecore). I tried two approaches - using the provided > Slackware packages, and then also tried installing from source > (./configure, make, make install). In both cases all header files end up > in folders ending in -1, e.g. /usr/include/ecore-1 . > > On the other hand, the building instructions on this page > http://docs.enlightenment.org/auto/ecore/ do not add any of these > directories to the includes: > > > How to compile using Ecore? > > This section has to be documented. Below is just a quick line to handle > all Ecore modules at once. > > gcc *.c \ > *-I/usr/local/include -I/usr/X11R6/include \* > -L/usr/local/lib -L/usr/X11R6/lib \ > -lecore -lecore_evas -lecore_x -lecore_fb \ > `pkg-config evas --cflags --libs` > > > Thus, using the above gcc command and the examples from this page > http://trac.enlightenment.org/e/wiki/Ecore, one can not compile the > examples. > > test1.c:1:19: error: Ecore.h: No such file or directory > > Is this a problem with the docs or the installer or am I misinterpreting > the info on the above pages? > > Thanks! > Alexander > > PS. ...of course I can make it compile but looking at all those "-1" > folders it just seems that something was not done right, most likely the > installation..? > > ------------------------------------------------------------------------------ > Enable your software for Intel(R) Active Management Technology to meet the > growing manageability and security demands of your customers. Businesses > are taking advantage of Intel(R) vPro (TM) technology - will your software > be a part of the solution? Download the Intel(R) Manageability Checker > today! http://p.sf.net/sfu/intel-dev2devmar > _______________________________________________ > enlightenment-devel mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/enlightenment-devel > ------------------------------------------------------------------------------ Enable your software for Intel(R) Active Management Technology to meet the growing manageability and security demands of your customers. Businesses are taking advantage of Intel(R) vPro (TM) technology - will your software be a part of the solution? Download the Intel(R) Manageability Checker today! http://p.sf.net/sfu/intel-dev2devmar _______________________________________________ enlightenment-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/enlightenment-devel
