This guide is a brief outline of how SEB can be compiled and used on Windows.
To simplify the compilation process, this guide will use MSYS2 to compile SEB and the required libraries.
MSYS2 can be downloaded from MSYS2.org or by clicking here.
Once downloaded, install it like a normal Windows application. The default setup settings will work, so no modifications are needed.
Open MSYS2 MINGW64, and run the following command to update the package database:
pacman -Syu
Close and reopen MSYS2 MINGW64 and run the following command to ensure all packages are up to date:
pacman -Su
Run the following command to install all the required packages:
pacman -S base-devel mingw-w64-x86_64-toolchain mingw-w64-x86_64-gcc mingw-w64-x86_64-readline mingw-w64-x86_64-gmp mingw-w64-x86_64-gmp mingw-w64-x86_64-autotools mingw-w64-x86_64-gsl
When promted to make a selection, simply hit enter
The source code can either be downloaded from the respective websites for CLN, GiNaC, and SEB or all combined by clicking here (recommended, and what the instructions will assume you do).
Once all the packages have been downloaded, open explorer in the MSYS2 folder by entering the following into the MSYS2 terminal:
explorer.exe .
Move the downloaded archive into the folder and extract it.
To compile CLN and install it, run the following commands:
cd cln
./autogen.sh
./configure
make
make install
Once done, go back to the root folder by entering into the terminal:
cd
The process for GiNaC is essentially the same. Compile it and install it by running in the terminal:
cd ginac
./configure
make
make install
Once done, go back to the root folder by entering into the terminal:
cd
We are now ready to compile SEB. If you downloaded SEB from the original repository instead of the combined archive, we need to make some changes to the makefile. To do this, go into the SEB folder and open the file named "makefile" with your favorite text editor. Go to line 39 and add "-lcln -lgmp" to the end, so line 39 reads "LIB= -lgsl -lgslcblas -lm -lginac -lcln -lgmp". Save and close the file. Please note that this has already been done in the combined archive.
SEB can now be compiled by running the following commands:
cd SEB
make
Once this is done, try running an example by navigating to the "Examples" directory and running "Micelle.exe":
cd Examples
./Micelle.exe