Build Instructions : Xerces 2.7.0 and Xalan 1.10 (64-bit on x64) using VS 2005 / VC 8

·

, ,

Building a 64-bit Xerces 2.7.0 and Xalan 1.10 is a set of additional steps to “Build Instructions : Xerces 2.7.0 and Xalan 1.10 (32-bit) Using Visual Studio 2008 / VC++ 8”.

Read my blog on that for full instructions to build them using 32-bit settings.

Xerces 2.7.0 Build Instructions

And for building the Xerces 2.7.0 in x64 mode perform the following steps –

(0) Open the xerces-all.sln file under VC8 folder (that was created under 32-bit build).

(1) Add new configuration setting; You could name it something like — “Release_x64”. Copy settings from “Release”.

(2) Add a new platform “x64” also have been added. Copy settings from Win32.

(3) For the “Release_x64” <–>  “x64” configuration setting, make sure you change all build output paths to win_x64 from Win32.

(4) Goto project properties dialog of XercesLib project. Here add “Win64” as a pre-processor definition. This is needed for compliation to go through successfully in 64-bit mode.

(5) Now compile the XercesLib project. This should compile without any errors and generate the dlls required.

Output files are generated under XERCESCROOT\build\win_x64\vc8\release

For 32-bit builds use the “Release” configuration with Win32 platform settings.

Xalan 1.10 Build Instructions

To start with open the  Xalan.sln – Create new Configuration settings “Release_x64” copied from Release and “x64” machine setting copied from Win32.

Under XALANROOT\Projects\Win32\VC8\Utils under the 3 folders “Localization”, “MsgCreator” and “XalanMsgLib” make changes to the .mak files to incorporate x64 build and build settings. If you would like to download the entire package of Xalan 1.10 sources modified for x64 settings in the way I’ve described here, then you could pick it up from my box.net share.

NOTE: Original Win64 settings in Xalan caters to IA64 build, I have changed it so that it can be used for x64. Alternatively you could create a new setting altogether for x64 in which case you would have to modify things in many other places like visual studio settings etc.

Build only the localization project from visual studio. This should create all the necessary files under

XALANROOT\build\win_x64\vc8\release

In “AllInOne” project change the build settings (C++ and Linker) sections to make it point to Win_x64 directories instead of Win32.

Then build “AllInOne” project. This should then create the xalan libraries in 64-bit mode.

NOTE – Take a look my box.net’s widget and download the xerces 2.7.0 and xalan 1.10 which can be compiled in both 32 and 64 bit configurations.

¶¶¶¶¶

¶¶¶¶¶

4 responses to “Build Instructions : Xerces 2.7.0 and Xalan 1.10 (64-bit on x64) using VS 2005 / VC 8”

  1. Hi,
    where can i get your box.net share? could you please post your url? thanks~

    1. The box.net widget on my main page should allow you to download the file. (by right-clicking and selecting the download option). If that doesn’t work then let me know.

      1. Hello, Please, could you give me a link to download modified sources? I cannot find the box.net widget. Thanks, Richard.

  2. Excellent. Thanks!

Leave a comment