[
Date Prev][
Date Next][
Thread Prev][
Thread Next][
Date Index][
Thread Index]
[
List Home]
[higgins-dev] You appear to be building against the wrong version of OpenSSL
|
Hello,
I have "Win32 OpenSSL v0.9.8k" from
http://www.slproweb.com/products/Win32OpenSSL.html.
When building the GTK selector on Win XP, I get this
..\..\..\..\..\ftk\src\base\ftkopenssl.cpp(28) : fatal error C1189: #error : You appear to be building against the wrong version of OpenSSL
Is this a problem with OpenSSL?
I found 2 possible workarounds:
-----
Option 1: Disable the check in the Higgins code:
I comment out the lines
#ifdef FTK_WIN
#if !defined( FTK_64BIT) && defined( OPENSSL_SYSNAME_WIN64A)
#error You appear to be building against the wrong version of OpenSSL
#endif
#endif
-----
Option 2: Modify the opensslconf.h header in my OpenSSL installation:
I change the lines
#ifndef OPENSSL_SYSNAME_WIN64A
# define OPENSSL_SYSNAME_WIN64A
#endif
to
#ifndef OPENSSL_SYSNAME_WIN32
# define OPENSSL_SYSNAME_WIN32
#endif
-----
Both options make the build succeed.
Looks like a strange bug in the OpenSSL headers to me.
I mean, I downloaded "Win32 OpenSSL v0.9.8k", why does that #define OPENSSL_SYSNAME_WIN64A????
Markus