compilation - How to build libpng using gcc? -


i working on program have able read , save png files. i've decided use libpng i've downloaded it's source files. unpacked them , here problem started.

there many files in unpacked folder , don't know of them should compile proper.o files able link program.

there makefiles in libpng "scripts" directory. of contain list of files need compiled (namely, of png*.c in main libpng directory except pngtest.c).

you'll need pnglibconf.h can create copying scripts/pnglibconf.h_prebuilt.


Comments

Popular posts from this blog

java - BeanIO write annotated class to fixedlength -

Using Java 8 lambdas/transformations to combine and flatten two Maps -

How to connect android app to App engine -