-
Notifications
You must be signed in to change notification settings - Fork 3
InstallWindows
Tested only for 32bits systems
Download and run mingw-get
- Install in c:\MinGW
- Select all possible items from the list
- Get the newest catalogues
Add C:\MinGW\bin to the PATH environment variable. Environment variables can be modified in Control Pannel/System, then Advanced settings and Environment variables. You want to modify the “system” variables (bottom), not the “User” variables (top).
-
Download the last version of boost libraries at
-
Unzip in the directory you want (for example c:\Users\Dowloads\boost) that we will name
$boost_src$ from now on. -
Compile bjam by:
cd $boost_src$\tools\build\v2\engine\src build.bat mingw cd ..\..\..\..\.. copy .\tools\build\v2\engine\src\bin.ntx86\bjam.exe .
-
Configure and execute bjam to build boost by:
ECHO using gcc ; > project-config.jam bjam install --prefix="c:\MinGW" --with-program_options --build-dir="$boost_src$\build"
-
build boost by:
make make install
- Download CImg
- Extract
CImg.h
intoc:\MinGW\include
- Downoload the precompiled fftw libraries
- Extract fftw3.h to
c:\MinGW\include
- Extract the three dll files to
c:\MinGW\bin
- Copy
c:\MinGW\bin\\*-3.dll
toc:\MinGW\lib\\*.dll.a
(fftw3f-3.dll => fftw3f.dll.a).
- Download the autoconf macro archives and extract to
c:\MinGW\share\alocal
- After you modified configure.ac or makefile.ac, run autoreconf --install
cd C:\Users\me\Documents\
git clone https://github.com/MathieuLeocmach/colloids.git
In the MinGW console (also called MSys) :
cd /c/Users/me/Documents/colloids
./configure –prefix=/c/MinGW -–with-boost -–with-boost_program_options=boost_program_options-mgw45-mt-d-1_46_1
Adapt the directory and the exact name of the boost library you have compiled. In c:\MinGW\lib
you must have a file like libboost_program_options-mgw45-mt-d-1_46_1.a
Keep only the underlined part.
make
make install
- Python (>2.5)
- Numpy
- Scypy
- pygraph
- Gnuplot and Gnuplot.py
Add C:\Users\me\Documents\colloids\python
to the environment variable PYTHONPATH. Create this variable if needed.