Thank you, I believe you are correct. Is it possible to get a VC6 project for a static compile (or a statically compiled .lib)? I tried to make one myself but I am not an expert.
thanks On 7/21/10 2:29 AM, "Vitaly Prapirny" <[email protected]> wrote: > Hi, > > AFAIK Xerces-C++ 3.0.1 source package contains VC6 project only for > a DLL building and it is impossible to build a static library with it. > > A xerces-c_3.lib is not a static library. It is an import library for a > xerces-c_3_0.dll. > > Good luck! > Vitaly > > Stone, Timothy M wrote: >> >> >> Greetings, >> >> I have downloaded and compiled xerces 3.0.1. When I do this, it creates >> a xerces-c_3.lib (3.0MB) and a xerces-c_3_0.dll (2.3MB). >> >> If I compile my app (MSVC++ 6) using the DLL, then everything works >> fine. It compiles and runs correctly. >> >> >> >> I am trying to use the static version, so I don't have to have the DLL >> present when I run my app. >> >> When I try this, it still says I need the DLL at runtime. >> >> I then looked online, and saw it may be necessary to declare >> XERCES_STATIC_LIBRARY as a preprocessor definition, which I did. >> >> Unfortunately, when I do that, the project no longer compiles...I then >> get the following errors at link time: >> >> Help? >> >> >> Linking... >> >> parse_xml.obj : error LNK2001: unresolved external symbol "public: >> static unsigned short const * const >> xercesc_3_0::XMLUni::fgXercesUserAdoptsDOMDocument" >> (?fgxercesuseradoptsdomdocum...@xmluni@xercesc_3_0@@2QBGB) >> parse_xml.obj : error LNK2001: unresolved external symbol "public: >> static unsigned short const * const >> xercesc_3_0::XMLUni::fgXercesLoadSchema" >> (?fgxercesloadsch...@xmluni@xercesc_3_0@@2QBGB) >> parse_xml.obj : error LNK2001: unresolved external symbol "public: >> static unsigned short const * const >> xercesc_3_0::XMLUni::fgXercesUseCachedGrammarInParse" >> (?fgxercesusecachedgrammarinpa...@xmluni@xercesc_3_0@@2QBGB) >> parse_xml.obj : error LNK2001: unresolved external symbol "public: >> static unsigned short const * const >> xercesc_3_0::XMLUni::fgXercesSchemaFullChecking" >> (?fgxercesschemafullcheck...@xmluni@xercesc_3_0@@2QBGB) >> parse_xml.obj : error LNK2001: unresolved external symbol "public: >> static unsigned short const * const xercesc_3_0::XMLUni::fgXercesSchema" >> (?fgxercessch...@xmluni@xercesc_3_0@@2QBGB) >> parse_xml.obj : error LNK2001: unresolved external symbol "public: >> static unsigned short const * const xercesc_3_0::XMLUni::fgDOMValidate" >> (?fgdomvalid...@xmluni@xercesc_3_0@@2QBGB) >> parse_xml.obj : error LNK2001: unresolved external symbol "public: >> static unsigned short const * const >> xercesc_3_0::XMLUni::fgDOMElementContentWhitespace" >> (?fgdomelementcontentwhitesp...@xmluni@xercesc_3_0@@2QBGB) >> parse_xml.obj : error LNK2001: unresolved external symbol "public: >> static unsigned short const * const >> xercesc_3_0::XMLUni::fgDOMNamespaces" >> (?fgdomnamespa...@xmluni@xercesc_3_0@@2QBGB) >> parse_xml.obj : error LNK2001: unresolved external symbol "public: >> static unsigned short const * const xercesc_3_0::XMLUni::fgDOMEntities" >> (?fgdomentit...@xmluni@xercesc_3_0@@2QBGB) >> parse_xml.obj : error LNK2001: unresolved external symbol "public: >> static unsigned short const * const >> xercesc_3_0::XMLUni::fgDOMDatatypeNormalization" >> (?fgdomdatatypenormalizat...@xmluni@xercesc_3_0@@2QBGB) >> parse_xml.obj : error LNK2001: unresolved external symbol "public: >> static unsigned short const * const xercesc_3_0::XMLUni::fgDOMComments" >> (?fgdomcomme...@xmluni@xercesc_3_0@@2QBGB) >> parse_xml.obj : error LNK2001: unresolved external symbol "public: >> static class xercesc_3_0::MemoryManager * >> xercesc_3_0::XMLPlatformUtils::fgMemoryManager" >> (?fgmemorymana...@xmlplatformutils@xercesc_3_0@@2pavmemorymana...@2@A) >> parse_xml.obj : error LNK2001: unresolved external symbol "public: >> static unsigned short const * const >> xercesc_3_0::XMLUni::fgDOMErrorHandler" >> (?fgdomerrorhand...@xmluni@xercesc_3_0@@2QBGB) >> parse_xml.obj : error LNK2001: unresolved external symbol "public: >> static char const * const xercesc_3_0::XMLUni::fgXercescDefaultLocale" >> (?fgxercescdefaultloc...@xmluni@xercesc_3_0@@2QBDB) > > > --------------------------------------------------------------------- > 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]
