Difference between revisions of "Installation"

From wiki
Jump to: navigation, search
(Prerequisites)
(Procedure)
Line 22: Line 22:
  
 
Then in your project :
 
Then in your project :
# add ''xerces_path''/include to your project include path
+
# if needed add ''xerces_path''/include to your project include path
# (optionally add ''xalan_path''/include to your project include path)
+
# (optionally if needed add ''xalan_path''/include to your project include path)
 
# add ''xeumeuleu_path''/src/libraries to your project include path
 
# add ''xeumeuleu_path''/src/libraries to your project include path
 
# (optionally define XML_LIBRARY to use Apache Xerces static)
 
# (optionally define XML_LIBRARY to use Apache Xerces static)
 
# link against the proper Apache Xerces library
 
# link against the proper Apache Xerces library
 
# (optionally link against the proper Apache Xalan library)
 
# (optionally link against the proper Apache Xalan library)

Revision as of 11:38, 7 June 2009

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.
If you are already using Apache Xerces, adding XeuMeuLeu on top of it is therefore very easy and straight-forward.

Apache Xerces and (optionally) Apache Xalan might require some compilation, although binary distributions are directly available for download for the most common platforms.
Note that only Apache Xerces is needed to use the XML subset of XeuMeuLeu, Apache Xalan is only required to work with XSL.

XeuMeuLeu requires the following versions of those libraries :

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

Procedure

First follow the steps :

  1. install Apache Xerces-C++
  2. (optionally install Apache Xalan-C++)
  3. download XeuMeuLeu
  4. extract the archive to a location further referenced as xeumeuleu_path

Then in your project :

  1. if needed add xerces_path/include to your project include path
  2. (optionally if needed add xalan_path/include to your project include path)
  3. add xeumeuleu_path/src/libraries to your project include path
  4. (optionally define XML_LIBRARY to use Apache Xerces static)
  5. link against the proper Apache Xerces library
  6. (optionally link against the proper Apache Xalan library)