On Sat, 2016-06-11 at 22:57 +0300, Ярослав Громов wrote: > [ 6%] Building CXX object > src/CMakeFiles/podofo_shared.dir/base/PdfEncrypt.cpp. > obj > In file included from > D:/MGW64/mingw64/x86_64-w64-mingw32/include/windows.h:95:0 > , > from > D:/MGW64/mingw64/x86_64-w64-mingw32/include/winsock2.h:23, > > from > D:\MGW32\podofo32\src\base\PdfCompilerCompatPrivate.h:35, > from D:\MGW32\podofo32\src\base\PdfDefinesPrivate.h:9, > from D:\MGW32\podofo32\src\base\PdfEncrypt.cpp:30: > D:/MGW32/GnuWin32/include/openssl/ossl_typ.h:176:33: error: expected ')' > before > numeric constant > typedef struct ocsp_response_st OCSP_RESPONSE; > ^
Hi, there is a symbol clash between the wincrypt.h and openssl/ossl_typ.h, both are defining OCSP_RESPONSE. The wincrypt.h has it as a #define, while the openssl as a structure type name. Try to define (globally) NOCRYPT, which will avoid inclusion of the wincrypt.h from the windows.h. The 'globally' can be as a CFLAGS option, like -DNOCRYPT, or any similar way. Weird it didn't strike earlier. Bye, zyx -- http://www.litePDF.cz i...@litepdf.cz ------------------------------------------------------------------------------ What NetFlow Analyzer can do for you? Monitors network bandwidth and traffic patterns at an interface-level. Reveals which users, apps, and protocols are consuming the most bandwidth. Provides multi-vendor support for NetFlow, J-Flow, sFlow and other flows. Make informed decisions using capacity planning reports. https://ad.doubleclick.net/ddm/clk/305295220;132659582;e _______________________________________________ Podofo-users mailing list Podofo-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/podofo-users