Hello,

It looks to me like you need to link with one or more Windows libraries.

QMAKE_LIBS_CORE         = kernel32.lib user32.lib shell32.lib uuid.lib 
ole32.lib advapi32.lib ws2_32.lib

-Tom

Thomas Floodeen, Jr.
Mentor Graphics BSD
720.494.1133

-----Original Message-----
From: owner-openssl-us...@openssl.org [mailto:owner-openssl-us...@openssl.org] 
On Behalf Of Jevin Sonut
Sent: Friday, March 22, 2013 2:07 PM
To: openssl-users@openssl.org
Subject: Linking error

HI,

can anyone understand what this error means::

libeay32.lib(cryptlib.obj) : error LNK2019: unresolved external symbol
__imp__GetUserObjectInformationW@20 referenced in function _OPENSSL_isservice
libeay32.lib(cryptlib.obj) : error LNK2019: unresolved external symbol
__imp__GetProcessWindowStation@0 referenced in function _OPENSSL_isservice
libeay32.lib(cryptlib.obj) : error LNK2019: unresolved external symbol
__imp__GetDesktopWindow@0 referenced in function _OPENSSL_isservice
libeay32.lib(cryptlib.obj) : error LNK2019: unresolved external symbol
__imp__MessageBoxA@16 referenced in function _OPENSSL_showfatal
libeay32.lib(cryptlib.obj) : error LNK2019: unresolved external symbol
__imp__DeregisterEventSource@4 referenced in function _OPENSSL_showfatal
libeay32.lib(cryptlib.obj) : error LNK2019: unresolved external symbol
__imp__ReportEventA@36 referenced in function _OPENSSL_showfatal
libeay32.lib(cryptlib.obj) : error LNK2019: unresolved external symbol
__imp__RegisterEventSourceA@8 referenced in function _OPENSSL_showfatal 
debug\Openssl2.exe : fatal error LNK1120: 7 unresolved externals

I tried to link QT with open ssl

i  tried to run the code from
http://www.askyb.com/cpp/openssl-sha512-hashing-example-in-cpp/

the first part and i get the above error


DO you think its an error with the linking::

MY QT .pro file ::

INCLUDEPATH ==  C:\\openssl-1.0.1eBuild_Debug\\include

LIBS += -LC:\\openssl-1.0.1eBuild_Debug\\lib \
    -llibeay32 \
    -lssleay32

openssl-1.0.1eBuild_Debug -- is the folder where i built the DEBUG version

thanks in advance if Someone can help
-- 

From:-
Shanil J.S
______________________________________________________________________
OpenSSL Project                                 http://www.openssl.org
User Support Mailing List                    openssl-users@openssl.org
Automated List Manager                           majord...@openssl.org
______________________________________________________________________
OpenSSL Project                                 http://www.openssl.org
User Support Mailing List                    openssl-users@openssl.org
Automated List Manager                           majord...@openssl.org

Reply via email to