Read and respond to this message at:
If I list (with the command 'ar t libpng.a') the contents of libpng.a as distributed
in libpng-1.2.8-lib.zip, I get a list of compiled files with names equal to
the compiled files (png.o, pngset.o, etc.). This shows that libpng.a is a static
For libpng.dll.a, I get a list of names of the form d000xxx.o, where xxx is
a number from 000 to 371. This shows that libpng.dll.a is a dynamic link
What are the results for the libraries installed on your system?
Also, compiling with the flags '-static -D__STATIC__ -DPNG_STATIC' and then
linking with -lpng and the flag '-Wl,-static' gives me a static executable.
Without these flags, one gets an executable linked to the DLL. See the Makefile
in libpng-1.2.8-src.zip for an example.
What are the results for a compilation and linking on your system? If you are
still unsuccessfull, please report the exact content of the commands that you
used as well as the setup of your system, in particular the content of the PATH
environment variable, and the location of Mingw and of the installed libpng
You are receiving this email because you elected to monitor this forum.
To stop monitoring this forum, login to SourceForge.net and visit: