2013-01-23 21:59:12 -05:00
|
|
|
WARNING
|
|
|
|
=======
|
2013-02-13 23:49:19 -05:00
|
|
|
Libpng 1.6 does not use the default run-time library when building static
|
|
|
|
library builds of libpng; instead of the shared DLL runtime it uses a static
|
|
|
|
runtime. If you need to change this make sure to change the setting on all the
|
|
|
|
relevant projects:
|
|
|
|
|
|
|
|
libpng
|
|
|
|
zlib
|
|
|
|
all the test programs
|
2013-01-23 21:59:12 -05:00
|
|
|
|
|
|
|
The runtime library settings for each build are as follows:
|
|
|
|
|
|
|
|
Release Debug
|
2013-02-13 23:49:19 -05:00
|
|
|
DLL /MD /MDd
|
2013-01-23 21:59:12 -05:00
|
|
|
Library /MT /MTd
|
|
|
|
|
2013-02-13 23:49:19 -05:00
|
|
|
NOTICE that libpng 1.5 erroneously used /MD for Debug DLL builds; if you used
|
|
|
|
the debug builds in your app and you changed your app to use /MD you will need
|
|
|
|
to change it to /MDd for libpng 1.6.
|
|
|
|
|
2013-01-23 21:59:12 -05:00
|
|
|
The Visual Studio 2010 defaults for a Win32 DLL or Static Library project are
|
|
|
|
as follows:
|
|
|
|
|
|
|
|
Release Debug
|
|
|
|
DLL /MD /MDd
|
|
|
|
Static Library /MD /MDd
|