Hi all, I am following Readme.txt available with PoDoFo to build it for Microsoft Visual C++ 2008. I am getting following errors. I am really stuck. Please someone help me.
C:\>del cmakecache.txt Could Not Find C:\cmakecache.txt C:\>set FTDIR=C:\freetype-2.6.2 C:\>set FTLIBDIR=C:\freetype-2.6.2\objs C:\>set JPEGDIR=C:\jpeg C:\>set ZLIBDIR=C:\zlib C:\>cmake -G "Visual Studio 9 2008" \podofo-src -DCMAKE_INCLUDE_PATH="C:\freetyp e-2.6.2\include;C:\jpeg\include;C:\jpeg;C:\zlib\include" -DCMAKE_LIBRARY_PATH="C :\freetype-2.6.2\objs;C:\freetype-2.6.2\lib;C:\jpeg\lib;C:\jpeg;C:\zlib\lib" -DP ODOFO_BUILD_SHARED:BOOL=FALSE -DFREETYPE_LIBRARY_NAMES_DEBUG=freetype262MT_D -DF REETYPE_LIBRARY_NAMES_RELEASE=freetype262MT WANT_LIB64 unset; assuming normal library directory names Will install libraries to C:/Program Files (x86)/PoDoFo/lib Found zlib headers in C:/zlib/include, library at C:/zlib/lib/zdll.lib -- Could NOT find LIBCRYPTO (missing: LIBCRYPTO_LIBRARY LIBCRYPTO_INCLUDE_DIR) OpenSSL's libCrypto not found. Encryption support will be disabled -- Could NOT find LIBIDN (missing: LIBIDN_LIBRARY LIBIDN_INCLUDE_DIR) Libidn not found. AES-256 Encryption support will be disabled Found libjpeg headers in C:/jpeg, library at C:/jpeg/libjpeg.lib -- Could NOT find TIFF (missing: TIFF_LIBRARY TIFF_INCLUDE_DIR) Libtiff not found. TIFF support will be disabled CMake Warning (dev) at C:/Program Files (x86)/CMake/share/cmake-3.4/Modules/Find PNG.cmake:52 (find_package): File C:/Program Files (x86)/CMake/share/cmake-3.4/Modules/FindPNG.cmake includes C:/podofo-src/cmake/modules/FindZLIB.cmake (found via CMAKE_MODULE_PATH) which shadows C:/Program Files (x86)/CMake/share/cmake-3.4/Modules/FindZLIB.cmake. This may cause errors later on . Policy CMP0017 is not set: Prefer files from the CMake module directory when including from there. Run "cmake --help-policy CMP0017" for policy details. Use the cmake_policy command to set the policy and suppress this warning. Call Stack (most recent call first): CMakeLists.txt:363 (FIND_PACKAGE) This warning is for project developers. Use -Wno-dev to suppress it. -- Could NOT find PNG (missing: PNG_LIBRARY PNG_PNG_INCLUDE_DIR) LibPng not found. PNG support will be disabled -- Ensure you cppunit installed version is at least 1.12.0 Cppunit not found. No unit tests will be built. OpenSSL: Could not find the debug and release version of openssl OpenSSL: Disabling OpenSSL Found freetype library at optimized;C:/freetype-2.6.2/objs/freetype262MT.lib;deb ug;C:/freetype-2.6.2/objs/freetype262MT_D.lib, headers C:/freetype-2.6.2/include -- Could NOT find Fontconfig (missing: FONTCONFIG_LIBRARIES FONTCONFIG_INCLUDE_ DIR) -- Could NOT find Lua50 (missing: LUA_LIBRARIES LUA_INCLUDE_DIR) -- Could NOT find Lua (missing: LUA_LIBRARIES LUA_INCLUDE_DIR) Lua not found - PoDoFoImpose and PoDoFoColor will be built without Lua support Building multithreaded version of PoDoFo. Building shared PoDoFo library CMake Warning (dev) at CMakeLists.txt:558 (EXPORT_LIBRARY_DEPENDENCIES): Policy CMP0033 is not set: The export_library_dependencies command should not be called. Run "cmake --help-policy CMP0033" for policy details. Use the cmake_policy command to set the policy and suppress this warning. This warning is for project developers. Use -Wno-dev to suppress it. CMake Error: The following variables are used in this project, but they are set to NOTFOUND. Please set them or make sure they are set and tested correctly in the CMake file s: PNG_LIBRARY (ADVANCED) linked by target "podofo_shared" in directory C:/podofo-src/src linked by target "ContentParser" in directory C:/podofo-src/test/ContentPars er linked by target "ContentParser" in directory C:/podofo-src/test/ContentPars er linked by target "CreationTest" in directory C:/podofo-src/test/CreationTest linked by target "CreationTest" in directory C:/podofo-src/test/CreationTest linked by target "DeviceTest" in directory C:/podofo-src/test/DeviceTest linked by target "DeviceTest" in directory C:/podofo-src/test/DeviceTest linked by target "FilterTest" in directory C:/podofo-src/test/FilterTest linked by target "FilterTest" in directory C:/podofo-src/test/FilterTest linked by target "FormTest" in directory C:/podofo-src/test/FormTest linked by target "FormTest" in directory C:/podofo-src/test/FormTest linked by target "ObjectParserTest" in directory C:/podofo-src/test/ObjectPa rserTest linked by target "ObjectParserTest" in directory C:/podofo-src/test/ObjectPa rserTest linked by target "ParserTest" in directory C:/podofo-src/test/ParserTest linked by target "SignatureTest" in directory C:/podofo-src/test/SignatureTe st linked by target "SignatureTest" in directory C:/podofo-src/test/SignatureTe st linked by target "TokenizerTest" in directory C:/podofo-src/test/TokenizerTe st linked by target "TokenizerTest" in directory C:/podofo-src/test/TokenizerTe st linked by target "VariantTest" in directory C:/podofo-src/test/VariantTest linked by target "VariantTest" in directory C:/podofo-src/test/VariantTest linked by target "WatermarkTest" in directory C:/podofo-src/test/WatermarkTe st linked by target "WatermarkTest" in directory C:/podofo-src/test/WatermarkTe st linked by target "podofobox" in directory C:/podofo-src/tools/podofobox linked by target "podofocolor" in directory C:/podofo-src/tools/podofocolor linked by target "podofocountpages" in directory C:/podofo-src/tools/podofoc ountpages linked by target "podofocrop" in directory C:/podofo-src/tools/podofocrop linked by target "podofoencrypt" in directory C:/podofo-src/tools/podofoencr ypt linked by target "podofogc" in directory C:/podofo-src/tools/podofogc linked by target "podofoimgextract" in directory C:/podofo-src/tools/podofoi mgextract linked by target "podofoimg2pdf" in directory C:/podofo-src/tools/podofoimg2 pdf linked by target "podofomerge" in directory C:/podofo-src/tools/podofomerge linked by target "podofopages" in directory C:/podofo-src/tools/podofopages linked by target "podofopdfinfo" in directory C:/podofo-src/tools/podofopdfi nfo linked by target "podofotxt2pdf" in directory C:/podofo-src/tools/podofotxt2 pdf linked by target "podofotxtextract" in directory C:/podofo-src/tools/podofot xtextract linked by target "podofouncompress" in directory C:/podofo-src/tools/podofou ncompress linked by target "podofoimpose" in directory C:/podofo-src/tools/podofoimpos e linked by target "podofoincrementalupdates" in directory C:/podofo-src/tools /podofoincrementalupdates linked by target "podofoxmp" in directory C:/podofo-src/tools/podofoxmp linked by target "helloworld" in directory C:/podofo-src/examples/helloworld linked by target "helloworld-base14" in directory C:/podofo-src/examples/hel loworld-base14 -- Configuring incomplete, errors occurred! C:\> Regards, -Balbir Kumar
------------------------------------------------------------------------------
_______________________________________________ Podofo-users mailing list Podofo-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/podofo-users