Hi guys,

Sorry for the noob question that most likely has been answered several
times, but . . .

Working against the evas tutorial, I'm having trouble compiling.

I've dl'ed and compiled EFL into /opt/e17/lib using the easy_e17 script
(whose link is now defunct) on ubuntu 10.10. My gcc incantation is:

> export PKG_CONFIG_PATH="/opt/e17/lib/pkgconfig"
> gcc -o example `pkg-config --cflags --libs evas ecore-evas edje` example.c

However, the compile is not loading the X11 loader:

example.c:(.text+0x150): undefined reference to
`ecore_evas_software_X11_new'
collect2: ld returned 1 exit status

The output from pkg-config is:
-I/opt/e17/include/evas-1 -I/opt/e17/include/eet-1 -I/opt/e17/include/eina-1
-I/opt/e17/include/eina-1/eina -I/opt/e17/include/ecore-1
-I/opt/e17/include/edje-1 -I/opt/e17/include/embryo-1
-I/usr/include/freetype2 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include
-I/usr/include/lua5.1  -L/opt/e17/lib -levas -lecore_evas -ledje

Any ideas? I also had a look in the tutorials, and nowhere is compiling
discussed. I'm happy to update the docs if someone can point me in the right
direction.

Thanks,
Travis
------------------------------------------------------------------------------
Protect Your Site and Customers from Malware Attacks
Learn about various malware tactics and how to avoid them. Understand 
malware threats, the impact they can have on your business, and how you 
can protect your company and customers by using code signing.
http://p.sf.net/sfu/oracle-sfdevnl
_______________________________________________
enlightenment-users mailing list
enlightenment-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-users

Reply via email to