Hi,
No i havnt done that.. Do i just put the path to the lib file in that field?
I put this in: J:\xerces-c-src_2_7_0\Build\Win32\VC7.1\Debug\xerces-c_2D.lib
the field
It compiled OK, howver when I run, it gives an Unable to locate DLL error
dialog, saying that xerces-c_2_7D.dll could not be found...
-Alex
Alberto Massari wrote:
>
> At 07.06 13/12/2006 -0800, appleGuy wrote:
>
>>Ok, scrap the its OK buisness...
>>
>>I tried to compile one of the samples & im getting lots of linking
errors...
>
> Did you add the xerces-c_2.lib (for release builds) and
> xerces-c_2D.lib (for debug builds) to the list of libraries used in
> the link phase? (right click on the project file, choose Properties,
> expand the Linker subtree, pick Input, look at the 'Additional
> Dependencies' field)
>
> Alberto
>
>
>
>>Linking...
>>DOMCount.obj : error LNK2019: unresolved external symbol
>>"__declspec(dllimport) public: static void __cdecl
>>xercesc_2_7::XMLPlatformUtils::Terminate(void)"
>>([EMAIL PROTECTED]@xercesc_2_7@@SAXXZ) referenced in
>>function __catch$_main$0
>>DOMCount.obj : error LNK2019: unresolved external symbol
>>"__declspec(dllimport) public: static bool __cdecl
>>xercesc_2_7::DOMImplementation::loadDOMExceptionMsg(enum
>>xercesc_2_7::DOMException::ExceptionCode,unsigned short * const,unsigned
>>int)"
>>([EMAIL PROTECTED]@xercesc_2_7@@[EMAIL PROTECTED]@[EMAIL PROTECTED]@Z)
>>referenced in function __catch$_main$0
>>DOMCount.obj : error LNK2019: unresolved external symbol
>>"__declspec(dllimport) public: static unsigned long __cdecl
>>xercesc_2_7::XMLPlatformUtils::getCurrentMillis(void)"
>>([EMAIL PROTECTED]@xercesc_2_7@@SAKXZ) referenced
in
>>function __catch$_main$0
>>DOMCount.obj : error LNK2001: unresolved external symbol
>>"__declspec(dllimport) public: static unsigned short const * const
>>xercesc_2_7::XMLUni::fgDOMDatatypeNormalization"
>>([EMAIL PROTECTED]@xercesc_2_7@@2QBGB)
>>DOMCount.obj : error LNK2001: unresolved external symbol
>>"__declspec(dllimport) public: static unsigned short const * const
>>xercesc_2_7::XMLUni::fgDOMValidation"
>>([EMAIL PROTECTED]@xercesc_2_7@@2QBGB)
>>DOMCount.obj : error LNK2001: unresolved external symbol
>>"__declspec(dllimport) public: static unsigned short const * const
>>xercesc_2_7::XMLUni::fgDOMValidateIfSchema"
>>([EMAIL PROTECTED]@xercesc_2_7@@2QBGB)
>>DOMCount.obj : error LNK2001: unresolved external symbol
>>"__declspec(dllimport) public: static unsigned short const * const
>>xercesc_2_7::XMLUni::fgXercesSchemaFullChecking"
>>([EMAIL PROTECTED]@xercesc_2_7@@2QBGB)
>>DOMCount.obj : error LNK2001: unresolved external symbol
>>"__declspec(dllimport) public: static unsigned short const * const
>>xercesc_2_7::XMLUni::fgXercesSchema"
>>([EMAIL PROTECTED]@xercesc_2_7@@2QBGB)
>>DOMCount.obj : error LNK2001: unresolved external symbol
>>"__declspec(dllimport) public: static unsigned short const * const
>>xercesc_2_7::XMLUni::fgDOMNamespaces"
>>([EMAIL PROTECTED]@xercesc_2_7@@2QBGB)
>>DOMCount.obj : error LNK2019: unresolved external symbol
>>"__declspec(dllimport) public: static class xercesc_2_7::DOMImplementation
*
>>__cdecl
>>xercesc_2_7::DOMImplementationRegistry::getDOMImplementation(unsigned
short
>>const *)"
>>([EMAIL PROTECTED]@xercesc_2_7@@[EMAIL PROTECTED]@[EMAIL PROTECTED])
>>referenced in function __catch$_main$0
>>DOMCount.obj : error LNK2019: unresolved external symbol
>>"__declspec(dllimport) public: unsigned short const * __thiscall
>>xercesc_2_7::XMLException::getMessage(void)const "
>>([EMAIL PROTECTED]@xercesc_2_7@@QBEPBGXZ) referenced in
>>function __catch$_main$0
>>DOMCount.obj : error LNK2019: unresolved external symbol
>>"__declspec(dllimport) public: static void __cdecl
>>xercesc_2_7::XMLPlatformUtils::recognizeNEL(bool,class
>>xercesc_2_7::MemoryManager * const)"
>>([EMAIL PROTECTED]@xercesc_2_7@@[EMAIL PROTECTED]@@Z)
>>referenced in function _main
>>DOMCount.obj : error LNK2001: unresolved external symbol
>>"__declspec(dllimport) public: static class xercesc_2_7::MemoryManager *
>>xercesc_2_7::XMLPlatformUtils::fgMemoryManager"
>>([EMAIL PROTECTED]@xercesc_2_7@@[EMAIL PROTECTED]@A)
>>DOMCount.obj : error LNK2001: unresolved external symbol
>>"__declspec(dllimport) public: static char const * const
>>xercesc_2_7::XMLUni::fgXercescDefaultLocale"
>>([EMAIL PROTECTED]@xercesc_2_7@@2QBDB)
>>DOMCount.obj : error LNK2019: unresolved external symbol
>>"__declspec(dllimport) public: static void __cdecl
>>xercesc_2_7::XMLPlatformUtils::Initialize(char const * const,char const *
>>const,class xercesc_2_7::PanicHandler * const,class
>>xercesc_2_7::MemoryManager * const,bool)"
>>([EMAIL PROTECTED]@xercesc_2_7@@[EMAIL PROTECTED]@[EMAIL PROTECTED]@[EMAIL
>>PROTECTED])
>>referenced in function _main
>>DOMCount.obj : error LNK2019: unresolved external symbol
>>"__declspec(dllimport) public: static char * __cdecl
>>xercesc_2_7::XMLString::transcode(unsigned short const * const)"
>>([EMAIL PROTECTED]@xercesc_2_7@@[EMAIL PROTECTED]) referenced in
function
>>"public: __thiscall StrX::StrX(unsigned short const * const)"
>>(??0StrX@@[EMAIL PROTECTED]@Z)
>>DOMCount.obj : error LNK2019: unresolved external symbol
>>"__declspec(dllimport) public: static void __cdecl
>>xercesc_2_7::XMLString::release(char * *)"
>>([EMAIL PROTECTED]@xercesc_2_7@@[EMAIL PROTECTED]) referenced in function
>>"public: __thiscall StrX::~StrX(void)" (??1StrX@@[EMAIL PROTECTED])
>>DOMCount.obj : error LNK2019: unresolved external symbol
>>"__declspec(dllimport) protected: __thiscall
>>xercesc_2_7::DOMErrorHandler::DOMErrorHandler(void)"
>>([EMAIL PROTECTED]@@[EMAIL PROTECTED]) referenced in function
>>"public: __thiscall DOMCountErrorHandler::DOMCountErrorHandler(void)"
>>(??0DOMCountErrorHandler@@[EMAIL PROTECTED])
>>DOMCount.obj : error LNK2019: unresolved external symbol
>>"__declspec(dllimport) public: virtual __thiscall
>>xercesc_2_7::DOMErrorHandler::~DOMErrorHandler(void)"
>>([EMAIL PROTECTED]@@[EMAIL PROTECTED]) referenced in function
>>"public: virtual __thiscall
>>DOMCountErrorHandler::~DOMCountErrorHandler(void)"
>>(??1DOMCountErrorHandler@@[EMAIL PROTECTED])
>>Debug/Xerces.exe : fatal error LNK1120: 19 unresolved externals
>>
>>Any Ideas?
>>-Alex
>>
>>
>>appleGuy wrote:
>> >
>> > Hi,
>> >
>> > Thanks Alberto for your help
>> > I tried to compile a blank project with an Xerces header & it seemed to
>> > compile Ok.
>> >
>> > Cheers
>> > Alex
>> >
>> >
>> > Alberto Massari wrote:
>> >>
>> >> At 06.33 13/12/2006 -0800, appleGuy wrote:
>> >>
>> >>>Hi,
>> >>>
>> >>>Ok I built it ok... However I dont have an include or a lib directory
>> in
>>my
>> >>>Xerces folder
>> >>
>> >> Because it's not the binary distribution... you can use the 'src' as
>> >> include folder and the 'Build\Win32\VC7.1\Debug' +
>> >> 'Build\Win32\VC7.1\Release' as the lib folders. Or rebuild the
>> >> sources using the script packageBinaries.pl under the scripts
>> >> directory to build a binary distribution.
>> >>
>> >> Alberto
>> >>
>> >>
>> >>>-Alex
>> >>>
>> >>>
>> >>>Alberto Massari wrote:
>> >>> >
>> >>> > At 05.45 13/12/2006 -0800, appleGuy wrote:
>> >>> >
>> >>> >>Ok Thanks,
>> >>> >>
>> >>> >>I have Vs7.1...To compile the source is it as simple as openning
>> the
>> >>> vc7.1
>> >>> >>project file in the source disto & hitting the compile button?
>> >>> >
>> >>> > Yes.
>> >>> >
>> >>> > Alberto
>> >>> >
>> >>> >
>> >>> >>Thank For Your Help
>> >>> >>-Alex
>> >>> >>
>> >>> >>
>> >>> >>Alberto Massari wrote:
>> >>> >> >
>> >>> >> > Hi Alex,
>> >>> >> > if you have Visual Studio 6, these are the steps:
>> >>> >> >
>> >>> >> > 1) Go to Tools | Options
>> >>> >> > 2) click on the Directories tab
>> >>> >> > 3) it will show the settings for the 'Include files'
>> >>> >> > 4) click on the first button in the mini toolbar ('New')
>> >>> >> > 5) in the newly added edit box type in <xercesdir>\include and
>> >>> press
>> >>> >> Enter
>> >>> >> > 6) click on the combo box and select 'Library files'
>> >>> >> > 7) click on the first button in the mini toolbar ('New')
>> >>> >> > 8) in the newly added edit box type in <xercesdir>\lib and press
>> >>> Enter
>> >>> >> > 9) click OK
>> >>> >> >
>> >>> >> > If you have Visual Studio .NET 2002/2003 or Visual Studio 2005
>> you
>> >>> >> > will first have to download the source distribution of Xerces
>> and
>> >>> >> > recompile it using your compiler.
>> >>> >> > Then,
>> >>> >> >
>> >>> >> > 1) Go to Tools | Options
>> >>> >> > 2) Select the Projects entry in the tree on the left, then the
>> VC++
>> >>> >> > Directories leaf under it
>> >>> >> > 3) Choose 'Include files' from the combo box
>> >>> >> > 4) click on the second button in the mini toolbar ('New Line')
>> >>> >> > 5) in the newly added edit box type in <xercesdir>\include and
>> >>> press
>> >>> >> Enter
>> >>> >> > 6) click on the combo box and select 'Library files'
>> >>> >> > 7) click on the first button in the mini toolbar ('New Line')
>> >>> >> > 8) in the newly added edit box type in <xercesdir>\lib and press
>> >>> Enter
>> >>> >> > 9) click OK
>> >>> >> >
>> >>> >> > Alberto
>> >>> >> >
>> >>> >> > At 05.06 13/12/2006 -0800, appleGuy wrote:
>> >>> >> >
>> >>> >> >>Hi,
>> >>> >> >>
>> >>> >> >>Im a complete beginner when it comes to Xerces. My Main question
>> is
>> >>> >> could
>> >>> >> >>somebody please go through a step by step on how to install
>> Xerces
>> >>> in
>> >>> >>Visual
>> >>> >> >>Studio (the include directories etc).. Ive currently got the
>> Binary
>> >>> >>distro,
>> >>> >> >>is this ok?
>> >>> >> >>
>> >>> >> >>Many Thanks
>> >>> >> >>Alex
>> >>> >> >>--
>> >>> >> >>View this message in context:
>> >>> >>
>> >>http://www.nabble.com/Visual-Studio-Install-%28win32%29-tf2813856.
>> >>> >> html#a7852419
>> >>> >> >>Sent from the Xerces - C - Users mailing list archive at
>> >>> Nabble.com.
>> >>> >> >
>> >>> >> >
>> >>> >> >
>> >>> >>
>> >>> >>--
>> >>> >>View this message in context:
>> >>> >>http://www.nabble.com/Visual-Studio-Install-%28win32%29-tf2813856.
>> >>> html#a7853016
>> >>> >>Sent from the Xerces - C - Users mailing list archive at
>> Nabble.com.
>> >>> >
>> >>> >
>> >>> >
>> >>>
>> >>>--
>> >>>View this message in context:
>> >>>http://www.nabble.com/Visual-Studio-Install-%28win32%29-tf2813856
>> .html#a7853846
>> >>>Sent from the Xerces - C - Users mailing list archive at Nabble.com.
>> >>
>> >>
>> >>
>> >
>> >
>>
>>--
>>View this message in context:
>>http://www.nabble.com/Visual-Studio-Install-%28win32%29-tf2813856.html#a7854396
>>Sent from the Xerces - C - Users mailing list archive at Nabble.com.
>
>
>
--
View this message in context:
http://www.nabble.com/Visual-Studio-Install-%28win32%29-tf2813856.html#a7854769
Sent from the Xerces - C - Users mailing list archive at Nabble.com.