- Visual Studio Express
- XCode
- CLion
- Eclipse C/C++ Development Tooling - CDT
- CMake
- Snoopy
- SPSA_SteeringAPI
- Snoopy simulator
- dssd_util
- wxWidgets
- ogl
- freechart
- OGDF
- SBML
- IrrKlang
- SUNDIALS
- Gecode
- Boost
- Flex & Bison
- GMP
- MPIR drop-in replacement for gmp
Expected duration: about one day
This is work in Progress!!!
-
needed environment variables
$SPSA_STEERINGAPI = path of SPSA_SteeringAPI
$SP_SIMULATOR = path of SP_Simulator
$DSSD_UTIL = path of dssd_util library$WXWIN = path of wxWidgets
$OGL = path of ogl
$FREECHART = path of freechart
$BOOST_ROOT = path of boost
$OGDF = path of OGDF
$XERCESCROOT = path of xerces
$LIBSBML = path of SBML
$IRRKLANG = path of IrrKlang
$CVODE = path of sundials library
$GECODEDIR = path of gecode library
$GMPDIR = path of gmp/mpir library -
wxWidgets
- download wxWidgets 1.* from wxWidgets Homepage and unpack it into "~/workspace"
- modify: ($WXWIN)\include\wx\msw\setup.h
#define wxUSE_STL 1
#define wxUSE_UNICODE 1
#define wxUSE_POSTSCRIPT 1
#define wxUSE_GRAPHICS_CONTEXT 1 - for compiling wxWidgets as 64-bit check link
- open
($WXWIN)\build\msw\wx_vc14.sln - build solution for x64 as Debug DLL and Release DLL
-
OGL
- get ogl
git clone https://github.com/PetriNuts/ogl.git - open
($OGL)\build\ogl_vc14.sln - build ogl for x64 as Debug and Release
- get ogl
-
freechart
- get freechart
git clone https://github.com/PetriNuts/freechart.git - open
($FREECHART)\build\wxfreechart_vc14.sln - build freechart for x64 as Debug and Release
- get freechart
-
LibSBML
-
OGDF
- download OGDF and unpack it into "~/workspace"
- create a folder build
- use cmake to create visual studio project files
- open
($OGDF)\build\ogdf.sln - use cmake to create visual studio project files
- build ALL_BUILD for x64 as Release und Debug
-
Irrklang
- download Irrklang and unpack it into "~/workspace"
-
Boost
- download boost and unpack it into "~/workspace"
- open command line at $BOOST_ROOT
- call
bjam - call
b2 threading=multi architecture=x86 address-model=64 link=static
-
MPIR
- download MPIR and unpack it into "~/workspace"
- open
($GMPDIR)\build.vc14\mpir.sln - build lib_mpir_core2 for x64 as Debug and Release
-
Sundials
- download sundials and unpack it into "~/workspace"
- create a folder build
- use cmake to create visual studio project files
- open
($CVODE)\build\sundials.sln - build ALL_BUILD for x64 as Release und Debug
-
Gecode
- download Gecode and unpack it into "~/workspace"
- create a folder build
- use cmake to create visual studio project files
- open
($GECODEDIR)\build\gecode.sln - build ALL_BUILD for x64 as Release und Debug
-
dssd_util
- get dssd_util
git clone https://github.com/PetriNuts/dssd_util.git - create a folder build
cd build - use cmake to create visual studio project files
cmake -DCMAKE_GENERATOR_PLATFORM=x64 .. - open
($DSSD_UTIL)\build\dssd_util.sln - build ALL_BUILD for x64 as Release und Debug
- get dssd_util
-
SPSA_SteeringAPI
- get SPSA_SteeringAPI
git clone https://github.com/PetriNuts/SPSA_SteeringAPI.git - open
($SPSA_STEERINGAPI)\SPSA_STEERINGAPI.sln - build solution for x64 as Debug and Release
- get SPSA_SteeringAPI
-
SP_Simulator
- get SP_Simulator
git clone https://github.com/PetriNuts/SP_Simulator.git - open
($SP_Simulator)\Snoopy Simulator.sln - build *solution *for x64 as Debug and Release
- get SP_Simulator
-
Snoopy
- get Snoopy
git clone https://github.com/PetriNuts/snoopy.git - open
($Snoopy)\SnoopyVC.sln - build solution for x64 as Debug and Release
- To use dynamic link(DLL), you can either copy the DLLs to Snoopy folder or as a more general way add the path of the Dlls to your windows PATH in the environment variable e.g (PATH=D:\workspace\Steering\Snoopy Simulator\lib\lib_win\debug\DLL) so that you do not need to copy the DLLs each time they are changed. Do not forget to add both the debug and the release paths
- get Snoopy
This is work in Progress!!!
Build-Guide for Snoopy to compile under Mac OS X
-
download and install xcode, if you not already have
-
download and install eclipse, and select as your workspace "
/workspace", where "" means your home directory- If incremental build is not working anymore, check out this webpage.
-
download and install clion, and select as your workspace "
/workspace", where "" means your home directory -
wxWidgets
- download wxWidgets 1.* from wxWidgets Homepage and unpack it into "~/workspace"
- create a folder release
- go into release and run
../configure --disable-debug --enable-unicode --enable-shared --disable-static --enable-graphics_ctx --enable-std_iostreams --enable-std_string --enable-std_string_conv_in_wxstring --with-osx_cocoa --without-libjbig --without-liblzma --enable-macosx_arch=x86_64 --with-cxx=11 --disable-precomp-headers CC=cc CXX="c++ -std=c++11 -stdlib=libc++" LINK=cc LDFLAGS="-stdlib=libc++ -Wl,-install_name,@loader_path"
make && sudo make install - if you get an error during the build, check the following site
-
OGL
- get ogl
git clone https://github.com/PetriNuts/ogl.git - create a folder release
- go into release and run
../configure CC=cc CXX="c++ -std=c++11 -stdlib=libc++" LINK=cc LDFLAGS=-stdlib=libc++
make && sudo make install
- get ogl
-
freechart
- get freechart
git clone https://github.com/PetriNuts/freechart.git - create a folder release
- go into release and run
../configure CC=cc CXX="c++ -std=c++11 -stdlib=libc++" LINK=cc LDFLAGS=-stdlib=libc++
make && sudo make install
- get freechart
-
LibSBML
- download LibSBML and unpack it into "~/workspace"
- create a folder build
- go into build and run
cmake ..
make && sudo make install
-
OGDF
- download OGDF and unpack it into "~/workspace"
- create a folder build
- go into build and run
cmake ..
make && sudo make install
-
Irrklang
- download Irrklang and unpack it into "~/workspace"
- copy the header files to
/usr/local/include/and the lib to/usr/local/lib/
-
Boost
- download boost and unpack it into "~/workspace"
- open command line at $BOOST_ROOT and call
./bootstrap.sh
./b2 variant=release threading=multi architecture=x86 address-model=64 link=static cxxflags="-std=c++11 -stdlib=libc++" linkflags="-stdlib=libc++" toolset=clang
sudo ./b2 variant=release threading=multi architecture=x86 address-model=64 link=static cxxflags="-std=c++11 -stdlib=libc++" linkflags="-stdlib=libc++" toolset=clang install
-
Sundials
- clone SUNDIALS CVODE to "~/workspace" git clone https://github.com/LLNL/sundials.git
- create a folder build
- go into build and run
cmake ..
make && sudo make install
-
MPIR
- download MPIR and unpack it into "~/workspace"
- create a folder release
- go into release and run
../configure CC=cc CXX="c++ -std=c++11" LINK=cc
make && sudo make install
-
Gecode
- download Gecode and unpack it into "~/workspace"
- create a folder build
- go into build and run
cmake ..
make && sudo make install
-
dssd_util
- get dssd_util
git clone https://github.com/PetriNuts/dssd_util.git - create a folder build
- go into build and run
cmake ..
make && sudo make install
- get dssd_util
-
SPSA_SteeringAPI
- get SPSA_SteeringAPI
git clone https://github.com/PetriNuts/SPSA_SteeringAPI.git - open the project in eclipse
- build for Debug and Release
- get SPSA_SteeringAPI
-
SP_Simulator
- get SP_Simulator
git clone https://github.com/PetriNuts/SP_Simulator.git - open the project in eclipse
- build for Debug and Release
- get SP_Simulator
-
Snoopy
- get Snoopy
git clone https://github.com/PetriNuts/snoopy.git - open the project in eclipse or clion
- build for Debug and Release
- get Snoopy
You have got several options:
- Install GDB with MacPorts or Homebrew, as mentioned here or here.
- Use LLDB-MI from LLDB team; note that LLDB-MI does not come with the native LLDB on OS X, meaning you have to build LLDB your own with options to switch on the feature.
- Use third-party LLDB-MI2 (see the page for reasons why he needs another Machine Interface)
All of these three options require a lot of configuration and are error-prone.
This is work in Progress!!!
-
check whether "/usr/local/lib" is searched by "ldconfig", if not run as root
echo "/usr/local/lib" >> /etc/ld.so.conf.d/libc.conf
ldconfig -
download and install eclipse, and select as your workspace "
/workspace", where "" means your home directory- If incremental build is not working anymore, check out this webpage.
-
wxWidgets
- download wxWidgets 1.* from wxWidgets Homepage and unpack it into "~/workspace"
- create a folder release
- go into release and run
../configure --disable-debug --enable-unicode --enable-shared --disable-static --enable-graphics_ctx --enable-std_iostreams --enable-std_string --enable-std_string_conv_in_wxstring --without-libjbig --without-liblzma --with-cxx=11 --disable-precomp-headers CC=cc CXX=c++ LINK=cc
make && sudo make install - if you get an error during the build, check the following site
-
OGL
- get ogl
git clone https://github.com/PetriNuts/ogl.git - create a folder release
- go into release and run
../configure CC=cc CXX="c++ -std=c++11" LINK=cc
make && sudo make install
- get ogl
-
freechart
- get freechart
git clone https://github.com/PetriNuts/freechart.git - create a folder release
- go into release and run
../configure CC=cc CXX="c++ -std=c++11" LINK=cc
make && sudo make install
- get freechart
-
LibSBML
- download LibSBML and unpack it into "~/workspace"
- create a folder build
- go into build and run
cmake ..
make && sudo make install
-
OGDF
- download OGDF and unpack it into "~/workspace"
- create a folder build
- go into build and run
cmake ..
make && sudo make install
-
Irrklang
- download Irrklang and unpack it into "~/workspace"
- copy the header files to
/usr/local/include/and the lib to/usr/local/lib/
-
Boost
- download boost and unpack it into "~/workspace"
- open command line at $BOOST_ROOT and call
./bootstrap.sh
./b2 variant=release threading=multi architecture=x86 address-model=64 link=static cxxflags="-std=c++11 -stdlib=libc++" linkflags="-stdlib=libc++" toolset=clang
sudo ./b2 variant=release threading=multi architecture=x86 address-model=64 link=static cxxflags="-std=c++11 -stdlib=libc++" linkflags="-stdlib=libc++" toolset=clang install
-
Sundials
- download sundials and unpack it into "~/workspace"
- create a folder build
- go into build and run
cmake ..
make && sudo make install
-
MPIR
- download MPIR and unpack it into "~/workspace"
- create a folder release
- go into release and run
../configure CC=cc CXX="c++ -std=c++11" LINK=cc
make && sudo make install
-
Gecode
- download Gecode and unpack it into "~/workspace"
- create a folder build
- go into build and run
cmake ..
make && sudo make install
-
dssd_util
- get dssd_util
git clone https://github.com/PetriNuts/dssd_util.git - create a folder build
- go into build and run
cmake ..
make && sudo make install
- get dssd_util
-
SPSA_SteeringAPI
- get SPSA_SteeringAPI
git clone https://github.com/PetriNuts/SPSA_SteeringAPI.git - open the project in eclipse
- build for Debug and Release
- get SPSA_SteeringAPI
-
SP_Simulator
- get SP_Simulator
git clone https://github.com/PetriNuts/SP_Simulator.git - open the project in eclipse
- build for Debug and Release
- get SP_Simulator
-
Snoopy
- get Snoopy
git clone https://github.com/PetriNuts/snoopy.git - open the project in eclipse or clion
- build for Debug and Release
- get Snoopy