Here's a good rule of thumbs when dealing with compile time errors:
1. Find the error. In this case, its this:
els_icon.c:359: error: 'EVAS_IMAGE_SCALE_HINT_STATIC' undeclared (first
use in this function)
2. Read the error. Notice how it talks about EVAS_something_something.
You are not compiling EVAS, are you?
3. At this point, chances are that EVAS is not up to date. Update it and
try again.
Almost all compile errors mentioned on the list are of this sort.
On Sat, 2009-06-13 at 05:44 -0700, j runtt wrote:
> I am tring to compile elementary and I have run into a problem during : "
> make":
>
> els_icon.c: In function '_smart_add':
> els_icon.c:359: error: 'EVAS_IMAGE_SCALE_HINT_STATIC' undeclared (first use
> in this function)
> els_icon.c:359: error: (Each undeclared identifier is reported only once
> els_icon.c:359: error: for each function it appears in.)
> make[3]: *** [libelementary_la-els_icon.lo] Error 1
> make[3]: Leaving directory `/root/elementary/src/lib'
> make[2]: *** [all-recursive] Error 1
> make[2]: Leaving directory `/root/elementary/src'
> make[1]: *** [all-recursive] Error 1
> make[1]: Leaving directory `/root/elementary'
> make: *** [all] Error 2
>
> This is where thr error happens:
> {
> Smart_Data *sd;
>
> sd = calloc(1, sizeof(Smart_Data));
> if (!sd) return;
> sd->obj = evas_object_image_add(evas_object_evas_get(obj));
> evas_object_image_scale_hint_set(sd->obj, EVAS_IMAGE_SCALE_HINT_STATIC);
> sd->x = 0;
> sd->y = 0;
> sd->w = 0;
> sd->h = 0;
> sd->fill_inside = 1;
> sd->scale_up = 1;
> sd->scale_down = 1;
> sd->size = 64;
> sd->scale = 1.0;
> evas_object_smart_member_add(sd->obj, obj);
> evas_object_smart_data_set(obj, sd);
>
> Could someone tell me how to fix this? Thank you very , very much !!!
>
>
>
>
> ------------------------------------------------------------------------------
> Crystal Reports - New Free Runtime and 30 Day Trial
> Check out the new simplified licensing option that enables unlimited
> royalty-free distribution of the report engine for externally facing
> server and web deployment.
> http://p.sf.net/sfu/businessobjects
> _______________________________________________
> enlightenment-users mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/enlightenment-users
------------------------------------------------------------------------------
Crystal Reports - New Free Runtime and 30 Day Trial
Check out the new simplified licensing option that enables unlimited
royalty-free distribution of the report engine for externally facing
server and web deployment.
http://p.sf.net/sfu/businessobjects
_______________________________________________
enlightenment-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/enlightenment-users