The current library code is hosted on sourceforge.net. You can check out the code from the SVN repository.

You can also download older snapshots of the source code here.

Note

To use the library from the source code distribution, you should be fairly comfortable with modern C++, C++ development, and configuring your development environment. If you are looking to use the library with an easier learning curve, you can try downloading a prebuilt object-oriented C++ library, or you can download example executables.

Dependencies you need to download

AMELiA uses the Boost libraries, which you will need to download separately from AMELiA.

You can use EITHER a recent release:

OR the latest version from the subversion trunk:

Dependencies included with AMELiA

There are also a number of dependencies which are included in the AMELiA download for convenience. These are:

Note that the above libraries are distributed under their respective licences.

Building

Most of AMELiA (in particular, the AME Patterns library) consists of header-only libraries, and only uses Boost header-only libraries, so in most cases you don't need to build anything to use it. Just make sure the include files are in your development environment include path.

Warning

Your development environment should be configured to search the AMELiA include tree before searching the Boost include tree. Thanks to Dhi Aurrahman for pointing this out.

If you'd like to build the tests and examples, they come configured to use the Boost.Build system.

If you are not familiar with Boost.Build, and don't want to learn how to use it, you may just want to create makefiles or project files for your favorite environment manually - most tests and examples consist of a single .cpp file, so this shouldn't be a big problem. The exception to this are some of the code for experimental results, which consists of a .cpp file for the experiment code, and an .h include file for the dataset. The experimental results section of the AME Patterns Library has more information.

If you do want to tackle Boost.Build, try the following:

  1. Download a prebuilt bjam executable.
  2. Set the BOOST_ROOT environment variable to point to the root or your downloaded Boost distribution (e.g., ~/boost or c:\boost_1_38_0).
    • Alternatively*, in the Jamroot file in the root of the AMELiA distribution replace the line
      path-constant BOOST_ROOT : [ os.environ BOOST_ROOT ] ;
      with, for example,
      path-constant BOOST_ROOT : "c:/boost_1_38_0/" ;
  3. go to any test or example directory of AMELiA (like libs/patterns/example or libs/patterns/test) and execute bjam from the terminal / command line.