C++ cross compiling on Ubuntu for Windows linking LIBEAY DLL's 32 and 64 bit


I have an Ubuntu set-up which is perfectly cross compiling for Windows except for one point. When I cross compile a 64-bit Windows executable, it compiles perfectly. However when I try to start the executable it returns me an error that it can't start correctly. Error code: 0xc000007b

I have done some research and it seems that the 64-bit executable tries to use the LIBEAY32.dll file. How can I specify the LIBEAYxx.dll file during compilation so the 64-bit executable will use the LIBEAY64.dll instead of the LIBEAY32.dll?


0 Answers

Nobody has answered this question yet.

User contributions licensed under CC BY-SA 3.0