Skip to content

Build Notes

Michael Tryby edited this page Jan 5, 2021 · 1 revision

Build

  1. Initialize submodule
git submodule init
git submodule update 
  1. Create virtual environment
  2. pip install from requirements.txt
  3. python setup.py build

Troubleshoot

Steps to try if python setup.py build fails

Establish working swmm-solver build

  1. Create an environment variable BOOST_ROOT_1_67_0 and set the variable to boost install location
  2. Confirm swmm-solver directory is initialized
  3. Confirm swmm-solver build is working
cd swmm-solver 
mkdir buildprod
cd buildprod
cmake -G "Visual Studio 14 2015 Win64" ..
cmake --build . --config Release --target install 
Clone this wiki locally