You also need libpng: http://www.libpng.org/pub/png/libpng.html

Palmer Zent

On Feb 16, 2014, at 9:57 PM, ?????? <hjw...@qq.com> wrote:

> sorry for my english.
> i get zlib128-dll  ft245 jpegsr9a  and want to cmake in vs2010.
> Here is my script file.
> 
> 
> del cmakecache.txt
> set PATH=%SystemRoot%;%SystemRoot%\SYSTEM32
> set FTDIR=E:\ZFGFH_ZJ\PDF\ft245\freetype-2.4.5
> set FTLIBDIR=E:\ZFGFH_ZJ\PDF\ft245\freetype-2.4.5\objs\win32\vc2010
> set JPEGDIR=E:\ZFGFH_ZJ\PDF\jpegsr9a\jpeg-9a
> set ZLIBDIR=E:\ZFGFH_ZJ\PDF\zlib128-dll
> "D:\CMake 2.8\bin\cmake.exe" -G "Visual Studio 10" ..\podofo-0.9.0 
> -DCMAKE_INCLUDE_PATH="%FTDIR%\include;%JPEGDIR%\include;%JPEGDIR%;%ZLIBDIR%\include"
>  
> -DCMAKE_LIBRARY_PATH="%FTLIBDIR%;%FTDIR%\lib;%JPEGDIR%\lib;%JPEGDIR%;%ZLIBDIR%\lib"
>  -DPODOFO_BUILD_SHARED:BOOL=FALSE 
> -DFREETYPE_LIBRARY_NAMES_DEBUG=freetype245MT_D 
> -DFREETYPE_LIBRARY_NAMES_RELEASE=freetype245MT
> 
> and i got error.
> 
> 
> E:\ZFGFH_ZJ\PDF\podofo-0.9.0>E:\ZFGFH_ZJ\PDF\podofo-0.9.0\build.cmd
> 
> E:\ZFGFH_ZJ\PDF\podofo-0.9.0>del cmakecache.txt
> 
> E:\ZFGFH_ZJ\PDF\podofo-0.9.0>set PATH=C:\Windows;C:\Windows\SYSTEM32
> 
> E:\ZFGFH_ZJ\PDF\podofo-0.9.0>set FTDIR=E:\ZFGFH_ZJ\PDF\ft245\freetype-2.4.5
> 
> E:\ZFGFH_ZJ\PDF\podofo-0.9.0>set 
> FTLIBDIR=E:\ZFGFH_ZJ\PDF\ft245\freetype-2.4.5\objs\win32\vc2010
> 
> E:\ZFGFH_ZJ\PDF\podofo-0.9.0>set JPEGDIR=E:\ZFGFH_ZJ\PDF\jpegsr9a\jpeg-9a
> 
> E:\ZFGFH_ZJ\PDF\podofo-0.9.0>set ZLIBDIR=E:\ZFGFH_ZJ\PDF\zlib128-dll
> 
> E:\ZFGFH_ZJ\PDF\podofo-0.9.0>"D:\CMake 2.8\bin\cmake.exe" -G "Visual Studio 
> 10" ..\podofo-0.9.0 -DCMAKE_INCLUDE_PATH="E:\ZFGFH_ZJ\PDF\ft245\freetype-2
> .4.5\include;E:\ZFGFH_ZJ\PDF\jpegsr9a\jpeg-9a\include;E:\ZFGFH_ZJ\PDF\jpegsr9a\jpeg-9a;E:\ZFGFH_ZJ\PDF\zlib128-dll\include"
>  -DCMAKE_LIBRARY_PATH="E:\Z
> FGFH_ZJ\PDF\ft245\freetype-2.4.5\objs\win32\vc2010;E:\ZFGFH_ZJ\PDF\ft245\freetype-2.4.5\lib;E:\ZFGFH_ZJ\PDF\jpegsr9a\jpeg-9a\lib;E:\ZFGFH_ZJ\PDF\jpegs
> r9a\jpeg-9a;E:\ZFGFH_ZJ\PDF\zlib128-dll\lib" -DPODOFO_BUILD_SHARED:BOOL=FALSE 
> -DFREETYPE_LIBRARY_NAMES_DEBUG=freetype245MT_D -DFREETYPE_LIBRARY_NAMES_
> RELEASE=freetype245MT
> CMake Warning (dev) in CMakeLists.txt:
>   Syntax Warning in cmake code at
> 
>     E:/ZFGFH_ZJ/PDF/podofo-0.9.0/CMakeLists.txt:144:36
> 
>   Argument not separated from preceding token by whitespace.
> This warning is for project developers.  Use -Wno-dev to suppress it.
> 
> CMake Warning (dev) in CMakeLists.txt:
>   Syntax Warning in cmake code at
> 
>     E:/ZFGFH_ZJ/PDF/podofo-0.9.0/CMakeLists.txt:145:45
> 
>   Argument not separated from preceding token by whitespace.
> This warning is for project developers.  Use -Wno-dev to suppress it.
> 
> WANT_LIB64 unset; assuming normal library directory names
> Will install libraries to C:/Program Files (x86)/PoDoFo/lib
> -- Looking for strings.h
> -- Looking for strings.h - not found
> -- Looking for arpa/inet.h
> -- Looking for arpa/inet.h - not found
> -- Looking for winsock2.h
> -- Looking for winsock2.h - found
> -- Looking for mem.h
> -- Looking for mem.h - not found
> -- Looking for sys/types.h
> -- Looking for sys/types.h - found
> -- Looking for stdint.h
> -- Looking for stdint.h - found
> -- Looking for BaseTsd.h
> -- Looking for BaseTsd.h - found
> -- Check if the system is big endian
> -- Searching 16 bit integer
> -- Looking for sys/types.h
> -- Looking for sys/types.h - found
> -- Looking for stdint.h
> -- Looking for stdint.h - found
> -- Looking for stddef.h
> -- Looking for stddef.h - found
> -- Check size of unsigned short
> -- Check size of unsigned short - done
> -- Using unsigned short
> -- Check if the system is big endian - little endian
> -- Found ZLIB: E:/ZFGFH_ZJ/PDF/zlib128-dll/lib/zdll.lib
> Found zlib headers in E:/ZFGFH_ZJ/PDF/zlib128-dll/include, library at 
> E:/ZFGFH_ZJ/PDF/zlib128-dll/lib/zdll.lib
> -- Found LIBJPEG: E:/ZFGFH_ZJ/PDF/jpegsr9a/jpeg-9a/libjpeg.lib
> Found libjpeg headers in E:/ZFGFH_ZJ/PDF/jpegsr9a/jpeg-9a, library at 
> E:/ZFGFH_ZJ/PDF/jpegsr9a/jpeg-9a/libjpeg.lib
> -- Could NOT find TIFF (missing:  TIFF_LIBRARY TIFF_INCLUDE_DIR)
> Libtiff not found. TIFF support will be disabled
> CMake Warning (dev) at D:/CMake 2.8/share/cmake-2.8/Modules/FindPNG.cmake:34 
> (find_package):
>   File D:/CMake 2.8/share/cmake-2.8/Modules/FindPNG.cmake includes
>   E:/ZFGFH_ZJ/PDF/podofo-0.9.0/cmake/modules/FindZLIB.cmake (found via
>   CMAKE_MODULE_PATH) which shadows D:/CMake
>   2.8/share/cmake-2.8/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:332 (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;E:/ZFGFH_ZJ/PDF/ft245/freetype-2.4.5/objs/win32/vc2010/freetype245MT.lib;debug;E:/ZFGFH_ZJ/PDF/ft245/freetype-2.4.
> 5/objs/win32/vc2010/freetype245MT_D.lib, headers 
> E:/ZFGFH_ZJ/PDF/ft245/freetype-2.4.5/include;E:/ZFGFH_ZJ/PDF/ft245/freetype-2.4.5/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.
> -- Looking for include file pthread.h
> -- Looking for include file pthread.h - not found
> -- Found Threads: TRUE
> Building shared PoDoFo library
> 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 
> E:/ZFGFH_ZJ/PDF/podofo-0.9.0/src
>     linked by target "ContentParser" in directory 
> E:/ZFGFH_ZJ/PDF/podofo-0.9.0/test/ContentParser
>     linked by target "ContentParser" in directory 
> E:/ZFGFH_ZJ/PDF/podofo-0.9.0/test/ContentParser
>     linked by target "CreationTest" in directory 
> E:/ZFGFH_ZJ/PDF/podofo-0.9.0/test/CreationTest
>     linked by target "CreationTest" in directory 
> E:/ZFGFH_ZJ/PDF/podofo-0.9.0/test/CreationTest
>     linked by target "DeviceTest" in directory 
> E:/ZFGFH_ZJ/PDF/podofo-0.9.0/test/DeviceTest
>     linked by target "DeviceTest" in directory 
> E:/ZFGFH_ZJ/PDF/podofo-0.9.0/test/DeviceTest
>     linked by target "FilterTest" in directory 
> E:/ZFGFH_ZJ/PDF/podofo-0.9.0/test/FilterTest
>     linked by target "FilterTest" in directory 
> E:/ZFGFH_ZJ/PDF/podofo-0.9.0/test/FilterTest
>     linked by target "FormTest" in directory 
> E:/ZFGFH_ZJ/PDF/podofo-0.9.0/test/FormTest
>     linked by target "FormTest" in directory 
> E:/ZFGFH_ZJ/PDF/podofo-0.9.0/test/FormTest
>     linked by target "ObjectParserTest" in directory 
> E:/ZFGFH_ZJ/PDF/podofo-0.9.0/test/ObjectParserTest
>     linked by target "ObjectParserTest" in directory 
> E:/ZFGFH_ZJ/PDF/podofo-0.9.0/test/ObjectParserTest
>     linked by target "ParserTest" in directory 
> E:/ZFGFH_ZJ/PDF/podofo-0.9.0/test/ParserTest
>     linked by target "SignatureTest" in directory 
> E:/ZFGFH_ZJ/PDF/podofo-0.9.0/test/SignatureTest
>     linked by target "SignatureTest" in directory 
> E:/ZFGFH_ZJ/PDF/podofo-0.9.0/test/SignatureTest
>     linked by target "TokenizerTest" in directory 
> E:/ZFGFH_ZJ/PDF/podofo-0.9.0/test/TokenizerTest
>     linked by target "TokenizerTest" in directory 
> E:/ZFGFH_ZJ/PDF/podofo-0.9.0/test/TokenizerTest
>     linked by target "VariantTest" in directory 
> E:/ZFGFH_ZJ/PDF/podofo-0.9.0/test/VariantTest
>     linked by target "VariantTest" in directory 
> E:/ZFGFH_ZJ/PDF/podofo-0.9.0/test/VariantTest
>     linked by target "WatermarkTest" in directory 
> E:/ZFGFH_ZJ/PDF/podofo-0.9.0/test/WatermarkTest
>     linked by target "WatermarkTest" in directory 
> E:/ZFGFH_ZJ/PDF/podofo-0.9.0/test/WatermarkTest
>     linked by target "podofobox" in directory 
> E:/ZFGFH_ZJ/PDF/podofo-0.9.0/tools/podofobox
>     linked by target "podofocolor" in directory 
> E:/ZFGFH_ZJ/PDF/podofo-0.9.0/tools/podofocolor
>     linked by target "podofocountpages" in directory 
> E:/ZFGFH_ZJ/PDF/podofo-0.9.0/tools/podofocountpages
>     linked by target "podofocrop" in directory 
> E:/ZFGFH_ZJ/PDF/podofo-0.9.0/tools/podofocrop
>     linked by target "podofoencrypt" in directory 
> E:/ZFGFH_ZJ/PDF/podofo-0.9.0/tools/podofoencrypt
>     linked by target "podofogc" in directory 
> E:/ZFGFH_ZJ/PDF/podofo-0.9.0/tools/podofogc
>     linked by target "podofoimgextract" in directory 
> E:/ZFGFH_ZJ/PDF/podofo-0.9.0/tools/podofoimgextract
>     linked by target "podofoimg2pdf" in directory 
> E:/ZFGFH_ZJ/PDF/podofo-0.9.0/tools/podofoimg2pdf
>     linked by target "podofomerge" in directory 
> E:/ZFGFH_ZJ/PDF/podofo-0.9.0/tools/podofomerge
>     linked by target "podofopages" in directory 
> E:/ZFGFH_ZJ/PDF/podofo-0.9.0/tools/podofopages
>     linked by target "podofopdfinfo" in directory 
> E:/ZFGFH_ZJ/PDF/podofo-0.9.0/tools/podofopdfinfo
>     linked by target "podofotxt2pdf" in directory 
> E:/ZFGFH_ZJ/PDF/podofo-0.9.0/tools/podofotxt2pdf
>     linked by target "podofotxtextract" in directory 
> E:/ZFGFH_ZJ/PDF/podofo-0.9.0/tools/podofotxtextract
>     linked by target "podofouncompress" in directory 
> E:/ZFGFH_ZJ/PDF/podofo-0.9.0/tools/podofouncompress
>     linked by target "podofoimpose" in directory 
> E:/ZFGFH_ZJ/PDF/podofo-0.9.0/tools/podofoimpose
>     linked by target "podofoincrementalupdates" in directory 
> E:/ZFGFH_ZJ/PDF/podofo-0.9.0/tools/podofoincrementalupdates
>     linked by target "podofoxmp" in directory 
> E:/ZFGFH_ZJ/PDF/podofo-0.9.0/tools/podofoxmp
>     linked by target "helloworld" in directory 
> E:/ZFGFH_ZJ/PDF/podofo-0.9.0/examples/helloworld
>     linked by target "helloworld-base14" in directory 
> E:/ZFGFH_ZJ/PDF/podofo-0.9.0/examples/helloworld-base14
> 
> -- Configuring incomplete, errors occurred!
> See also "E:/ZFGFH_ZJ/PDF/podofo-0.9.0/CMakeFiles/CMakeOutput.log".
> See also "E:/ZFGFH_ZJ/PDF/podofo-0.9.0/CMakeFiles/CMakeError.log".
> 
> 
> so,what is wrong with me.
> 
> sorry for my english again.
> 
> 
> 
> 
> ------------------------------------------------------------------------------
> Android apps run on BlackBerry 10
> Introducing the new BlackBerry 10.2.1 Runtime for Android apps.
> Now with support for Jelly Bean, Bluetooth, Mapview and more.
> Get your Android app in front of a whole new audience.  Start now.
> http://pubads.g.doubleclick.net/gampad/clk?id=124407151&iu=/4140/ostg.clktrk_______________________________________________
> Podofo-users mailing list
> Podofo-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/podofo-users

------------------------------------------------------------------------------
Android apps run on BlackBerry 10
Introducing the new BlackBerry 10.2.1 Runtime for Android apps.
Now with support for Jelly Bean, Bluetooth, Mapview and more.
Get your Android app in front of a whole new audience.  Start now.
http://pubads.g.doubleclick.net/gampad/clk?id=124407151&iu=/4140/ostg.clktrk
_______________________________________________
Podofo-users mailing list
Podofo-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/podofo-users

Reply via email to