Compiling cwebp for Android, PNG support not compiled.
120 views
Skip to first unread message
janjo...@gmail.com
unread,
Dec 22, 2014, 9:43:17 AM12/22/14
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to webp-d...@webmproject.org
I'm trying to build cwepb for Android. After compilation and pushing I'm presented with:
PNG support not compiled. Please install the libpng development package before building.
How do I compile PNG ( / JPEG) support into the package? I've tried adding png.h support by adding
WEBP_CFLAGS += -I ~/repos/platform_external_jpeg -I ~/repos/platform_external_libpng and the -o symbols for libpng, but no luck.
Adding LOCAL_STATIC_LIBRARIES := lpng without lpng being available does not even give me a warning either...
James Zern
unread,
Dec 22, 2014, 12:25:22 PM12/22/14
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to webp-d...@webmproject.org, janjo...@gmail.com
Hi,
The only time I tried this I copied the directories under external (png, zlib) from aosp and massaged their Android.mk's to allow them to be used by the examples.
janjo...@gmail.com
unread,
Jan 20, 2015, 12:29:40 PM1/20/15
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message