Featured post
namespaces - C++ class declaration and include issues in gsoap project -
i compile file in gsoap project following command.
files in project generated gsoap tools , new c++ cant tell it.
all in need understand if project compile @ all. need other flags?
gcc -c -i/usr/include/gsoap soapauftraegeimportsoap11bindingproxy.cpp
the current error is:
soapauftraegeimportsoap11bindingproxy.cpp:10: error: 'auftraegeimportsoap11bindingproxy' has not been declared
this line 10 is:
auftraegeimportsoap11bindingproxy::auftraegeimportsoap11bindingproxy()
the file starts include:
#include "soapauftraegeimportsoap11bindingproxy.h"
but in header file there no declaration of class. , else. see further errors:
soapauftraegeimportsoap11bindingproxy.cpp:10: error: 'auftraegeimportsoap11bindingproxy' has not been declared soapauftraegeimportsoap11bindingproxy.cpp:10: error: iso c++ forbids declaration of 'auftraegeimportsoap11bindingproxy' no type soapauftraegeimportsoap11bindingproxy.cpp: in function 'int auftraegeimportsoap11bindingproxy()': soapauftraegeimportsoap11bindingproxy.cpp:11: error: 'auftraegeimportsoap11bindingproxy_init' not declared in scope soapauftraegeimportsoap11bindingproxy.cpp: @ global scope: soapauftraegeimportsoap11bindingproxy.cpp:14: error: 'auftraegeimportsoap11bindingproxy' not class or namespace
hopefully question makes sense you.
just close issue , post makefile
c=g++ ccplus=g++ cflags=-c #-wall ### gsoap incl=-i/usr/include/gsoap libs= -l/usr/lib/gsoap link= -lgsoap -lgsoap++ -lgsoapck -lgsoapck++ -lgsoapssl -lgsoapssl++ olink= -lgsoap++ #obj=soapserver.o soapserverlib.o soapc.o .suffixes: .o .cpp .cc.o: @rm -f $@ $(cc) $(cflags) $(incl) $(inc) $< .cpp.o: @rm -f $@ $(cc) $(cflags) $(incl) $(inc) $< default: client clean: rm -r *.o cleanall: rm soap* *.xml *.nsmap *.h *.cgi default: all: client server client: kundenwebserviceclient server: kundenwebserviceserver cp kundenwebserviceserver /usr/lib/cgi-bin/ proxy: kundenwebservice.h soapcpp2 -x -l -c -i -i/usr/include/gsoap kundenwebservice.h rm *12* service: kundenwebservice.h soapcpp2 -x -l -s -i -i/usr/include/gsoap kundenwebservice.h rm *12* kundenwebservice.h: kundenwebservice.wsdl wsdl2h kundenwebservice.wsdl ### kundenwebserviceclient: kundenwebserviceclient.o soapkundenwebservicesoap11bindingproxy.o soapc.o getrow.o $(cc) -o kundenwebserviceclient kundenwebserviceclient.o soapkundenwebservicesoap11bindingproxy.o soapc.o getrow.o $(libs) $(olink) kundenwebserviceserver: kundenwebserviceserver.o soapkundenwebservicesoap11bindingservice.o soapc.o $(cc) -o kundenwebserviceserver kundenwebserviceserver.o soapkundenwebservicesoap11bindingservice.o soapc.o $(olink)
- Get link
- X
- Other Apps
Comments
Post a Comment