First post, by Guest
I've libpng 1.2.7 compiled and installed in the correct locations (all under C:\msys\1.0\local):
bin\
__libpng12.dll libpng12-config libpng-config
include\
__png.h pngconf.h
__libpng\
____png.h pngconf.h
__libpng12\
____png.h pngconf.h
lib\
__libpng12.a libpng12.dll.a libpng.a libpngdll.a
__pkgconfig\
____libpng12.pc libpng.pc
Other libraries are detected and used well in those locations, but DOSBox 0.63 refuses to detect it. In the ./configure step it says:
checking png.h usability... no
checking png.h presence... no
checking for png.h... no
checking for png_check_sig in -lpng... yes
configure: WARNING: Can't find libpng, screenshot support disabled
It doesn't detect them even in the case that you move the includes and library files to the standard locations C:\MinGW\include and \lib. However DOSBox detects SDL libraries (at the same locations), compiles and runs OK but lacks screenshot support. What can I do to make it detect libpng ?
I'm interested in recompiling DOSBox to gain some performance by activating -march=... and other optimization flags. I've got 20500 cycles so far running Doom 2 with GUS playing at 44100 KHz and no frameskip in my Athlon XP 2400+. With the standard build I got 18000.