On Sat, 12 Feb 2011, John Dovers wrote:

>
>>
>> first check it is installed ($prefix/lib/evas/modules/engines)
>>
>> if it is installed, then you can look at the possible errors with logs:
>>
>> EINA_LOG_LEVEL=5 ./my_app
>>
>
> I am now using the X11 render engine and X11 window system to display the 
> canvas on a X11 window. I get the following logging when trying to display an 
> image:
>
> DBG<23442>:eina_share eina_stringshare.c:658 eina_stringshare_add_length() 
> str=0x804947c (background.png), slen=14
> DBG<23442>:eina_share eina_stringshare.c:658 eina_stringshare_add_length() 
> str=0xbfff0fc0 (background.png//://(null)), slen=25
> DBG<23442>:eina_share eina_stringshare.c:658 eina_stringshare_add_length() 
> str=0x8eed0c0 (background.png), slen=14
> DBG<23442>:evas_main evas_image_load.c:105 
> evas_common_load_rgba_image_module_from_file() known loader 'png' handles 
> extension 'png' of file 'background.png'
> DBG<23442>:evas_main evas_image_load.c:137 
> evas_common_load_rgba_image_module_from_file() image loader 'png' is not 
> enabled or missing!
> DBG<23442>:evas_main evas_image_load.c:178 
> evas_common_load_rgba_image_module_from_file() could not find module 'png'
> DBG<23442>:evas_main evas_image_load.c:170 
> evas_common_load_rgba_image_module_from_file() brute force loader 'jpeg' 
> (0x8eede28) failed on background.png (File is not a known format)
> DBG<23442>:evas_main evas_image_load.c:170 
> evas_common_load_rgba_image_module_from_file() brute force loader 'eet' 
> (0x8eee378) failed on background.png (File (or file path) does not exist)
> DBG<23442>:evas_main evas_image_load.c:170 
> evas_common_load_rgba_image_module_from_file() brute force loader 'xpm' 
> (0x8eee880) failed on background.png (File is not a known format)
> DBG<23442>:evas_main evas_image_load.c:178 
> evas_common_load_rgba_image_module_from_file() could not find module 'tiff'
> DBG<23442>:evas_main evas_image_load.c:178 
> evas_common_load_rgba_image_module_from_file() could not find module 'gif'
> DBG<23442>:evas_main evas_image_load.c:178 
> evas_common_load_rgba_image_module_from_file() could not find module 'svg'
> DBG<23442>:evas_main evas_image_load.c:170 
> evas_common_load_rgba_image_module_from_file() brute force loader 'pmaps' 
> (0x8eeed88) failed on background.png (File is not a known format)
> DBG<23442>:evas_main evas_image_load.c:178 
> evas_common_load_rgba_image_module_from_file() could not find module 'edb'
> DBG<23442>:evas_main evas_image_load.c:170 
> evas_common_load_rgba_image_module_from_file() brute force loader 'bmp' 
> (0x8eef280) failed on background.png (File is not a known format)
> DBG<23442>:evas_main evas_image_load.c:170 
> evas_common_load_rgba_image_module_from_file() brute force loader 'tga' 
> (0x8eef778) failed on background.png (File is not a known format)
> DBG<23442>:evas_main evas_image_load.c:181 
> evas_common_load_rgba_image_module_from_file() exhausted all means to load 
> image 'background.png'
> DBG<23442>:eina_share eina_stringshare.c:605 eina_stringshare_del() 
> str=0x8ef3448 (background.png//://(null))
> DBG<23442>:eina_share eina_share_common.c:864 eina_share_common_del() 
> str=0x8ef3448 refs=0, delete.
> DBG<23442>:eina_share eina_stringshare.c:605 eina_stringshare_del() 
> str=0x8eed0c0 (background.png)
> DBG<23442>:eina_share eina_share_common.c:859 eina_share_common_del() 
> str=0x8eed0c0 refs=5
>
> It seems that PNG is not enabled, as already expected by you. How can I 
> enable it?

check that the dev package of libpng is installed on your distro. Then 
configure evas. Check the output of the configure and be sure that the png 
module is enabled. Then install evas again.

Vincent

------------------------------------------------------------------------------
The ultimate all-in-one performance toolkit: Intel(R) Parallel Studio XE:
Pinpoint memory and threading errors before they happen.
Find and fix more than 250 security defects in the development cycle.
Locate bottlenecks in serial and parallel code that limit performance.
http://p.sf.net/sfu/intel-dev2devfeb
_______________________________________________
enlightenment-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel

Reply via email to