I am struggling with building PoDoFo for couple of days (version 0.9.2) on
windows 7. I have build all required libraries but it seem to need
LIBCROPTO. I installed OpenSSL from http://www.openssl.org/source/ (downloaded
the file as shown below.) I am posting this information because I am new to
SSL.
4459777 Feb 11 16:34:23 2013 openssl-1.0.1e.tar.gz
<http://www.openssl.org/source/openssl-1.0.1e.tar.gz> (MD5
<http://www.openssl.org/source/openssl-1.0.1e.tar.gz.md5>) (SHA1
<http://www.openssl.org/source/openssl-1.0.1e.tar.gz.sha1>) (PGP sign
<http://www.openssl.org/source/openssl-1.0.1e.tar.gz.asc>) *[LATEST]*
*It intalled it in C:\OpenSSL-Win32 folder.*
One question I have is that do I still need to build SSL after this or
I can just link to it now?
Now I tried to change cmake variable commands to:
-DOPENSSL_ROOT_DIR=c:\OpenSSL-win32 -DOPENSSL_LIBRARIES=c:\OpenSSL-Win32\lib
But no use. The error I get is "Could NOT find LIBCRIPTO(missing:
LIBCRIPYPTO_LIBRARY LIBCRYPTO_INCLUDE_DIR)
my build.cmd file is:
del cmakecache.txt
set BOOST_ROOT=C:\pdf\boost_1_51_0_code
set BOOST_INCLUDE_DIR=C:\pdf\boost\boost_1_51_0\staging\include
set BOOSTLIBDIR=C:\workspace\lib\boost\boost_1_51_0\staging\lib
set FTDIR=C:\PDF\freetype-2.4.0\objs\win32\vc2008
set JPEGDIR=C:\PDF\jpeg-8d\Release\lib
set TIFDIR=C:\PDF\tiff-4.0.3\lib
set ZLIBDIR=C:\pdf\zlib-1.2.8
set BUILD_FLAGS="/MT"
cmake -G "Visual Studio 10" "C:\pdf\podofo-0.9.2"
-DCMAKE_CXX_FLAGS_RELEASE:STRING=%BUILD_FLAGS%
-DCMAKE_INCLUDE_PATH="%INCLUDE%;%BOOST_INCLUDE_DIR%;%FTDIR%\freetype;%JPEGDIR%\jpeg;%TIFDIR%\tiff;%ZLIBDIR%\zlib"
-DCMAKE_LIBRARY_PATH="%LIB%;%BOOSTLIBDIR%;%FTDIR%\lib;%JPEGDIR%\lib;%TIFDIR%\lib;%ZLIBDIR%\lib"
-DPODOFO_BUILD_SHARED:BOOL=FALSE -DPODOFO_BUILD_STATIC:BOOL=TRUE
-DWANT_BOOST:BOOL=1 -DLIBJPEG_LIBRARY_NAMES_RELEASE=jpeg
-DFREETYPE_LIBRARY_NAMES_RELEASE=freetype240MT
-DZLIB_LIBRARY_NAMES_RELEASE=zlibstat
Any help or pointer will be appreciated. Thanks!
------------------------------------------------------------------------------
DreamFactory - Open Source REST & JSON Services for HTML5 & Native Apps
OAuth, Users, Roles, SQL, NoSQL, BLOB Storage and External API Access
Free app hosting. Or install the open source package on any LAMP server.
Sign up and see examples for AngularJS, jQuery, Sencha Touch and Native!
http://pubads.g.doubleclick.net/gampad/clk?id=63469471&iu=/4140/ostg.clktrk
_______________________________________________
Podofo-users mailing list
Podofo-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/podofo-users