home *** CD-ROM | disk | FTP | other *** search
/ PC World 2002 February / PCWorld_2002-02_cd.bin / Software / Vyzkuste / pdflib / pdflib-4.0.1.sit / pdflib-4.0.1 / doc / readme_win.txt < prev   
Encoding:
Text File  |  2001-07-04  |  2.4 KB  |  57 lines  |  [TEXT/ttxt]

  1. Building PDFlib with MS Visual C++
  2. ==================================
  3.  
  4. To compile PDFlib with MS Visual C++, open the supplied workspace
  5. file PDFlib.dsw which contains several projects for the core library, test
  6. programs, and language bindings. Build the "pdflib" project, and the
  7. "test" project.
  8.  
  9. If you want to build a Windows DLL, the PDFLIB_EXPORTS #define must be set
  10. when building the library. This has already been done in the pdflib_dll
  11. project.  Clients must define PDFLIB_DLL before including pdflib.h in order
  12. to use the DLL.
  13.  
  14. There are two PDFlib projects: "pdflib" builds a static library (pdflib.lib),
  15. and "pdflib_dll" builds a dynamic library (pdflib.dll). If you experiment
  16. with both the static and the DLL version of PDFlib, make sure to delete
  17. all object files ("Build, "Clean") before switching to the other kind of
  18. library since we do not attempt to keep the objects files separately.
  19.  
  20.  
  21. Building PDFlib with Borland C++ Builder
  22. ========================================
  23.  
  24. Project files for Borland C++ Builder 5 are supplied with the PDFlib
  25. distribution.  After launching the IDE with the supplied project group
  26. file PDFlib.bpg create the directory pdflib/Release (for the static
  27. library project, PDFlib.lib), or pdflib/Release_DLL (for the DLL project,
  28. PDFlib.dll). (If you know how to have the Borland IDE create these
  29. directories automatically please let us know!).
  30.  
  31.  
  32. Building PDFlib with Metrowerks CodeWarrior
  33. ===========================================
  34.  
  35. The PDFlib distribution contains a project file for CodeWarrior 5 which
  36. can be used on both Mac and Windows. The project file contains targets
  37. for building static and DLL versions of PDFlib, as well as the pdftest
  38. client which uses the static PDFlib library.
  39.  
  40.  
  41. Building PDFlib with other Windows compilers
  42. ============================================
  43.  
  44. In order to build PDFlib with other compilers, observe the above
  45. notes and make sure to define the preprocessor symbol WIN32.
  46.  
  47.  
  48. Compiling the language wrappers
  49. ===============================
  50.  
  51. In order to compile the C wrappers for the supported languages you
  52. will have to install the relevant source code package 
  53. and adjust the include paths for these packages in the project files.
  54. Since we supply prebuilt binaries for all supported languages this is
  55. generally not required. Project files for the language wrappers are
  56. only supplied for Microsoft Visual C++, but not any other compiler.
  57.