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

twig - Using Twigbridge in a Laravel 5.1 Package -

Kivy: Swiping (Carousel & ScreenManager) -

jdbc - Not able to establish database connection in eclipse -