> From: owner-openssl-us...@openssl.org [mailto:owner-openssl- > us...@openssl.org] On Behalf Of Robin Rowe > Sent: Wednesday, 05 March, 2014 14:55 > > Trying to build Qt with openssl. Built openssl with VC++ 2013 without > incident. However, the header files don't look right. > > The file openssl/include/ssl.h contains one line: > > ../../ssl/ssl.h > > This doesn't look like C++ to me.
It isn't. It's a symlink. > Configured openssl like this: > > perl Configure VC-WIN32 --prefix=c:\Qt\openssl-1.0.1f\openssl-1.0.1f\release > > Suggestions? Some Windows Perl implementations work; some don't. With OpenSSL 1.0.1c on 32- and 64-bit versions of Win7 and Win2008, we've had to use ActiveState Perl (as opposed to, say, Cygwin Perl) *and* wrap it in a trivial program that sleeps for a couple of seconds after the real perl binary exits, if the latter's exit code was zero, to work around another Windows-and-Perl issue. (That second issue, if anyone's curious, is the dreaded missing-END-statement error from masm or ml64, apparently caused by Windows' lazy filesystem-cache writing policy.) I haven't tried OpenSSL 1.0.1f and VS 2013 yet, but the "trying to use symlinks as headers" may be due to using a Perl that isn't handling things properly. Or you can just fix this manually - for every filename in openssl/include, find the real file in the OpenSSL source tree and copy it to a temporary directory. Then replace your symlink-filled openssl/include with the temporary directory. -- Michael Wojcik Technology Specialist, Micro Focus This message has been scanned for malware by Websense. www.websense.com ______________________________________________________________________ OpenSSL Project http://www.openssl.org User Support Mailing List openssl-users@openssl.org Automated List Manager majord...@openssl.org