Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8884849
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 14, 20262026-06-14T21:09:47+00:00 2026-06-14T21:09:47+00:00

I want to build Xerces 3.1.1 with ICU using Visual c++ express 2010. I’ve

  • 0

I want to build Xerces 3.1.1 with ICU using Visual c++ express 2010.

I’ve downloaded ICU source and built it like it says in the readme.

Now i need to build Xerces with the ICU binaries i just built.

The build instructions for version 3.1.1 in Xerces’s site state that “You can also select whether the Xerces-C++ library should use ICU for transcoding” but they don’t say exactly how. I looked at all the build options and the only thing i found (maybe i missed something?) that may be related is the pre processor macro list, i saw the following definition – XERCES_USE_TRANSCODER_WINDOWS.

I thought that maybe i need to change it to XERCES_USE_TRANSCODER_ICU. It’s just a guess, so first i looked in the Xerces code and i saw XERCES_USE_TRANSCODER_ICU does appear (for example, they check if it’s defined before including ICU headers).

So I’ve changed XERCES_USE_TRANSCODER_WINDOWS to XERCES_USE_TRANSCODER_ICU, added ICU include directory to the include directory path and all ICU .lib files to the linker dependencies and tried to build it like that. I get unresolved external errors:

PlatformUtils.obj : error LNK2019: unresolved external symbol “public: __thiscall xercesc_3_1::ICUTransService::ICUTransService(class xercesc_3_1::MemoryManager *)” (??0ICUTransService@xercesc_3_1@@QAE@PAVMemoryManager@1@@Z) referenced in function “private: static class xercesc_3_1::XMLTransService * __cdecl xercesc_3_1::XMLPlatformUtils::makeTransService(void)” (?makeTransService@XMLPlatformUtils@xercesc_3_1@@CAPAVXMLTransService@2@XZ)
1>C:\cpp_lib\xerces-c-3.1.1\projects\Win32\VC10\xerces-all\XercesLib………..\Build\Win32\VC10\Debug\xerces-c_3_1D.dll : fatal error LNK1120: 1 unresolved externals

The Xerces site provide more specific instructions for building Xerces 2.8 with ICU (it won’t work on version 3 because it’s done through a script that isn’t provided with version 3). I tried that also (although i need to use the latest version) and it also didn’t work well. No .dll or .lib files were created.

Thanks.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-14T21:09:48+00:00Added an answer on June 14, 2026 at 9:09 pm

    Because I had the same problem and this is one of the first Google hits looking for it, I will give an answer although it’s been some time now since you asked the question.
    These are the steps to build Xerces-c in Visual Studio (worked in VS10 for me) with ICU:

    1. Download and build ICU as described.
    2. Open the xerces-all.sln solution file with VS.
    3. Select the ICU Debug/Release build configuration – it sets XERCES_USE_TRANSCODER_ICU for you.
    4. Add the include and library paths for ICU to the porperties of the XercesLib project, add the icu libs in the additional linker dependencies of that project.
    5. Build and be happy – no need to exclude WIN32TransService.cpp
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I want to build a console-like output using JTextPane. Therefore I am using a
I want to build an local iPhone project without source control using jenkins. However
I want to build a library from multiple source files, like a1.cpp a2.cpp. I
I want to build an application using Hibernate and MyBatis integrate with Spring. In
I want to build GQL query to get an object using its numeric id.
I want to build a System.Linq.Expression from the string List like this: System.Linq.Expressions.Expression x
i want build a blog using jekyll and octopress. but an error happened when
I want to build a Master-Detail layout for one of my applications using SWT.
I want to build a package that involves loading data from mysql using different
I want to build my solution file using MSBuild but there is one issue.

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.