Hi,
as I see from the error log (I have snipped it below, instead attached it,
which you should have done, I hope I got it into its original form) you have
tried to build PoDoFo without libpng. I know that in the documentation it still
says it's optional, but I've seen it myself this part isn't correct currently,
I haven't changed the documentation as I also think it should be optional and
I hoped that someone more versed with cmake would correct the build system.
As interim workaround, could you please install libpng (with its header files)
and add the directories to CMAKE_LIBRARY_PATH and CMAKE_INCLUDE_PATH,
respectively?
Sorry that I haven't tested that, I don't develop on Windows (I hoped someone
would
help you who does).
Best regards, mabri
________________________________
From: Balbir Kumar <balbir.kumar...@gmail.com>
To: podofo-users@lists.sourceforge.net
Sent: 12:27 Friday, 18 December 2015
Subject: [Podofo-users] Configuring incomplete error while building PoDoFo for
Microsoft Visual C++ 2008
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.
<... lengthy and force-wrapped error log snipped ...>
Regards,
-Balbir Kumar
------------------------------------------------------------------------------
_______________________________________________
Podofo-users mailing list
Podofo-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/podofo-users
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:\freetype-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" -DPODOFO_BUILD_SHARED:BOOL=FALSE -DFREETYPE_LIBRARY_NAMES_DEBUG=freetype262MT_D -DFREETYPE_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/FindPNG.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;debug;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 files:
PNG_LIBRARY (ADVANCED)
linked by target "podofo_shared" in directory C:/podofo-src/src
linked by target "ContentParser" in directory C:/podofo-src/test/ContentParser
linked by target "ContentParser" in directory C:/podofo-src/test/ContentParser
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/ObjectParserTest
linked by target "ObjectParserTest" in directory C:/podofo-src/test/ObjectParserTest
linked by target "ParserTest" in directory C:/podofo-src/test/ParserTest
linked by target "SignatureTest" in directory C:/podofo-src/test/SignatureTest
linked by target "SignatureTest" in directory C:/podofo-src/test/SignatureTest
linked by target "TokenizerTest" in directory C:/podofo-src/test/TokenizerTest
linked by target "TokenizerTest" in directory C:/podofo-src/test/TokenizerTest
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/WatermarkTest
linked by target "WatermarkTest" in directory C:/podofo-src/test/WatermarkTest
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/podofocountpages
linked by target "podofocrop" in directory C:/podofo-src/tools/podofocrop
linked by target "podofoencrypt" in directory C:/podofo-src/tools/podofoencrypt
linked by target "podofogc" in directory C:/podofo-src/tools/podofogc
linked by target "podofoimgextract" in directory C:/podofo-src/tools/podofoimgextract
linked by target "podofoimg2pdf" in directory C:/podofo-src/tools/podofoimg2pdf
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/podofopdfinfo
linked by target "podofotxt2pdf" in directory C:/podofo-src/tools/podofotxt2pdf
linked by target "podofotxtextract" in directory C:/podofo-src/tools/podofotxtextract
linked by target "podofouncompress" in directory C:/podofo-src/tools/podofouncompress
linked by target "podofoimpose" in directory C:/podofo-src/tools/podofoimpose
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/helloworld-base14
-- Configuring incomplete, errors occurred!
C:\>
------------------------------------------------------------------------------
_______________________________________________
Podofo-users mailing list
Podofo-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/podofo-users