Friday, June 15, 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

plot explanation - Why did Peaches' mom hang on the tree? - Movies & TV

In the middle of the movie Ice Age: Continental Drift Peaches' mom asked Peaches to go to sleep. Then, she hung on the tree. This parti...