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

gcc - MinGW's ld cannot perform PE operations on non PE output file -

timeout - Handshake_timeout on RabbitMQ using python and pika from remote vm -

c# - Search and Add Comment with OpenXML for Word -