You are viewing a plain text version of this content. The canonical link for it is here.
Posted to c-dev@xerces.apache.org by "Alberto Massari (JIRA)" <xe...@xml.apache.org> on 2005/06/14 00:17:46 UTC

[jira] Closed: (XERCESC-1429) Error building Xerces with VC 7.1

     [ http://issues.apache.org/jira/browse/XERCESC-1429?page=all ]
     
Alberto Massari closed XERCESC-1429:
------------------------------------

    Resolution: Invalid

> Error building Xerces with VC 7.1
> ---------------------------------
>
>          Key: XERCESC-1429
>          URL: http://issues.apache.org/jira/browse/XERCESC-1429
>      Project: Xerces-C++
>         Type: Bug
>   Components: Build
>     Versions: 2.6.0
>  Environment: Windows XP, Visual Studio C++ .NET (VC 7.1.3088)
>     Reporter: Daniel Gröndal

>
> First when opening the project I had to convert the project. When trying to build XercesLib there were several compile errors related to .hpp-files (object file asumed). This was resolved by changing the properties of the project (using /TP). I also had to modify the project so that XercesDefs.hpp is included. After these modifications the project compiles (with a few warnings). 
> The problem is that I encouter several linkproblems: 
> \temp\xerces-c-current\xerces-c-src_2_6_0\Build\Win32\VC7\Release\obj\DOMImplementationimpl.obj : warning LNK4042: object specified more than once; extras ignored \temp\xerces-c-current\xerces-c-src_2_6_0\Build\Win32\VC7\Release\obj\DOMImplementationimpl.obj : warning LNK4042: object specified more than once; extras ignored
>    Creating library ..\..\..\..\..\Build\Win32\VC7\Release/xerces-c_2.lib and object ..\..\..\..\..\Build\Win32\VC7\Release/xerces-c_2.exp
> TraverseSchema.obj : error LNK2001: unresolved external symbol "public: __thiscall xercesc_2_6::LocalFileInputSource::LocalFileInputSource(unsigned short const * const,unsigned short const * const,class xercesc_2_6::MemoryManager * const)" (??0LocalFileInputSource@xercesc_2_6@@QAE@QBG0QAVMemoryManager@1@@Z)
> DGXMLScanner.obj : error LNK2019: unresolved external symbol "public: __thiscall xercesc_2_6::LocalFileInputSource::LocalFileInputSource(unsigned short const * const,unsigned short const * const,class xercesc_2_6::MemoryManager * const)" (??0LocalFileInputSource@xercesc_2_6@@QAE@QBG0QAVMemoryManager@1@@Z) referenced in function "private: virtual class xercesc_2_6::InputSource * __thiscall xercesc_2_6::DGXMLScanner::resolveSystemId(unsigned short const * const)" (?resolveSystemId@DGXMLScanner@xercesc_2_6@@EAEPAVInputSource@2@QBG@Z)
> IGXMLScanner2.obj : error LNK2001: unresolved external symbol "public: __thiscall xercesc_2_6::LocalFileInputSource::LocalFileInputSource(unsigned short const * const,unsigned short const * const,class xercesc_2_6::MemoryManager * const)" (??0LocalFileInputSource@xercesc_2_6@@QAE@QBG0QAVMemoryManager@1@@Z)
> ReaderMgr.obj : error LNK2001: unresolved external symbol "public: __thiscall xercesc_2_6::LocalFileInputSource::LocalFileInputSource(unsigned short const * const,unsigned short const * const,class xercesc_2_6::MemoryManager * const)" (??0LocalFileInputSource@xercesc_2_6@@QAE@QBG0QAVMemoryManager@1@@Z)
> SGXMLScanner.obj : error LNK2001: unresolved external symbol "public: __thiscall xercesc_2_6::LocalFileInputSource::LocalFileInputSource(unsigned short const * const,unsigned short const * const,class xercesc_2_6::MemoryManager * const)" (??0LocalFileInputSource@xercesc_2_6@@QAE@QBG0QAVMemoryManager@1@@Z)
> XMLScanner.obj : error LNK2019: unresolved external symbol "public: __thiscall xercesc_2_6::LocalFileInputSource::LocalFileInputSource(unsigned short const * const,class xercesc_2_6::MemoryManager * const)" (??0LocalFileInputSource@xercesc_2_6@@QAE@QBGQAVMemoryManager@1@@Z) referenced in function "public: void __thiscall xercesc_2_6::XMLScanner::scanDocument(unsigned short const * const)" (?scanDocument@XMLScanner@xercesc_2_6@@QAEXQBG@Z)
> AbstractDOMParser.obj : error LNK2019: unresolved external symbol "public: static class xercesc_2_6::DOMImplementation * __cdecl xercesc_2_6::DOMImplementationRegistry::getDOMImplementation(unsigned short const *)" (?getDOMImplementation@DOMImplementationRegistry@xercesc_2_6@@SAPAVDOMImplementation@2@PBG@Z) referenced in function "public: virtual void __thiscall xercesc_2_6::AbstractDOMParser::startDocument(void)" (?startDocument@AbstractDOMParser@xercesc_2_6@@UAEXXZ)
> DOMDocumentTypeImpl.obj : error LNK2001: unresolved external symbol "public: static class xercesc_2_6::DOMImplementation * __cdecl xercesc_2_6::DOMImplementationRegistry::getDOMImplementation(unsigned short const *)" (?getDOMImplementation@DOMImplementationRegistry@xercesc_2_6@@SAPAVDOMImplementation@2@PBG@Z)
> ..\..\..\..\..\Build\Win32\VC7\Release\xerces-c_2_6.dll : fatal error LNK1120: 3 unresolved externals

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


---------------------------------------------------------------------
To unsubscribe, e-mail: c-dev-unsubscribe@xerces.apache.org
For additional commands, e-mail: c-dev-help@xerces.apache.org