Page 1 of 1

Compilation Issue on Windows

Posted: Sun Dec 11, 2016 1:10 am
by LavenderMoon
I'm trying to compile the zdoom-sync branch on Windows 7. I'm using this guide, and it recommends downloading the precompiled OpenSSL from here. I downloaded "Win32 OpenSSL v1.1.0c" and installed it, but CMake can not find OpenSSL, and it wants me to fill out these:

Code: Select all

LIB_EAY_DEBUG
LIB_EAY_LIBRARY_DEBUG
LIB_EAY_LIBRARY_RELEASE
LIB_EAY_RELEASE
SSL_EAY_DEBUG
SSL_EAY_LIBRARY_DEBUG
SSL_EAY_LIBRARY_RELEASE
SSL_EAY_RELEASE
The installer doesn't provide any libeay or ssleay .lib files. Can anyone link me a precompiled version of OpenSSL that includes these libs? I just got done with finals and I'm not in the mood for figuring out yet another build system (nmake) just so I can compile OpenSSL.

(Forgive me if this belongs in another forum/thread, my searching didn't turn up anything on it.)

Re: Compilation Issue on Windows

Posted: Sun Dec 11, 2016 1:16 am
by Sean
Did you use the light version of OpenSSL or the one it says you should use?

Re: Compilation Issue on Windows

Posted: Sun Dec 11, 2016 5:38 am
by LavenderMoon
I used the one the guide says I should use.

Edit: Actually, no, I didn't. I made the same mistake you did. It says "the latest non-light edition of OpenSSL 1.0.2", and it actually means it. Gonna go ahead and bold that on the wiki so others don't just assume that's the guide being outdated if I get edit access.

Re: Compilation Issue on Windows

Posted: Sun Dec 11, 2016 2:19 pm
by Sean
LavenderMoon wrote:I used the one the guide says I should use.

Edit: Actually, no, I didn't. I made the same mistake you did. It says "the latest non-light edition of OpenSSL 1.0.2", and it actually means it. Gonna go ahead and bold that on the wiki so others don't just assume that's the guide being outdated if I get edit access.
Way ahead of you.

Re: Compilation Issue on Windows

Posted: Sun Dec 11, 2016 8:40 pm
by Zalewa
If you want, here's 1.0.2j build that you can link statically with Zandronum.exe. That way you won't need libeay and ssleay DLLs. It should be compatible with VS 2015 compiler.

OpenSSL 1.0.2j static libs