dlib-android
dlib-android copied to clipboard
How to enable libpng support?
How to enable libpng support, I am getting runtime exception:
You must #define DLIB_PNG_SUPPORT and link to libpng to read PNG files. Do this by following the instructions at http://dlib.net/compile.html. Note that you must cause DLIB_PNG_SUPPORT to be defined for your entire project. So don't #define it in one file. Instead, use a compiler switch like -DDLIB_PNG_SUPPORT so it takes effect for your entire application." failed
@vardan007 What do you do? So far, I didn't compile the code about libpng.
@tzutalin I want to use it in my codes, do you have any ideas? Added this LOCAL_CFLAGS += -DDLIB_PNG_SUPPORT
But seems it is not enough.
I have same problem. Please give me solution because I am stuck over here.