Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Unresolved symbol problems

Status
Not open for further replies.

SteveBrett

Programmer
Apr 24, 2000
107
MT
AFAIK I have added a DLL correclty and yet am still gettting the following errors:

SSLTest error LNK2019: unresolved external symbol "public: int __thiscall COpenSSLApp::Hello(void)" (?Hello@COpenSSLApp@@QAEHXZ) referenced in function "public: void __thiscall CSSLTestDlg::OnBnClickedButton1(void)" (?OnBnClickedButton1@CSSLTestDlg@@QAEXXZ)

I created the Hello function as a test and can see it from the call app. However I get the errors when I compile the calling app. As a bit of a newbiew to C++ (god this is SO easy in C#) I'm kind of struggling.

The header file for COpenSSLApp is inluded and there is an entry for the location of the lib file.

Any ideas ?

 
Where is a body (i.e. definition or implementation) of a member function COpenSSLApp::Hello()? If your app compiled OK, this class have this member function declaration...
 
when i compile the calling app i get the error.

the dll compiles fine
 
This is a linker, not a compiler error.
Read my post again, please.
 
it is indeed a linker error. i have no idea what you are talking about.

i was missing the additional depencies setting in the linker options.

adding the location of the lib file fixes it.

thanks for your help.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top