Commit 389d5190 authored by Martin Beseda's avatar Martin Beseda

FIX: Added information to README and improved error message in Findexprtk.cmake

parent 1eb2cd08
......@@ -38,7 +38,7 @@ IF(EXPRTK_FOUND)
# Include dirs
SET(EXPRTK_INCLUDE_DIRS ${EXPRTK_INCLUDE_DIR})
ELSE()
MESSAGE(FATAL_ERROR "Set, please, the variable EXPRTK_INCLUDE_DIR to the folder, where 'exprtk.hpp' is located..")
MESSAGE(FATAL_ERROR "Set, please, the environmental variable EXPRTK_INCLUDE_DIR to the folder, where 'exprtk.hpp' is located...")
ENDIF(EXPRTK_FOUND)
# Advanced options for not cluttering the cmake UIs:
......
......@@ -29,6 +29,13 @@
```
sudo apt-get install libboost-all-dev
```
- set `EXPRTK_INCLUDE_DIR` environmental variable to the path of your `exprtk` folder
```
export EXPRTK_INCLUDE_DIR="path to the exprtk folder"
```
- Go to the `lib4Neuro` folder and run
```
......@@ -45,11 +52,14 @@
bootstrap.bat
b2.exe --build-type=complete
```
- set `BOOST_ROOT` variable to the path of your folder containing `Boost`
- set `BOOST_ROOT` environmental variable to the path of your folder containing `Boost`
```
setx BOOST_ROOT "path to your Boost folder"
```
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
- set `EXPRTK_INCLUDE_DIR` environmental variable to the path of your `exprtk` folder
- go to the `lib4neuro` folder and run
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment