On Mon, 8 Feb 2010, Shuduo Sang wrote:

>>>>> gcc `pkg-config --libs --cflags evas ecore ecore-evas` ecore_test.c -o
>>>>> ecore_test
>>>>>
>>>>> My code is following.
>>>>>
>>>>> ...
>>>>>
>>>>>  22         if ( !ecore_init()) return EXIT_FAILURE;
>>>>>  23         if ( !ecore_evas_init()) return EXIT_FAILURE;
>>>>>  24
>>>>>  25         if (NULL == (eina_list = ecore_evas_engines_get()))
>>>>>  26                 return EXIT_FAILURE;
>>>>>  27
>>>>>  28         EINA_LIST_FOREACH(eina_list, l, data)
>>>>>  29                 if(data) printf("data %s\n", data);
>>>>>  30         ecore_evas_engines_free(eina_list);
>>>>>  31
>>>>>  32         ecore_evas = ecore_evas_software_x11_new(NULL, 0, 0, 0, W,
>>>>> H);
>>>>>  33         if (!ecore_evas)
>>>>>  34                 ecore_evas = ecore_evas_gl_x11_new(NULL, 0, 0, 0,
>> W,
>>>>> H);
>>>>>  35         if (!ecore_evas)
>>>>>  36                 ecore_evas = ecore_evas_fb_new(NULL, 0, W, H);
>>>>>  37         if (!ecore_evas)
>>>>>  38                 ecore_evas = ecore_evas_xrender_x11_new(NULL, 0,
>> 0,
>>>>> 0,
>>>>> W, H);
>>>>>  39         if (!ecore_evas){
>>>>>  40                 printf("ERROR: Cannot create canvas\n");

look in $prefix/lib/evas/modules/engines

(where $prefix is the prefix you passed to configure, or /usr/local is 
none)

and see if you have subdirectories in it

Vincent

------------------------------------------------------------------------------
The Planet: dedicated and managed hosting, cloud storage, colocation
Stay online with enterprise data centers and the best network in the business
Choose flexible plans and management services without long-term contracts
Personal 24x7 support from experience hosting pros just a phone call away.
http://p.sf.net/sfu/theplanet-com
_______________________________________________
enlightenment-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel

Reply via email to