Solved I add libs,occurs error: LNK1107: Invalid or damaged file: cannot be read at 0x310
-
openssl compiled:
My App Compiler: Qt5.15.2 + MSVC2019 32bit
Openssl Compiler: x86 Native Tools Command Prompt for VS 2019 -
win32 { LIBS += -lWs2_32 LIBS += -L$$PWD/libs/ -lcrypto LIBS += -L$$PWD/libs/ -lssl INCLUDEPATH += D:\github\c\openssl-1.1.1g\build_win32\out\include }
$$PWD/libs:
crypto.lib libcrypto-1_1.dll libssl-1_1.dll ssl.lib
-
Hi
is your app also build with 32 bit ?Did you build lidssl your self ?
Also what compiler ?
mingw or visual studio `?
-
@mrjj I reedited the post:
My App Compiler: Qt5.15.2 + MSVC2019 32bit
Openssl Compiler: x86 Native Tools Command Prompt for VS 2019 -
win32 { LIBS += -lWs2_32 LIBS += -L$$PWD/libs/ -lcrypto LIBS += -L$$PWD/libs/ -lssl INCLUDEPATH += D:\github\c\openssl-1.1.1g\build_win32\out\include }
$$PWD/libs:
crypto.lib libcrypto-1_1.dll libssl-1_1.dll ssl.lib