Hello Dear
I've used your library for device discovery of IP Cameras.
I've downloaded and installed gsoap and entered the following command:
$$ make secenv devicemgmt/devicemgmt.hpp ptz/ptz.hpp
it works fine, but when I want to compile devicemgmt c++ files with the follwoing command
$$ g++ -c -DWITH_NOIDREF *.cpp
I face these errors:
DevicemgmtC.cpp: In function ‘Devicemgmt::tt__ActionEngineEventPayload* Devicemgmt::soap_in_tt__ActionEngineEventPayload(soap*, const char*, Devicemgmt::tt__ActionEngineEventPayload*, const char*)’:
DevicemgmtC.cpp:51870:10: error: ‘soap_in_PointerToSOAP_ENV__Fault’ was not declared in this scope
{ if (soap_in_PointerToSOAP_ENV__Fault(soap, "tt:Fault", &a->tt__ActionEngineEventPayload::Fault, ""))
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
DevicemgmtC.cpp:51870:10: note: suggested alternative: ‘soap_in_PointerToSOAP_ENV__Header’
{ if (soap_in_PointerToSOAP_ENV__Fault(soap, "tt:Fault", &a->tt__ActionEngineEventPayload::Fault, ""))
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
soap_in_PointerToSOAP_ENV__Header
DevicemgmtC.cpp: In function ‘void Devicemgmt::soap_serialize_SOAP_ENV__Envelope(soap*, const Devicemgmt::SOAP_ENV__Envelope*)’:
DevicemgmtC.cpp:149618:2: error: ‘soap_serialize_PointerToSOAP_ENV__Header’ was not declared in this scope
soap_serialize_PointerToSOAP_ENV__Header(soap, &a->SOAP_ENV__Header);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
DevicemgmtC.cpp:149618:2: note: suggested alternative: ‘soap_serialize_PointerToSOAP_ENV__Envelope’
soap_serialize_PointerToSOAP_ENV__Header(soap, &a->SOAP_ENV__Header);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
soap_serialize_PointerToSOAP_ENV__Envelope
DevicemgmtC.cpp: In function ‘int Devicemgmt::soap_out_SOAP_ENV__Envelope(soap*, const char*, int, const Devicemgmt::SOAP_ENV__Envelope*, const char*)’:
DevicemgmtC.cpp:149628:6: error: ‘soap_out_PointerToSOAP_ENV__Header’ was not declared in this scope
if (soap_out_PointerToSOAP_ENV__Header(soap, "SOAP-ENV:Header", -1, &a->SOAP_ENV__Header, ""))
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
DevicemgmtC.cpp:149628:6: note: suggested alternative: ‘soap_in_PointerToSOAP_ENV__Header’
if (soap_out_PointerToSOAP_ENV__Header(soap, "SOAP-ENV:Header", -1, &a->SOAP_ENV__Header, ""))
I've provided the gsoap folder with -I flag, but it didn't do any better. what should I do ?