[ 
http://issues.apache.org/jira/browse/XERCESC-1429?page=comments#action_12313150 
] 

Daniel Gröndal commented on XERCESC-1429:
-----------------------------------------

There must be something wrong with my Visual Studio. Some default properties or 
something. If it works for everybody else it should probably work for me to.

This is what I do:
1. Download the current source from the Apache site 
(http://www.apache.org/dist/xml/xerces-c/xerces-c-current.zip). This includes 
the 2.6.0 code. 
2. Unzip the archive with WinZip. 
3. Open 
[install-directory]\xerces-c-src_2_6_0\Projects\Win32\VC7\xerces-all\xerces-all.sln.
 
4. Let Visual Studio convert project (/must do or it will not open).
5. Select "Build > Build Solution" from the menu. 
6. Watch compile errors.

It makes no difference if I open the VC6 project.

I will try to examine the settings of my Visual Studio and myabe even reinstall 
it.

> 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)" ([EMAIL PROTECTED]@@[EMAIL 
> PROTECTED]@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)" ([EMAIL PROTECTED]@@[EMAIL 
> PROTECTED]@1@@Z) referenced in function "private: virtual class 
> xercesc_2_6::InputSource * __thiscall 
> xercesc_2_6::DGXMLScanner::resolveSystemId(unsigned short const * const)" 
> ([EMAIL PROTECTED]@xercesc_2_6@@[EMAIL PROTECTED]@[EMAIL PROTECTED])
> 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)" ([EMAIL PROTECTED]@@[EMAIL 
> PROTECTED]@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)" ([EMAIL PROTECTED]@@[EMAIL PROTECTED]@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)" ([EMAIL PROTECTED]@@[EMAIL 
> PROTECTED]@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)" ([EMAIL 
> PROTECTED]@@[EMAIL PROTECTED]@1@@Z) referenced in function "public: void 
> __thiscall xercesc_2_6::XMLScanner::scanDocument(unsigned short const * 
> const)" ([EMAIL PROTECTED]@xercesc_2_6@@[EMAIL PROTECTED])
> AbstractDOMParser.obj : error LNK2019: unresolved external symbol "public: 
> static class xercesc_2_6::DOMImplementation * __cdecl 
> xercesc_2_6::DOMImplementationRegistry::getDOMImplementation(unsigned short 
> const *)" ([EMAIL PROTECTED]@xercesc_2_6@@[EMAIL PROTECTED]@[EMAIL 
> PROTECTED]) referenced in function "public: virtual void __thiscall 
> xercesc_2_6::AbstractDOMParser::startDocument(void)" ([EMAIL 
> PROTECTED]@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 *)" ([EMAIL PROTECTED]@xercesc_2_6@@[EMAIL PROTECTED]@[EMAIL PROTECTED])
> ..\..\..\..\..\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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to