Installation

From wiki
Revision as of 11:04, 7 June 2009 by Mat007 (Talk | contribs)

Jump to: navigation, search

This section describes how to install the library and get started.

Prerequisites

XeuMeuLeu does not require more than downloading and extracting the latest available archive because of its header-only nature.

Apache Xerces and (optionally) Apache Xalan might however require some compilation, although binary distributions are directly available for download for the most common platforms.
Refer to their respective documentation for instructions on how to proceed :

Note that if you plan to use only the XML subset of XeuMeuLeu then only Apache Xerces is needed.

XeuMeuLeu requires the following versions of those libraries :

  • Apache Xerces-C++ 2.7.0 or 2.8.0
  • Apache Xalan-C++ 1.10

Procedure

  1. download Apache Xerces
  2. extract the archive to a location further referenced as xerces_path
  3. add xerces_path/include to include path
  4. download XeuMeuLeu
  5. extract the archive to a location further referenced as xeumeuleu_path
  6. add xeumeuleu_path/src/libraries to include path
  7. optionally define XML_LIBRARY to use xerces static or deploy application with xerces DLL
  8. optionally link against xerces lib
  9. optionally do all the same with Apache Xalan