SLUGS Installation on Windows - VerifiableRobotics/LTLMoP GitHub Wiki
To run SLUGS on Windows, you will need the following libraries and programs:
- Boost - Tested with boost_1_57_0.zip in Dec 2014
- Qt - Tested with Qt5.3.2 in Dec 2014
- Cygwin - Tested with Cygwin1.7.33 in Dec 2014
- First download the CUDD library (2.5.0 version). Please extract the 'tar.gz' to the 'lib' folder of SLUGS.
- Then follow Steps 1-4 here to compile CUDD on Windows. If
makefailed, try going into the util directory and run themakecommand, then come back to the main directory and domakeagain.
- Open cygwin and type in
qmaketo check if qmake executable is included in the PATH variable. If not, find the directory to qmake.exe and add that to the PATH variable. - Open Tool.pro under the src directory of SLUGS. Change the line
BDDFLAGS = $$system(gcc BFAbstractionLibrary/compilerOptionGenerator.c -o /tmp/BFAbstractionCompilerOptionsProducer-$$(USER);/tmp/BFAbstractionCompilerOptionsProducer-$$(USER))
to the following:BDDFLAGS = $$system(gcc BFAbstractionLibrary/compilerOptionGenerator.c -o BFAbstractionCompilerOptionsProducer;BFAbstractionCompilerOptionsProducer)
In addition, add the directory to boost behindINCLUDEPATH = ../lib/cudd-2.5.0/include BFAbstractionLibrary
For example, it will look like this:INCLUDEPATH = ../lib/cudd-2.5.0/include BFAbstractionLibrary ../../../../../../../boost_1_57_0/
- Now run
qmake Tool.pro
- Under the src directory, replace
C:/in Makefile with/cygdrive/c/. - Run
make releasein the directory. - Copy slugs.exe under src/release into the src directory. You should be all set.