
please wait
Building PoDoFo on Windows CMake 2.6.x is required for Windows. You can download it from cmake.org . On Windows, PoDoFo may be built as either a shared or static library. Building both is not supported. By default only the shared library will be built. If you want a static library, just disable generation of the shared library with the extra argument to cmake: |
-DPODOFO_BUILD_SHARED=FALSE
Handling library naming on win32 Especially on Windows it is also common for custom built libraries to have different names to those you might download as pre-built copies. CMake won't be able to find them if they're called something else unless you tell it. Use these variables to tell CMake what names to look for a library under: |
|
|
CMake builds on Windows with MinGW Once MinGW is set up, make sure that the MinGW "bin" directory is on your PATH, and be sure to set CMAKE_INCLUDE_PATH and CMAKE_LIBRARY_PATH such that CMake can find the headers and .lib files for the libraries PoDoFo requires. The GnuWin32 library packages from http://gnuwin32.sf.net/ are known to work with PoDoFo, so installing zlib, freetype, and libjpeg from there should do the trick. To configure and build PoDoFo with a default GnuWin32 install and with MinGW already on your PATH: |
|
|
DCMAKE_INCLUDE_PATH
and DCMAKE_LIBRARY_PATH
be? Also what is "MinGW Makefiles"? Do I have to supply any extra parameters?