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
enlightenment-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-users

Reply via email to