المساعد الشخصي الرقمي

مشاهدة النسخة كاملة : Windows Vista + VC++ 6.0 + Gsoap 2.7 = ???



C++ Programming
10-21-2009, 02:43 PM
Hello all,

I have been following the instructions below:

http://svn.rivermuse.org/repos/rivermusecore/trunk/BackEnd/gsoap/gsoap/mod_gsoap\
/gsoap_win/isapi/iis_index.html

to build the sample coding.

I am here:

_____________________________________________________

....
....
Select "Include Files" from the dropdown and add your soapcpp directory (the
one where you have unoacked soap 2.18 or higher). This will let the compiler
find stdsoap2.H
Select "Executable Path" and add the same directory also there. This will let
Visual Studio find soapcpp2.exe
Open all4iis.dsw
Activate the "all4iis" project and build all.

_____________________________________________________

When following the step:
"Activate the "all4iis" project and build all."

I get the following listed below. Basically, the error is:

Creating library Debug/mod_gsoap.lib and object Debug/mod_gsoap.exp
ISAPI_Server.obj : error LNK2001: unresolved external symbol "public: __thiscall
soap::~soap(void)" (??1soap@@QAE@XZ)
ISAPI_Server.obj : error LNK2001: unresolved external symbol "public: __thiscall
soap::soap(void)" (??0soap@@QAE@XZ)
../Debug/mod_gsoap.dll : fatal error LNK1120: 2 unresolved externals
Error executing link.exe.

