Hello,
There is something strange in the CMake report about OpenSSL...
I've compiled myself OpenSSL release 1.0.2o as a shared library and let
the install process in the makefile do his job.
So I've defined the CMake variables for LIBCRYPTO (aka libeay32) and
SSL_EAY (aka ssleay32) the same way I've found in my previous post (but
it's not the problem).
LIBCRYPTO_INCLUDE_DIR : <somedir>/openssl/1.0.2o/include
LIBCRYPTO_LIBRARY_DEBUG : <somedir>/openssl/1.0.2o/lib/libeay32.lib
LIBCRYPTO_LIBRARY_RELEASE : <somedir>/openssl/1.0.2o/lib/libeay32.lib
OPENSSL_INCLUDE_DIR : <somedir>/openssl/1.0.2o/include
SSL_EAY_LIBRARY_DEBUG : <somedir>/openssl/1.0.2o/lib/ssleay32.lib
SSL_EAY_LIBRARY_RELEASE : <somedir>/openssl/1.0.2o/lib/ssleay32.lib
When I configure the CMake project, I get the following result :
WANT_LIB64 unset; assuming normal library directory names
Will install libraries to $ENV{EXTERN_DEV}/podofo/0.9.5/Windows/lib
Found zlib headers in extern_dev/zlib/1.2.11/include, library at
optimized;$(EXTERN_DEV)/zlib/1.2.11/lib/zdll.lib;debug;$(EXTERN_DEV)/zlib/1.2.11/lib/zdll.lib
Could NOT find PkgConfig (missing: PKG_CONFIG_EXECUTABLE)
Performing Test PODOFO_HAVE_OPENSSL_1_1
Performing Test PODOFO_HAVE_OPENSSL_1_1 - Failed
Found OpenSSL's libCrypto headers in
extern_dev/openssl/1.0.2o/include, library at
optimized;$(EXTERN_DEV)/openssl/1.0.2o/lib/libeay32.lib;debug;$(EXTERN_DEV)/openssl/1.0.2o/lib/libeay32.lib
Could NOT find LIBIDN (missing: LIBIDN_LIBRARY LIBIDN_INCLUDE_DIR)
Libidn not found. AES-256 Encryption support will be disabled
Found LIBJPEG:
optimized;$(EXTERN_DEV)/libjpeg/9c/lib/jpeg.lib;debug;$(EXTERN_DEV)/libjpeg/9c/lib/jpeg.lib
Found libjpeg headers in extern_dev/libjpeg/9c/include, library at
optimized;$(EXTERN_DEV)/libjpeg/9c/lib/jpeg.lib;debug;$(EXTERN_DEV)/libjpeg/9c/lib/jpeg.lib
Found TIFF:
optimized;$(EXTERN_DEV)/libtiff/4.0.9/lib/libtiff_i.lib;debug;$(EXTERN_DEV)/libtiff/4.0.9/lib/libtiff_i.lib
Found libtiff headers in extern_dev/libtiff/4.0.9/include, library
at
optimized;$(EXTERN_DEV)/libtiff/4.0.9/lib/libtiff_i.lib;debug;$(EXTERN_DEV)/libtiff/4.0.9/lib/libtiff_i.lib
Found PNG: $(EXTERN_DEV)/libpng/1.6.34/lib/libpng16.lib
Found LibPng headers in
extern_dev/libpng/1.6.34/include;extern_dev/zlib/1.2.11/include,
library at
$(EXTERN_DEV)/libpng/1.6.34/lib/libpng16.lib;optimized;$(EXTERN_DEV)/zlib/1.2.11/lib/zdll.lib;debug;$(EXTERN_DEV)/zlib/1.2.11/lib/zdll.lib
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;$(EXTERN_DEV)/freetype/2.9/lib/freetype.lib;debug;$(EXTERN_DEV)/freetype/2.9/lib/freetype.lib,
headers extern_dev/freetype/2.9/include
Could NOT find PkgConfig (missing: PKG_CONFIG_EXECUTABLE)
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 pthread.h
Looking for pthread.h - not found
Found Threads: TRUE
Building shared PoDoFo library
Pkg-config not found. No pkg-config file will be created.
Configuring done
Generating done
I don't understand why it couldn't find OpenSSL debug and release
libraies and disabling OpenSSL...
In fact, OpenSSL is not disabled at all... The C/C++ macro
PODOFO_HAVE_OPENSSL is defined in podofo_config.h;
Two new variables are created :
SSL_EAY_DEBUG
SSL_EAY_RELEASE
each one is initialized with NOTFOUND.
What is their meaning ?
From my point of view, only the libraries (import librairies for shared
libraries or static ones) with .lib suffix are useful for the linking
process.
Thank you in advance
Kind regards,
Patrice.
------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Podofo-users mailing list
Podofo-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/podofo-users
------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Podofo-users mailing list
Podofo-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/podofo-users