我正在尝试在 QT 中使用 gSoap。当我编译我的项目时,我得到:
undefined reference to `soap_new'
undefined reference to `soap_delete'
undefined reference to `soap_end'
undefined reference to `soap_free'
undefined reference to `soap_delete'
undefined reference to `soap_end'
undefined reference to `soap_free'
我的样品 pro 包含:
INCLUDEPATH += ../../gsoap-2.8/gsoap/
LIBS += -lwsock32
知道有什么问题吗?
我制作了以下文件:
soapcpp2 -I ../../gsoap-2.8/gsoap/import -i quote.h
soapcpp2 -I ../../gsoap-2.8/gsoap/import quote.h