Source and binary distributions installation instructions are available for the following platforms:
This section contains installation instructions for the Windows platform.
The &XercesCName; source is available in the source distribution: &XercesC3SrcInstallDir;.zip.
Install the &XercesCName; source distribution by using unzip
on the &XercesC3SrcInstallDir;.zip archive in the Windows environment. You can
use WinZip, or any other UnZip utility:
This creates the '&XercesC3SrcInstallDir;' sub-directory containing the &XercesCName; source distribution.
If you need to build the &XercesCName; source after installation,
please follow the
Install the &XercesCName; binary distribution by using unzip
on the &XercesC3InstallDir;-{arch}-windows-{compiler}.zip archive in
the Windows environment. Here {arch} denotes the CPU architecture
and {compiler} denotes the C++ compiler of your choice. You can use
WinZip, or any other UnZip utility. For example:
This creates a '&XercesC3InstallDir;-x86-windows-vc-8.0' sub-directory containing the &XercesCName; binary distribution.
You need to add the '&XercesC3InstallDir;-{arch}-windows-{compiler}\bin' directory to your path. To do this go to the start menu, click the settings menu and select control panel. When the control panel opens, double click on System and select the 'Environment' tab. Locate the PATH variable under system variables and add <full-path-to-&XercesC3InstallDir;-{arch}-windows-{compiler}>\bin to the PATH variable.
The binary distribution contains the pre-built parser libraries
and sample executables. Please refer to the
This section contains installation instructions for the UNIX, Linux, and Mac OS X platforms.
The &XercesCName; source is available in the source distribution: &XercesC3SrcInstallDir;.tar.gz.
Install the &XercesCName; source distribution &XercesC3SrcInstallDir;.tar.gz by extracting the files from the compressed archive:
This creates the '&XercesC3SrcInstallDir;' sub-directory containing the &XercesCName; source distribution.
If you need to build the &XercesCName; source after installation,
please follow the
Install the binary distribution &XercesC3InstallDir;-{arch}-{os}-{compiler}.tar.gz by extracting the files from the compressed archive. Here {arch} denotes the CPU architecture, {os} denotes the operating system, and {compiler} denotes the C++ compiler of your choice. For example:
This will create an '&XercesC3InstallDir;-x86-linux-gcc-3.4' sub-directory containing the &XercesCName; binary distribution.
You will need to add the &XercesC3InstallDir;-{arch}-{os}-{compiler}/bin directory to your PATH environment variable:
For Bourne Shell, K Shell or Bash, type:
For C Shell, type:
If you wish to make this setting permanent, you need to change your profile by changing your setup files which can be either .profile or .kshrc.
In addition, you will also need to set the library search path. (LIBPATH on AIX, LD_LIBRARY_PATH on Solaris and Linux, SHLIB_PATH on HP-UX, and DYLD_LIBRARY_PATH on Mac OS X).
In the following shell commands, the <xerces-path> denotes the full path to the &XercesC3InstallDir;-{arch}-{os}-{compiler} directory. For Bourne Shell, K Shell or Bash, type:
For C Shell, type:
The binary distribution contains the pre-built parser libraries
and sample executables. Please refer to the
This section contains installation instructions for the Cygwin platform.
The &XercesCName; source is available in the source distribution: &XercesC3SrcInstallDir;.tar.gz.
Install the &XercesCName; source distribution &XercesC3SrcInstallDir;.tar.gz by extracting the files from the compressed archive:
This creates the '&XercesC3SrcInstallDir;' sub-directory containing the &XercesCName; source distribution.
If you need to build the &XercesCName; source after installation,
please follow the
Precompiled Xerces-C++ libraries for Cygwin are provide as part of the Cygwin package repository. To install the binary distribution run Cygwin setup.exe. When you reach the Packages step of the Cygwin Setup wizard, expand the Devel category, then click in the New column next to "xerces-c-devel" until it reads "&XercesC3Version;-X".