Hi Alberto,
Here is what is in the command line:
/OUT:"../../bin/Debug.NET/AgStreamFmt.dll" /INCREMENTAL:NO /NOLOGO /DLL
/MANIFEST
/MANIFESTFILE:".\..\..\lib\Debug.NET\AgStreamFmt\AgStreamFmt.dll.interme
diate.manifest" /DEBUG /PDB:"..\..\bin\Debug.NET\AgStreamFmt.pdb"
/IMPLIB:".\..\..\lib\Debug.NET/AgStreamFmt.lib" /MACHINE:X86
/ERRORREPORT:PROMPT
also in the additional options section it has:
/IGNORE:4222
another note is about how the xerces lib files are included, instead of
being in the project properties there is a libraries folder with a debug
and release folder where the libraries are, I double check and the debug
is being used when in debug and release is used when I am in release.
If you need any other settings let me know.
Thanks
-Corey
-----Original Message-----
From: Alberto Massari [mailto:[EMAIL PROTECTED]
Sent: Tuesday, November 20, 2007 2:19 AM
To: [email protected]
Subject: Re: unresolved external symbol
Hi Corey,
it looks like you are not finding up the global variables exported by
Xerces; could you post the command line used by the linker? (Project
properties -> Linker -> Command Line)
Thanks,
Alberto
Straub, Corey wrote:
> Hi Alberto,
> Well the way the program is setup there is a folder that holds all of
> the xerces files so when I was try to move to 2.7 I removed all of the
> old files and backed them up then put the new xerces files where the
old
> ones were. So my program is using the 2.7, I checked the paths and
they
> are looking there, and I doubled checked that they are the 2.7 files.
>
> I did manage to fix one of my problems though, I changed
>
> XMLPlatformUtils::Initialize(); changed to
> XMLPlatformUtils::Initialize("en_US");
>
> Now I don't get the below error
>
> AgXercesXMLParser.obj : error LNK2001: unresolved external symbol
> "public: static char const * const
> xercesc_2_7::XMLUni::fgXercescDefaultLocale"
> ([EMAIL PROTECTED]@xercesc_2_7@@2QBDB)
>
> And if I change
>
> SAXParser parser; to SAXParser parser(0,0,0);
>
> I am left with that one error still,
> It seems to be a problem with XMLPlatformUtils::fgMemoryManager, I
think
> it has to do with the Class I have AgMemBufInputSource because it is
> based off of InputSource which when is constructed needs a
> XMLPlatformUtils::fgMemoryManager passed to it.
>
> How would I construct one properly or what should I pass into the
> constructor for the memory manager, I was looking through the samples
> and could not find a good example.
>
> Thanks for the help.
>
> -Corey
>
> -----Original Message-----
> From: Alberto Massari [mailto:[EMAIL PROTECTED]
> Sent: Thursday, November 15, 2007 2:37 AM
> To: [email protected]
> Subject: Re: unresolved external symbol
>
> Hi Corey,
> have you checked if you changed the library path to include the 2.7
> directory instead of the 2.1?
>
> Alberto
>
> Straub, Corey wrote:
>
>> Hi,
>>
>> I am new to this so if this the wrong place to send this
>> sorry and could you let me know where I should send this.
>>
>>
>>
>> I am trying to update xalan and xerces. I have no problems updating
>> xalan but when I try to update xerces I am having an issue.
>>
>>
>>
>> I am going from xerces 2.1 to 2.7 and also I am using VC8.
>>
>>
>>
>> I know there was no project made for VC8 but I updated the VC7.1
>> project to 8 and it compiled fine.
>>
>>
>>
>> When I try to use the new library file in the program I keep getting
>> an unresolved external symbol error which suggest that something is
>> not linked right but I checked the library file against the function
>> and I find it
>>
>> in the lib file and they are the exact same.
>>
>>
>>
>> Here is the error I get:
>>
>>
>>
>> AgMemBufInputSource.obj : error LNK2001: unresolved external symbol
>> "public: static class xercesc_2_7::MemoryManager *
>> xercesc_2_7::XMLPlatformUtils::fgMemoryManager"
>>
([EMAIL PROTECTED]@xercesc_2_7@@[EMAIL PROTECTED]@A)
>>
>> AgXercesXMLParser.obj : error LNK2001: unresolved external symbol
>> "public: static class xercesc_2_7::MemoryManager *
>> xercesc_2_7::XMLPlatformUtils::fgMemoryManager"
>>
([EMAIL PROTECTED]@xercesc_2_7@@[EMAIL PROTECTED]@A)
>>
>> AgXercesXMLParser.obj : error LNK2001: unresolved external symbol
>> "public: static char const * const
>> xercesc_2_7::XMLUni::fgXercescDefaultLocale"
>> ([EMAIL PROTECTED]@xercesc_2_7@@2QBDB)
>>
>>
>>
>>
>>
>> If I change 2 lines in my code as follows then I get 2 of the errors
>> to go away:
>>
>>
>>
>> XMLPlatformUtils::Initialize(); changed to
>> //XMLPlatformUtils::Initialize();
>>
>>
>>
>> SAXParser parser(0,0);
>>
>>
>>
>> Then I am left with this error:
>>
>>
>>
>> AgMemBufInputSource.obj : error LNK2001: unresolved external symbol
>> "public: static class xercesc_2_7::MemoryManager *
>> xercesc_2_7::XMLPlatformUtils::fgMemoryManager"
>>
([EMAIL PROTECTED]@xercesc_2_7@@[EMAIL PROTECTED]@A)
>>
>>
>>
>> If anyone has any ideas why I am getting this or how to fix it, help
>> would be appreciated and if not thank you for taking time to look at
>>
> this
>
>>
>>
>> -Corey
>>
>>
>>
>>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>
>
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]