Difference between revisions of "Installation"

From wiki
Jump to: navigation, search
(Prerequisites)
(Prerequisites)
Line 5: Line 5:
 
XeuMeuLeu does not require more than downloading and extracting the latest available archive because of its header-only nature.
 
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. <BR>
+
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 :
+
* [http://xerces.apache.org/xerces-c/install-2.html Installing Apache Xerces-C++]
+
* [http://xml.apache.org/xalan-c/install.html Installing Apache Xalan-C++]
+
  
Note that only Apache Xerces is needed to use the XML subset of XeuMeuLeu. <BR>
+
Note that only Apache Xerces is needed to use the XML subset of XeuMeuLeu, Apache Xalan is only required to work with XSL.
Apache Xalan is only required to work with XSL.
+
  
 
XeuMeuLeu requires the following versions of those libraries :
 
XeuMeuLeu requires the following versions of those libraries :

Revision as of 11:10, 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.

Apache Xerces and (optionally) Apache Xalan might however 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

  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