Friday 15 June 2018

c++ - error LNK2001: unresolved external symbol _soap_new

I have generated gsoap files needed to consume a webservice. In my class I have



CMyCaller::CMyCaller()
{
m_pCurrencyConvertor= new T24WebServicesImplPortBinding;
}


When I compile I got :




Linking... MyCaller.obj : error LNK2001: unresolved external symbol
_soap_new MyCaller.obj : error LNK2001: unresolved external symbol "int __cdecl soap_call___ns2__callOfs(struct soap *,char const *,char
const *,class ns2__callOfs *,class ns2__callOfsResponse *)"
(?soap_call___ns2__callOfs@@YAHPAUsoap@@PBD1PAVns2__callOfs@@P
AVns2__callOfsResponse@@@Z)




I already include in the MyCaller.h the .h file of the T24WebServicesImplPortBinding class.



How do I resolve this?

No comments:

Post a Comment

php - file_get_contents shows unexpected output while reading a file

I want to output an inline jpg image as a base64 encoded string, however when I do this : $contents = file_get_contents($filename); print &q...