libpng throws CRC error possibly due to version mismatch
I’m trying to read a .png image using libpng.so, in an embedded system using the TI cross compiler. I have a stand-alone program that works properly, but when I put the same code inside a CMake project (created by someone else), I get the following error from “png_read_info(png_ptr, info_ptr);”