Hi John,
Following are the steps to build xerces with icu using msdev gui.
1. In the open the XercesLib.vcproj in msdev then add icu transcoders
files under the util->Transcoders folder. These file are in
xerces_2_6_0\src\xercesc\util\Transcoders\ICU directory.
2. Now open the properties of the XercesLib.vcproj and in the
preprocessor Add the the macro XML_USE_ICU_TRANSCODER and remove the
macro XML_USE_WIN32_TRANSCODER.
3. I use the icu 3.2 libs (icuucd.lib icudt.lib) so, open the
properties of the XercesLib.vcproj and in linker -> input -> addition
dependencies add these to libs and then in linker -> general
->Additional library Directories add the path where these libs are (
like icu-3.2\icu\lib);
4. No in properties got c/c++ -> general -> Additional include
Directories add icu-3.2\icu\source\common\ path to include some headers
needed from icu.
5. Now build It I think it should get buid without error.
Tell me if you get any probs. I may be forgetting something.
--Regards
--gerry
CONFIDENTIALITY NOTICE
This e-mail transmission and any documents, files, or previous
e-mail messages appended or attached to it, may contain information that
is confidential or privileged. If you are not the intended recipient, or
a person responsible for delivering it to the intended recipient, you
are hereby notified that any disclosure, copying, printing,
distribution, or use of the information contained or attached to this
transmission is STRICTLY PROHIBITED. If you have received this
transmission in error, please immediately notify the sender by telephone
(91-172-2299440) or return e-mail message ([EMAIL PROTECTED]) and
delete the original transmission, its attachments, and any copies in
your possession, custody or control. Thank you.
-----Original Message-----
From: John O'Donnell [mailto:[EMAIL PROTECTED]
Sent: Friday, August 19, 2005 9:25 PM
To: [email protected]
Subject: Building Xerces-C++ with ICU
Hey all,
I am trying to build Xerces C++ with ICU. According to the Apache
website there are 2 alternatives to build Xerces-C++ with ICU on Windows
one is to use the MSDEV GUI environment, and the other is to invoke the
compiler from the command line. Using, the GUI environment, requires one
to edit the project files. The website describes the command line
method. Does anyone know where I can information on how to do it using
the MSDEV GUI?
Cheers,
John