I got an e-mail from the authors of this OpenSSL distribution, confirming that it's a problem with their files. it seems my workaround Option 2 is the right thing to do (I'll add that to the build instructions). Here's the e-mail I got:
-------------------------- Hmm...it would appear that I didn't quite entirely separate the 64-bit build process completely from the 32-bit build process (the 64-bit build runs after the 32-bit build). It should be relatively harmless though since I haven't gotten any complaints about builds not working. -- Thomas Hruska Shining Light Productions Home of BMP2AVI, Nuclear Vision, ProtoNova, and Win32 OpenSSL. http://www.slproweb.com/ On Thu, Jul 30, 2009 at 12:49 PM, Markus Sabadello < [email protected]> wrote: > 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 > >
_______________________________________________ higgins-dev mailing list [email protected] https://dev.eclipse.org/mailman/listinfo/higgins-dev
