PDA

View Full Version : Static compiling of SSL dependencies



Kayote
27th November 2015, 15:19
Hi,

I have a static build of Qt 5.5 but when I statically compile my program that requires ssley32.dll and libey32.dll, these two dlls are still required to be in the same folder as the executable. When I built Qt, I made sure to link to the SSL files: -openssl-linked I -C:\OpenSSL-Win32\include L -C:\OpenSSL-Win32\lib

But as I said, it still doesn't add the required files to the executable, instead i get the "The program cannot start, "SSLEY32.DLL" could not be found...." error. So what am I doing wrong? I would very much like to not have to distribute these files together with the program itself.

anda_skoa
28th November 2015, 09:45
Do you have a static build of OpenSSL?

Cheers,
_