Newer
Older
- [Git](https://git-scm.com/)
- [cmake](https://cmake.org/) (version >= 3.0)
- [Boost](https://www.boost.org/)
- [exprtk](http://www.partow.net/programming/exprtk/)
To save you from some inconveniences we provide the dependencies [Boost](https://www.boost.org/), [exprtk](http://www.partow.net/programming/exprtk/) locally with our distribution. However, you are free to install those on your own and then provide our building tool with relevant paths to your own installations
- [Visual Studio](https://visualstudio.microsoft.com/) (install together with `cl` (check C++ options during installation) and `SDK`!)
#### Linux (Debian-based)
- Install package `libboost-all-dev`
Martin Beseda
committed
- Set `EXPRTK_INCLUDE_DIR` environmental variable to the path of your `exprtk` folder
Martin Beseda
committed
```
export EXPRTK_INCLUDE_DIR="path to the exprtk folder"
```
or alternativelly download the sources of [Boost](https://www.boost.org/) and [exprtk](http://www.partow.net/programming/exprtk/) via the `download_dependencies.sh` script located in the `lib4Neuro/build_scripts/linux` folder. Those will then be used automatically during the compilation of `lib4neuro` library
- Go to the `lib4Neuro` folder
- In the file `build.sh` set correctly variables `BUILD_TYPE`, `CXX_COMPILER` and `C_COMPILER`
- Run the Visual Studio Command Prompt (Start Menu -> Visual Studio *** -> Developer Command Prompt)
and go to the `lib4Neuro` folder
- If you have [Boost](https://www.boost.org/) already installed, set `BOOST_ROOT` environmental variable to the path of your folder containing `Boost`
Martin Beseda
committed
1. In Search, search for and then select: System (Control Panel)
2. Click the Advanced system settings link.
3. Click Environment Variables.
4. In the New System Variable window, specify the value of the `BOOST_ROOT` environment variable
- If you have [exprtk](http://www.partow.net/programming/exprtk/) already downloaded, set `EXPRTK_INCLUDE_DIR` environmental variable to the path of your `exprtk` folder
- Alternativelly, if you want to avoid the hassle with downloading the dependencies yourselves, run `build_scripts/windows/win_download_dependencies.bat` which downloads the [Boost](https://www.boost.org/) and [exprtk](http://www.partow.net/programming/exprtk/) dependencies and stores them in the `external_dependencies` folder
- In the file `build.bat` set correctly variables `BUILD_TYPE`, `CXX_COMPILER` and `C_COMPILER`, by default the build type is `Debug` and MSVC compiler is set