Skip to content

Preparing the maxent toolkit installation

Jurassic edited this page May 15, 2011 · 4 revisions

After installation, files itemmap.tcc, eventspace.hpp and eventspace.tcc have to be copied from the toolkit's source directory to /usr/local/include/maxent or wherever your maxent include directory lies. This is because they are included by transition from the interface header maxentmodel.hpp and are omitted during installation. Note: This is no longer needed with the version of maxent at https://github.com/Jurassic/maxent.

Also when using GCC newer than 3.x, you might get deprecation warnings due to the changing interface of the unordered_map (hash_map) implementation. To amend this, you can edit the hashmap.hpp in include/maxent to use the newest interface for your version or simply ignore the issue and set CMAKE_CXX_FLAGS to -Wno-deprecated in your CMake cache.

Clone this wiki locally