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

powershell Start-Process exit code -1073741502 when used with Credential from a windows service environment -

twig - Using Twigbridge in a Laravel 5.1 Package -

c# - LINQ join Entities from HashSet's, Join vs Dictionary vs HashSet performance -