all4iis - 3 error(s), 76 warning(s


How does one get around the problem?

TIA

______________________________________________________

Deleting intermediate files and output files for project 'calc - Win32 Debug'.
Deleting intermediate files and output files for project 'isapi - Win32 Debug'.
Deleting intermediate files and output files for project 'calcclnt - Win32
Debug'.
Deleting intermediate files and output files for project 'dime - Win32 Debug'.
Deleting intermediate files and output files for project 'dimeclnt - Win32
Debug'.
Deleting intermediate files and output files for project 'all4iis - Win32
Debug'.
--------------------Configuration: calc - Win32 Debug--------------------
soapcpp2 .\calc.h ...
** The gSOAP Stub and Skeleton Compiler for C and C++ 2.7.9k
** Copyright (C) 2000-2007, Robert van Engelen, Genivia Inc.
** All Rights Reserved. This product is provided "as is", without any warranty.
** The gSOAP compiler is released under one of the following three licenses:
** GPL, the gSOAP public license, or the commercial license by Genivia Inc.
Saving soapStub.h
Saving soapH.h
Saving soapC.c
Saving soapClient.c
Saving soapClientLib.c
Saving soapServer.c
Saving soapServerLib.c
Using ns service name: calc
Using ns service style: document
Using ns service encoding: literal
Using ns service ********: http://websrv.cs.fsu.edu/~engelen
Using ns service executable: calc.cgi
Using ns schema namespace: urn:calc
Saving calc.wsdl Web Service description
Saving calc.add.req.xml sample SOAP/XML request
Saving calc.add.res.xml sample SOAP/XML response
Saving calc.sub.req.xml sample SOAP/XML request
Saving calc.sub.res.xml sample SOAP/XML response
Saving calc.mul.req.xml sample SOAP/XML request
Saving calc.mul.res.xml sample SOAP/XML response
Saving calc.div.req.xml sample SOAP/XML request
Saving calc.div.res.xml sample SOAP/XML response
Saving calc.pow.req.xml sample SOAP/XML request
Saving calc.pow.res.xml sample SOAP/XML response
Saving calc.nsmap namespace mapping table
Saving ns.xsd XML schema
Compilation successful
Compiling...
calcserver.cpp
soap2stuff.cpp
Generating Code...
Compiling...
soapC.c
soapServer.c
Generating Code...
Compiling...
winstuff.cpp
Generating Code...
Linking...
Creating library Debug/calc.lib and object Debug/calc.exp
--------------------Configuration: isapi - Win32 Debug--------------------
Compiling resources...
Compiling...
HttpContext.cpp
isapi.cpp
ISAPI_HttpContext.cpp
C:\INSTALLATIONS\VISUAL_C++\VC98\INCLUDE\utility(25) : warning C4786:
'std::_Tree::iterator' : identifier was truncated to '255'
characters in the debug information
C:\INSTALLATIONS\VISUAL_C++\VC98\INCLUDE\map(93) : see reference to
class template instantiation
'std::pair' being compiled
C:\INSTALLATIONS\VISUAL_C++\VC98\INCLUDE\map(93) : while compiling
class-template member function
'std::basic_string
&__thiscall std::map::operator [](const
std::basic_string &amphttp://www.barakasoft.com/script/Forums/Images/smiley_wink.gif'
ISAPI_Server.cpp
ISAPI_SoapServerFactory.cpp
C:\INSTALLATIONS\VISUAL_C++\VC98\INCLUDE\xtree(120) : warning C4786:
'std::_Tree' : identifier was truncated to
'255' characters in the debug information
C:\INSTALLATIONS\VISUAL_C++\VC98\INCLUDE\map(46) : see reference to
class template instantiation
'std::_Tree' being compiled

C:\INSTALLATIONS\GSOAP_2_7_9e\INSTALL\gsoap-win32-2.7\mod_gsoap\gsoap_win\isapi\\
gsoap\ISAPI_SoapServerFactory.cpp(172) : see reference to class template
instantiation
'std::map' being compiled
C:\INSTALLATIONS\VISUAL_C++\VC98\INCLUDE\xtree(120) : warning C4786:
'std::_Tree::const_iterator' : identifier was
truncated to '255' characters in the debug informat
ion
C:\INSTALLATIONS\VISUAL_C++\VC98\INCLUDE\map(46) : see reference to
class template instantiation
'std::_Tree' being compiled

C:\INSTALLATIONS\GSOAP_2_7_9e\INSTALL\gsoap-win32-2.7\mod_gsoap\gsoap_win\isapi\\
gsoap\ISAPI_SoapServerFactory.cpp(172) : see reference to class template
instantiation
'std::map' being compiled
C:\INSTALLATIONS\VISUAL_C++\VC98\INCLUDE\xtree(120) : warning C4786:
'std::_Tree::iterator' : identifier was
truncated to '255' characters in the debug information
C:\INSTALLATIONS\VISUAL_C++\VC98\INCLUDE\map(46) : see reference to
class template instantiation
'std::_Tree' being compiled

C:\INSTALLATIONS\GSOAP_2_7_9e\INSTALL\gsoap-win32-2.7\mod_gsoap\gsoap_win\isapi\\
gsoap\ISAPI_SoapServerFactory.cpp(172) : see reference to class template
instantiation
'std::map' being compiled
C:\INSTALLATIONS\VISUAL_C++\VC98\INCLUDE\xtree(120) : warning C4786:
'std::_Tree::_Node' : identifier was truncated
to '255' characters in the debug information
C:\INSTALLATIONS\VISUAL_C++\VC98\INCLUDE\map(46) : see reference to
class template instantiation
'std::_Tree' being compiled

C:\INSTALLATIONS\GSOAP_2_7_9e\INSTALL\gsoap-win32-2.7\mod_gsoap\gsoap_win\isapi\\
gsoap\ISAPI_SoapServerFactory.cpp(172) : see reference to class template
instantiation
'std::map' being compiled
C:\INSTALLATIONS\VISUAL_C++\VC98\INCLUDE\xtree(120) : warning C4786:
'std::_Tree::const_iterator' : identifier was
truncated to '255' characters in the debug informat
ion
C:\INSTALLATIONS\VISUAL_C++\VC98\INCLUDE\map(46) : see reference to
class template instantiation
'std::_Tree' being compiled

C:\INSTALLATIONS\GSOAP_2_7_9e\INSTALL\gsoap-win32-2.7\mod_gsoap\gsoap_win\isapi\\
gsoap\ISAPI_SoapServerFactory.cpp(172) : see reference to class template
instantiation
'std::map' being compiled
C:\INSTALLATIONS\GSOAP_2_7_9e\INSTALL\gsoap-win32-2.7\mod_gsoap\gsoap_win\isapi\\
gsoap\ISAPI_SoapServerFactory.cpp(176) : warning C4786:
'std::reverse_bidirectional_iterator' :
identifier was truncated to '255' characters in the debug information
C:\INSTALLATIONS\GSOAP_2_7_9e\INSTALL\gsoap-win32-2.7\mod_gsoap\gsoap_win\isapi\\
gsoap\ISAPI_SoapServerFactory.cpp(176) : warning C4786:
'std::reverse_bidirectional_iterator' : identifier was truncated to '255' characters in the debug
information
C:\INSTALLATIONS\GSOAP_2_7_9e\INSTALL\gsoap-win32-2.7\mod_gsoap\gsoap_win\isapi\\
gsoap\ISAPI_SoapServerFactory.cpp(176) : warning C4786:
'std::pair' : identifier was truncated to '255' characters in the debug information
C:\INSTALLATIONS\GSOAP_2_7_9e\INSTALL\gsoap-win32-2.7\mod_gsoap\gsoap_win\isapi\\
gsoap\ISAPI_SoapServerFactory.cpp(176) : warning C4786:
'std::pair' : identifier was
truncated to '255' characters in the debug information
C:\INSTALLATIONS\GSOAP_2_7_9e\INSTALL\gsoap-win32-2.7\mod_gsoap\gsoap_win\isapi\\
gsoap\ISAPI_SoapServerFactory.cpp(176) : warning C4786:
'std::pair' : identifier was
truncated to '255' characters in the debug information
C:\INSTALLATIONS\GSOAP_2_7_9e\INSTALL\gsoap-win32-2.7\mod_gsoap\gsoap_win\isapi\\
gsoap\ISAPI_SoapServerFactory.cpp(178) : warning C4786:
'std::_Tree::iterator' : ident
ifier was truncated to '255' characters in the debug information
C:\INSTALLATIONS\VISUAL_C++\VC98\INCLUDE\map(97) : warning C4786:
'pair' :
identifier was truncated to '255' characters in the debug in
formation
C:\INSTALLATIONS\VISUAL_C++\VC98\INCLUDE\xtree(132) : warning C4786:
'std::_Tree::iterator::operator++' :
identifier was truncated to '255' characters in the debug in
formation
C:\INSTALLATIONS\VISUAL_C++\VC98\INCLUDE\xtree(145) : warning C4786:
'std::_Tree::iterator::operator==' :
identifier was truncated to '255' characters in the debug in
formation
C:\INSTALLATIONS\VISUAL_C++\VC98\INCLUDE\xtree(147) : warning C4786:
'std::_Tree::iterator::operator!=' :
identifier was truncated to '255' characters in the debug in
formation
C:\INSTALLATIONS\VISUAL_C++\VC98\INCLUDE\xtree(162) : warning C4786:
'std::_Tree::_Tree' : identifier was truncated to '255' characters in the debug information
C:\INSTALLATIONS\VISUAL_C++\VC98\INCLUDE\xtree(190) : warning C4786:
'std::_Tree::begin' : identifier was truncated
to '255' characters in the debug information
C:\INSTALLATIONS\VISUAL_C++\VC98\INCLUDE\xtree(194) : warning C4786:
'std::_Tree::end' : identifier was truncated
to '255' characters in the debug information
C:\INSTALLATIONS\VISUAL_C++\VC98\INCLUDE\xtree(236) : warning C4786:
'std::_Tree::insert' : identifier was
truncated to '255' characters in the debug information
C:\INSTALLATIONS\VISUAL_C++\VC98\INCLUDE\xtree(374) : warning C4786:
'std::_Tree::erase' : identifier was truncated
to '255' characters in the debug information
C:\INSTALLATIONS\VISUAL_C++\VC98\INCLUDE\xtree(390) : warning C4786:
'std::_Tree::find' : identifier was truncated
to '255' characters in the debug information
C:\INSTALLATIONS\VISUAL_C++\VC98\INCLUDE\xtree(596) : warning C4786:
'std::_Tree::_Freenode' : identifier was
truncated to '255' characters in the debug information
C:\INSTALLATIONS\VISUAL_C++\VC98\INCLUDE\xtree(112) : warning C4786:
'std::_Tree::const_iterator::_Inc' :
identifier was truncated to '255' characters in the debug in
formation
C:\INSTALLATIONS\VISUAL_C++\VC98\INCLUDE\xtree(127) : warning C4786:
'std::_Tree::iterator::operator*' : identifier
was truncated to '255' characters in the debug inf
ormation
C:\INSTALLATIONS\VISUAL_C++\VC98\INCLUDE\utility(21) : warning C4786:
'std::pair::pair' : identifier was
truncated to '255' characters in the debug information
C:\INSTALLATIONS\VISUAL_C++\VC98\INCLUDE\xtree(38) : warning C4786:
'std::_Tree::_Key' : identifier was truncated
to '255' characters in the debug information
C:\INSTALLATIONS\VISUAL_C++\VC98\INCLUDE\xtree(40) : warning C4786:
'std::_Tree::_Left' : identifier was truncated
to '255' characters in the debug information
C:\INSTALLATIONS\VISUAL_C++\VC98\INCLUDE\xtree(42) : warning C4786:
'std::_Tree::_Parent' : identifier was
truncated to '255' characters in the debug information
C:\INSTALLATIONS\VISUAL_C++\VC98\INCLUDE\xtree(44) : warning C4786:
'std::_Tree::_Right' : identifier was
truncated to '255' characters in the debug information
C:\INSTALLATIONS\VISUAL_C++\VC98\INCLUDE\xtree(46) : warning C4786:
'std::_Tree::_Value' : identifier was
truncated to '255' characters in the debug information
C:\INSTALLATIONS\VISUAL_C++\VC98\INCLUDE\xtree(206) : warning C4786:
'std::_Tree::size' : identifier was truncated
to '255' characters in the debug information
C:\INSTALLATIONS\VISUAL_C++\VC98\INCLUDE\xtree(363) : warning C4786:
'std::_Tree::erase' : identifier was truncated
to '255' characters in the debug information
C:\INSTALLATIONS\VISUAL_C++\VC98\INCLUDE\xtree(402) : warning C4786:
'std::_Tree::lower_bound' : identifier was
truncated to '255' characters in the debug information
C:\INSTALLATIONS\VISUAL_C++\VC98\INCLUDE\xtree(454) : warning C4786:
'std::_Tree::_Erase' : identifier was
truncated to '255' characters in the debug information
C:\INSTALLATIONS\VISUAL_C++\VC98\INCLUDE\xtree(462) : warning C4786:
'std::_Tree::_Init' : identifier was truncated
to '255' characters in the debug information
C:\INSTALLATIONS\VISUAL_C++\VC98\INCLUDE\xtree(512) : warning C4786:
'std::_Tree::_Insert' : identifier was
truncated to '255' characters in the debug information
C:\INSTALLATIONS\VISUAL_C++\VC98\INCLUDE\xtree(524) : warning C4786:
'std::_Tree::_Lmost' : identifier was
truncated to '255' characters in the debug information
C:\INSTALLATIONS\VISUAL_C++\VC98\INCLUDE\xtree(551) : warning C4786:
'std::_Tree::_Min' : identifier was truncated
to '255' characters in the debug information
C:\INSTALLATIONS\VISUAL_C++\VC98\INCLUDE\xtree(553) : warning C4786:
'std::_Tree::_Rmost' : identifier was
truncated to '255' characters in the debug information
C:\INSTALLATIONS\VISUAL_C++\VC98\INCLUDE\xtree(557) : warning C4786:
'std::_Tree::_Root' : identifier was truncated
to '255' characters in the debug information
C:\INSTALLATIONS\VISUAL_C++\VC98\INCLUDE\xtree(114) : warning C4786:
'std::_Tree::const_iterator::_Mynode' :
identifier was truncated to '255' characters in the debug
information
C:\INSTALLATIONS\VISUAL_C++\VC98\INCLUDE\xtree(124) : warning C4786:
'std::_Tree::iterator::iterator' : identifier
was truncated to '255' characters in the debug info
rmation
C:\INSTALLATIONS\VISUAL_C++\VC98\INCLUDE\xtree(136) : warning C4786:
'std::_Tree::iterator::operator++' :
identifier was truncated to '255' characters in the debug in
formation
C:\INSTALLATIONS\VISUAL_C++\VC98\INCLUDE\xtree(139) : warning C4786:
'std::_Tree::iterator::operator--' :
identifier was truncated to '255' characters in the debug in
formation
C:\INSTALLATIONS\VISUAL_C++\VC98\INCLUDE\xtree(36) : warning C4786:
'std::_Tree::_Color' : identifier was
truncated to '255' characters in the debug information
C:\INSTALLATIONS\VISUAL_C++\VC98\INCLUDE\xtree(522) : warning C4786:
'std::_Tree::_Lbound' : identifier was
truncated to '255' characters in the debug information
C:\INSTALLATIONS\VISUAL_C++\VC98\INCLUDE\xtree(541) : warning C4786:
'std::_Tree::_Lrotate' : identifier was
truncated to '255' characters in the debug information
C:\INSTALLATIONS\VISUAL_C++\VC98\INCLUDE\xtree(546) : warning C4786:
'std::_Tree::_Max' : identifier was truncated
to '255' characters in the debug information
C:\INSTALLATIONS\VISUAL_C++\VC98\INCLUDE\xtree(574) : warning C4786:
'std::_Tree::_Rrotate' : identifier was
truncated to '255' characters in the debug information
C:\INSTALLATIONS\VISUAL_C++\VC98\INCLUDE\xtree(590) : warning C4786:
'std::_Tree::_Buynode' : identifier was
truncated to '255' characters in the debug information
C:\INSTALLATIONS\VISUAL_C++\VC98\INCLUDE\xtree(592) : warning C4786:
'std::_Tree::_Consval' : identifier was
truncated to '255' characters in the debug information
C:\INSTALLATIONS\VISUAL_C++\VC98\INCLUDE\xtree(594) : warning C4786:
'std::_Tree::_Destval' : identifier was
truncated to '255' characters in the debug information
C:\INSTALLATIONS\VISUAL_C++\VC98\INCLUDE\xtree(65) : warning C4786:
'std::_Tree::const_iterator::const_iterator' :
identifier was truncated to '255' characters in the
debug information
C:\INSTALLATIONS\VISUAL_C++\VC98\INCLUDE\xtree(102) : warning C4786:
'std::_Tree::const_iterator::_Dec' :
identifier was truncated to '255' characters in the debug in
formation
C:\INSTALLATIONS\VISUAL_C++\VC98\INCLUDE\xtree(559) : warning C4786:
'std::_Tree::_Root' : identifier was truncated
to '255' characters in the debug information
warning C4786:
'std::_Tree::_Nil' : identifier was truncated
to '255' characters in the debug information
warning C4786:
'std::_Tree::_Nilrefs' : identifier was
truncated to '255' characters in the debug information
warning C4786:
'std::_Tree' : identifier was truncated to
'255' characters in the debug information
warning C4786:
'std::_Tree::const_iterator' : identifier was
truncated to '255' characters in the debug information
warning C4786:
'std::_Tree::iterator' : identifier was
truncated to '255' characters in the debug information
warning C4786:
'std::_Tree::_Node' : identifier was truncated
to '255' characters in the debug information
warning C4786:
'std::_Tree::_Redbl' : identifier was
truncated to '255' characters in the debug information
warning C4786:
'std::pair' : identifier was
truncated to '255' characters in the debug information
C:\INSTALLATIONS\VISUAL_C++\VC98\INCLUDE\utility(21) : warning C4786:
'std::pair::pair' :
identifier was truncated to '255' characters in the debug information
C:\INSTALLATIONS\VISUAL_C++\VC98\INCLUDE\utility(21) : warning C4786:
'std::pair::pair' : identifier was
truncated to '255' characters in the debug information
C:\INSTALLATIONS\VISUAL_C++\VC98\INCLUDE\utility(21) : warning C4786:
'std::pair::pair' :
identifier was truncated to '255' characters in the debug information
C:\INSTALLATIONS\VISUAL_C++\VC98\INCLUDE\utility(21) : warning C4786:
'std::pair::pair' : identifier was
truncated to '255' characters in the debug information
Linking...
Creating library Debug/mod_gsoap.lib and object Debug/mod_gsoap.exp
ISAPI_Server.obj : error LNK2001: unresolved external symbol "public: __thiscall
soap::~soap(void)" (??1soap@@QAE@XZ)
ISAPI_Server.obj : error LNK2001: unresolved external symbol "public: __thiscall
soap::soap(void)" (??0soap@@QAE@XZ)
../Debug/mod_gsoap.dll : fatal error LNK1120: 2 unresolved externals
Error executing link.exe.

all4iis - 3 error(s), 76 warning(s