99150-WindowsPlatformNotes.page 2.2 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950
  1. POCO C++ Libraries Windows Platform Notes
  2. AAAIntroduction
  3. !!!Introduction
  4. The Windows versions of the POCO C++ Libraries are built with Visual Studio.
  5. Basic support for building with MinGW is there as well, but at this time
  6. is not officially supported and may or may not work.
  7. Starting with release 1.4.0 the POCO C++ Libraries support new
  8. build configurations for Visual Studio. Furthermore, Visual Studio 2010
  9. and 64-bit (x64) builds are now supported in addition to Visual Studio 2008,
  10. 2005 and .NET 2003, as previously supported.
  11. 64-bit (x64) builds are only supported with Visual
  12. Studio 2008 and Visual Studio 2010.
  13. The following build configurations are available:
  14. * debug_shared, release_shared: dynamic link libraries (DLL) and dynamically linked executables, with DLL C/C++ runtime libraries.
  15. * debug_static_md, release_static_md: static libraries and statically linked executables with DLL C/C++ runtime libraries.
  16. * debug_static_mt, release_static_mt: static libraries and statically linked executables with static runtime libraries.
  17. !!!Libraries And Linking Considerations
  18. !!Automatic Linking of POCO C++ Libraries
  19. The POCO C++ Libraries header files contain <[#pragma comment]> directives that enable
  20. automatic linking of the required POCO libraries to an application. For this to work,
  21. a few rules must be kept in mind.
  22. * The default is to link the POCO C++ Libraries dynamically (DLL).
  23. * To link statically, the code using the POCO C++ Libraries must be compiled
  24. with the preprocessor symbol <[POCO_STATIC]> defined.
  25. !!Library Naming Conventions
  26. The following naming conventions are used:
  27. * DLL import libraries are named PocoLIB.lib for the release build
  28. and PocoLIBd.lib for the debug build.
  29. * Static libraries built using the static multithreaded C/C++ runtime libraries
  30. are named PocoLIBmt.lib (release) and PocoLIBmtd.lib (debug).
  31. * Static libraries built using the DLL C/C++ runtime libraries are
  32. named PocoLIBmd.lib (release) and PocoLIBmdd.lib (debug).
  33. 32-bit libraries are placed in the <*lib*> directory. 64-bit libraries
  34. are placed in the <*lib64*> directory. DLLs are placed in <*bin*> (32-bit)
  35. or <*bin64*> (64-bit). 64-bit DLLs are named PocoLIB64.dll for release
  36. and PocoLIB64d.dll for debug, respectively.