README.txt 2.3 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859
  1. Microsoft Developer Studio Project File, Format Version 7.10 for libpng.
  2. Copyright (C) 2004 Simon-Pierre Cadieux.
  3. This code is released under the libpng license.
  4. For conditions of distribution and use, see copyright notice in png.h
  5. NOTE: This project will be removed from libpng-1.5.0. It has
  6. been replaced with the "vstudio" project.
  7. Assumptions:
  8. * The libpng source files are in ..\..
  9. * The zlib source files are in ..\..\..\zlib
  10. * The zlib project file is in . /* Warning: This is until the zlib project
  11. files get intergrated into the next zlib release. The final zlib project
  12. directory will then be ..\..\..\zlib\projects\visualc71. */
  13. To use:
  14. 1) On the main menu, select "File | Open Solution".
  15. Open "libpng.sln".
  16. 2) Display the Solution Explorer view (Ctrl+Alt+L)
  17. 3) Set one of the project as the StartUp project. If you just want to build the
  18. binaries set "libpng" as the startup project (Select "libpng" tree view
  19. item + Project | Set as StartUp project). If you want to build and test the
  20. binaries set it to "pngtest" (Select "pngtest" tree view item +
  21. Project | Set as StartUp project)
  22. 4) Select "Build | Configuration Manager...".
  23. Choose the configuration you wish to build.
  24. 5) Select "Build | Clean Solution".
  25. 6) Select "Build | Build Solution (Ctrl-Shift-B)"
  26. This project builds the libpng binaries as follows:
  27. * Win32_DLL_Release\libpng16.dll DLL build
  28. * Win32_DLL_Debug\libpng16d.dll DLL build (debug version)
  29. * Win32_DLL_VB\libpng16vb.dll DLL build for Visual Basic, using stdcall
  30. * Win32_LIB_Release\libpng.lib static build
  31. * Win32_LIB_Debug\libpngd.lib static build (debug version)
  32. Notes:
  33. If you change anything in the source files, or select different compiler
  34. settings, please change the DLL name to something different than any of
  35. the above names. Also, make sure that in your "pngusr.h" you define
  36. PNG_USER_PRIVATEBUILD and PNG_USER_DLLFNAME_POSTFIX according to the
  37. instructions provided in "pngconf.h".
  38. All DLLs built by this project use the Microsoft dynamic C runtime library
  39. MSVCR71.DLL (MSVCR71D.DLL for debug versions). If you distribute any of the
  40. above mentioned libraries you may have to include this DLL in your package.
  41. For a list of files that are redistributable in Visual Studio see
  42. $(VCINSTALLDIR)\redist.txt.