CoxIter  1.1
CoxIter - Computing invariants of hyperbolic Coxeter groups
 All Classes Files Functions Variables Friends Pages
Building CoxIter

Table of Contents

The development and testing of CoxIter were carried out on Linux and I strongly recommend this system to use the program (also, the Windows version built with Visual Studio is slower than the one built on Linux). However, I also provide information below on how to compile it on Windows.

This page is divided into the following sections:

Compilation with GNU/Linux

The following steps were tested on Ubuntu, Linux Mint and Fedora. With other distributions the commands may vary slightly.

Preliminaries

First, install everything you will need to compile the program.

On Ubuntu, Linux Mint or any Debian-based distribution, type the following commands in a Shell:

sudo apt-get install g++ cmake graphviz

On Fedora, type the following commands in a Shell:

sudo yum install g++ cmake graphviz

PCRE

To install PCRE, get the latest 8.x version on the officiel website or use version 8.37 (do not use PCRE2). To do that, type the following commands in a shell:

wget ftp://ftp.csx.cam.ac.uk/pub/software/programming/pcre/pcre-8.37.tar.gz
tar -xvzf pcre-8.37.tar.gz
cd pcre-8.37/
./configure
make
sudo make install

Then, you can delete the temporary files:

cd ..
rm -rf pcre-8.37
rm pcre-8.37.tar.gz

Compilation

With a shell, go to the directory /CoxIter/build
Then, enter the following commands:

cmake -DCMAKE_BUILD_TYPE=Release ../
make

The compilation should be done withour error or warning. Now, CoxIter is usable.

Troubleshooting

If one of the library (PCRE, PARI/GP) is installed but is not found, try to run the following command:

sudo ldconfig

Compilation on Windows with Visual Studio

You will need at least Visual Studio 2013 to compile CoxIter (see here for a free version: Visual Studio Community).
As explained above, the program will run slower than with other compilers.

Building with the existing project (easiest way)

Building with a new solution

To create a project from scratch, please follow the following steps:

Get the .exe file

If you cannot build CoxIter, you can try to use the file I built on my computer.
Note that this file is given WITHOUT ANY WARRANTY

First, install the "Visual C++ Redistributable Packages for Visual Studio 2013" for x86 (the file is named 'vcredist_x86.exe').
You can find it here: http://www.microsoft.com/en-gb/download/details.aspx?id=40784
Then, you can use the CoxIter.exe file which is located in "CoxIter/windows"