473,804 Members | 3,570 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

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(dll import) public: static void __cdecl
xercesc_2_7::XM LString::releas e(wchar_t * *)"
(__imp_?release @XMLString@xerc esc_2_7@@SAXPAP A_W@Z) referenced in function
__catch$_main$0
1>DOMPrint.obj : error LNK2001: unresolved external symbol
"__declspec(dll import) public: static wchar_t const * const
xercesc_2_7::XM LUni::fgDOMWRTB OM"
(__imp_?fgDOMWR TBOM@XMLUni@xer cesc_2_7@@2QB_W B)
1>DOMPrint.obj : error LNK2001: unresolved external symbol
"__declspec(dll import) public: static wchar_t const * const
xercesc_2_7::XM LUni::fgDOMWRTF ormatPrettyPrin t"
(__imp_?fgDOMWR TFormatPrettyPr int@XMLUni@xerc esc_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 3913
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(dll import) public: static void __cdecl
xercesc_2_7::XM LString::releas e(wchar_t * *)"
(__imp_?release @XMLString@xerc esc_2_7@@SAXPAP A_W@Z) referenced in function
__catch$_main$0
1>DOMPrint.obj : error LNK2001: unresolved external symbol
"__declspec(dll import) public: static wchar_t const * const
xercesc_2_7::XM LUni::fgDOMWRTB OM"
(__imp_?fgDOMWR TBOM@XMLUni@xer cesc_2_7@@2QB_W B)
1>DOMPrint.obj : error LNK2001: unresolved external symbol
"__declspec(dll import) public: static wchar_t const * const
xercesc_2_7::XM LUni::fgDOMWRTF ormatPrettyPrin t"
(__imp_?fgDOMWR TFormatPrettyPr int@XMLUni@xerc esc_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
11269
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 specs from /usr/local/lib/gcc-lib/powerpc-ibm-aix5.1.0.0/3.3.1/specs Configured with: ../gcc-3.3.1/configure --disable-nls Thread model: aix gcc version 3.3.1
0
1855
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 development server, which runs Solaris 2.8. I do use CC 6.2 for my compiler. I have reset all the environment variables in Korn shell that point to the Xerces distribution. When I try to compile the same piece of code that compiles fine under Xerces...
4
3061
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 recently by the Apache organization. I've defined a system variable on windows as follows: XERCESCROOT: <...>\xerces-c_2_6_0-windows_nt-msvc_60
4
6413
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 library: http://www.apache.org/dist/xml/xerces-c/binaries/xerces-c_2_7_0-windows_2000-msvc_60.zip
3
3405
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 pre-98) without having to build the library from source? We posed this question to the Xerces-users email list, but have yet to
1
1914
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: SQL16185N
1
1531
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? -- Thanks, David
5
2655
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 Redhat distribition, and are under /usr/lib64/httpd/.../xerces/ (Apache's stuff right?). Below is the (simple) source file I am trying to compile:
0
1420
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
10567
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
10323
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 tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
0
10074
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
1
7613
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
6847
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
5647
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
4291
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
2
3809
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
3
2983
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

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.