Hello, I have been trying to build Podofo using VS2010 Express edition. After using following script to generate sln file -
*del cmakecache.txt* *set FTDIR=C:\Program Files (x86)\GnuWin32\* *set FTLIBDIR=C:\Program Files (x86)\GnuWin32\lib* *set JPEGDIR=C:\Program Files (x86)\GnuWin32\* *set ZLIBDIR=C:\Program Files (x86)\GnuWin32\* *cmake -G "Visual Studio 10 2010" -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=freetype6 -DFREETYPE_LIBRARY_NAMES_RELEASE=freetype6* I have installed pre-compiled zlib , freetype2,openssl and all for my Windows 8 machine. SLN file got generated properly. Here is the output of build.cmd *E:\Work\podofo-0.9.3>build.cmd* *E:\Work\podofo-0.9.3>del cmakecache.txt* *Could Not Find E:\Work\podofo-0.9.3\cmakecache.txt* *E:\Work\podofo-0.9.3>set FTDIR=C:\Program Files (x86)\GnuWin32\* *E:\Work\podofo-0.9.3>set FTLIBDIR=C:\Program Files (x86)\GnuWin32\lib* *E:\Work\podofo-0.9.3>set JPEGDIR=C:\Program Files (x86)\GnuWin32\* *E:\Work\podofo-0.9.3>set ZLIBDIR=C:\Program Files (x86)\GnuWin32\* *E:\Work\podofo-0.9.3>cmake -G "Visual Studio 10 2010" -DCMAKE_INCLUDE_PATH="C:\* *Program Files (x86)\GnuWin32\\include;C:\Program Files (x86)\GnuWin32\\include;C* *:\Program Files (x86)\GnuWin32\;C:\Program Files (x86)\GnuWin32\\include" -DCMAK* *E_LIBRARY_PATH="C:\Program Files (x86)\GnuWin32\lib;C:\Program Files (x86)\GnuWi* *n32\\lib;C:\Program Files (x86)\GnuWin32\\lib;C:\Program Files (x86)\GnuWin32\;C* *:\Program Files (x86)\GnuWin32\\lib" -DPODOFO_BUILD_SHARED:BOOL=FALSE -DFREETYPE* *_LIBRARY_NAMES_DEBUG=freetype6 -DFREETYPE_LIBRARY_NAMES_RELEASE=freetype6* *-- The C compiler identification is MSVC 16.0.30319.1* *-- The CXX compiler identification is MSVC 16.0.30319.1* *-- Check for working C compiler using: Visual Studio 10 2010* *-- Check for working C compiler using: Visual Studio 10 2010 -- works* *-- Detecting C compiler ABI info* *-- Detecting C compiler ABI info - done* *-- Check for working CXX compiler using: Visual Studio 10 2010* *-- Check for working CXX compiler using: Visual Studio 10 2010 -- works* *-- Detecting CXX compiler ABI info* *-- Detecting CXX compiler ABI info - done* *-- Detecting CXX compile features* *-- Detecting CXX compile features - done* *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 ctype.h* *-- Looking for ctype.h - 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* *-- 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 long int* *-- Check size of long int - done* *-- Check size of int64_t* *-- Check size of int64_t - done* *-- Check if the system is big endian* *-- Searching 16 bit integer* *-- 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: C:/Program Files (x86)/GnuWin32/lib/zlib.lib* *Found zlib headers in C:/Program Files (x86)/GnuWin32/include, library at C:/Pro* *gram Files (x86)/GnuWin32/lib/zlib.lib* *-- Could NOT find LIBCRYPTO (missing: LIBCRYPTO_LIBRARY)* *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: C:/Program Files (x86)/GnuWin32/lib/jpeg.lib* *Found libjpeg headers in C:/Program Files (x86)/GnuWin32/include, library at C:/* *Program Files (x86)/GnuWin32/lib/jpeg.lib* *-- Found TIFF: C:/Program Files (x86)/GnuWin32/lib/libtiff.lib* *Found libtiff headers in C:/Program Files (x86)/GnuWin32/include, library at C:/* *Program Files (x86)/GnuWin32/lib/libtiff.lib* *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 E:/Work/podofo-0.9.3/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.* *-- Found PNG: C:/Program Files (x86)/GnuWin32/lib/libpng.lib (found version "1.2* *.37")* *Found LibPng headers in C:/Program Files (x86)/GnuWin32/include;C:/Program Files* * (x86)/GnuWin32/include, library at C:/Program Files (x86)/GnuWin32/lib/libpng.l* *ib;C:/Program Files (x86)/GnuWin32/lib/zlib.lib* *-- Ensure you cppunit installed version is at least 1.12.0* *Cppunit not found. No unit tests will be built.* *-- Found OpenSSL: optimized;C:/Build-openssl-VC-32/lib/ssleay32.lib;debug;C:/Bui* *ld-openssl-VC-32/lib/ssleay32.lib* *Found freetype library at C:/Program Files (x86)/GnuWin32/lib/freetype.lib, head* *ers E:/Siddharth/PDF 2 Excel Convertor/freetype-2.5.1/include;C:/Program Files (* *x86)/GnuWin32/include* *-- Could NOT find Fontconfig (missing: FONTCONFIG_LIBRARIES FONTCONFIG_INCLUDE_* *DIR)* *-- Found Lua50: C:/Program Files (x86)/Lua/5.1/lib/lua51.lib* *-- Found Lua: C:/Program Files (x86)/Lua/5.1/lib/lua51.lib* *Lua found - PoDoFoImpose and PoDoFoColor will be built with Lua support* * * Lua include directory: C:/Program Files (x86)/Lua/5.1/include* * * Lua libraries: C:/Program Files (x86)/Lua/5.1/lib/lua51.lib* *Building multithreaded version of PoDoFo.* *-- Looking for pthread.h* *-- Looking for pthread.h - not found* *-- Found Threads: TRUE* *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.* *-- Configuring done* *-- Generating done* *-- Build files have been written to: E:/Work/podofo-0.9.3* Now when i am trying to run the podofotxtextractor.exe with sample.pdf its giving following error - [image: Inline image 1] Please help me understand what is wrong here and how can i fix it. Any help will be much appreciated. Thanks for help. Regards, Siddharth Srivastava Software Engineer -- Siddharth Srivastava Software Engineer
------------------------------------------------------------------------------
_______________________________________________ Podofo-users mailing list Podofo-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/podofo-users