Hi, im trying to compile my QT solution with GSoap.
I have a GSoap C++ app compiling ala:
g++ -I/root/gsoap-linux-2.7/ -I/root/gsoap-linux-2.7/import -o test.o test.cpp soapC.cpp soapClient.cpp /root/gsoap-linux-2.7/stdsoap2.cpp
I just downloaded the soap 2.7 tar file for linux, extracted it and started to use it.
I now want to simply add GSoap support to my QMake file (.pro file)
In my .pro file I have:
sources = gatekeeper.cpp... etc
sources += soap/soapC.cpp soap/soapClient.cpp
headers = gatekeeper.h .. etc
config += thread
includepath += /usr/include
includepath += /root/gsoap-linux-2.7/
includepath += /root/gsoap-linux-2.7/import
unix:libs += -L/usr/lib64
So yeah, I don't have any additional headers or libraries included... so the error im getting is:
miltiple definition of 'namespaces'
now the variable namespaces is declared extern in stdsoap2.h and as an array in my SoapService.nsmap file... but I'm not sure how to fix this in my QMake file... what's going?
Bookmarks