473,386 Members | 1,712 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,386 software developers and data experts.

Xerces Library

Hello, I'm trying to get some code that uses the Xerces library (XML
parsing) to run in Visual C++ 2005 Express. I've linked the library
(xerces-c_2D.lib) and the \lib and \include locations to the project and
everything compiles, but can't link it:

1>DOMPrint.obj : error LNK2019: unresolved external symbol
"__declspec(dllimport) public: static void __cdecl
xercesc_2_7::XMLString::release(wchar_t * *)"
(__imp_?release@XMLString@xercesc_2_7@@SAXPAPA_W@Z ) referenced in function
__catch$_main$0
1>DOMPrint.obj : error LNK2001: unresolved external symbol
"__declspec(dllimport) public: static wchar_t const * const
xercesc_2_7::XMLUni::fgDOMWRTBOM"
(__imp_?fgDOMWRTBOM@XMLUni@xercesc_2_7@@2QB_WB)
1>DOMPrint.obj : error LNK2001: unresolved external symbol
"__declspec(dllimport) public: static wchar_t const * const
xercesc_2_7::XMLUni::fgDOMWRTFormatPrettyPrint"
(__imp_?fgDOMWRTFormatPrettyPrint@XMLUni@xercesc_2 _7@@2QB_WB)
etc...
From my past experience these problem usually occur when you have forgotten
to link the library, but I'm sure I've linked the correct library
xerces-c_2D.lib (and removing this lib makes more errors).

Any ideas???? Apologies if I've posted to the wrong group.

Thanks
Benjamin

Jun 13 '06 #1
1 3881
Benjamin Black wrote:
Hello, I'm trying to get some code that uses the Xerces library (XML
parsing) to run in Visual C++ 2005 Express. I've linked the library
(xerces-c_2D.lib) and the \lib and \include locations to the project and
everything compiles, but can't link it:

1>DOMPrint.obj : error LNK2019: unresolved external symbol
"__declspec(dllimport) public: static void __cdecl
xercesc_2_7::XMLString::release(wchar_t * *)"
(__imp_?release@XMLString@xercesc_2_7@@SAXPAPA_W@Z ) referenced in function
__catch$_main$0
1>DOMPrint.obj : error LNK2001: unresolved external symbol
"__declspec(dllimport) public: static wchar_t const * const
xercesc_2_7::XMLUni::fgDOMWRTBOM"
(__imp_?fgDOMWRTBOM@XMLUni@xercesc_2_7@@2QB_WB)
1>DOMPrint.obj : error LNK2001: unresolved external symbol
"__declspec(dllimport) public: static wchar_t const * const
xercesc_2_7::XMLUni::fgDOMWRTFormatPrettyPrint"
(__imp_?fgDOMWRTFormatPrettyPrint@XMLUni@xercesc_2 _7@@2QB_WB)
etc...
From my past experience these problem usually occur when you have forgotten
to link the library, but I'm sure I've linked the correct library
xerces-c_2D.lib (and removing this lib makes more errors).

Any ideas???? Apologies if I've posted to the wrong group.


No problem. Here's an FAQ that has a list of better groups for you to
post to:

http://www.parashift.com/c++-faq-lit...t.html#faq-5.9

Cheers! --M

Jun 13 '06 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
by: Stu | last post by:
I am trying to build the xerces shared library with 2.3.0 version of their source code on an AIX 5.1 32 bit machine with the following version of the g++ compiler /usr/local/bin/g++ -v Reading...
0
by: Jim Phelps | last post by:
After having memory leak issues with Xerces-c 2.3.0 for Solaris 2.7 for CC 6.2 I have decided to update to at least 2.4. I have downloaded the binary tarball and have installed it on my...
4
by: cgparis | last post by:
Dear forum members, I am trying to compile C++ code under MS Visual Studio .NET 2003, which references the latest Xerces C++ release library (2.6.0). This Xerces release was made available...
4
by: Sanjay Kumar | last post by:
Folks ! I am working with VC++ after a long time and having problem linking latest xerces 2.7 in VC++ 2005 Express Edition. I have done following: 1. downloaded and unpacked the the...
3
by: Matt | last post by:
Hello, Summary: Where can one download a Xerces-C (XML pardser) dynamic library file (.DLL file) for Windows (Win98/WinNT/Win2k/WinXP/Win2003, including server flavors; don't need to support...
1
by: aralvarez_nospam_at_gmail.com change _nospam_at_ | last post by:
I have been trying to register some HL7 schemas into DB2-Express -C v9. After invoking the following command: complete xmlschema "datatypes-base"; it throws me the following error: ...
1
by: david.sagan | last post by:
Hello Everyone: I am trying to create a Xerces C++ archive (.a) library instead of the standard shared-object (.so) one. I don't see any information on how to do this. Anyone have any answers? ...
5
by: mearvk | last post by:
Hello, Let me preface this post by saying I'm new to C/C++ and to gcc/g++. Now then, I'm trying to get Xerces (C++) working on a (64-bit) redhat machine. The Xerces binaries were part of the...
0
by: jimmy Zhang | last post by:
VTD-XML (http://vtd-xml.sf.net) may also be interesting to you "Martin Honnen" <mahotrash@yahoo.dewrote in message news:47cd3ee6$0$25510$9b4e6d93@newsspool1.arcor-online.net...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.