Skip to content

Commit 2c213d9

Browse files
committed
update docs
Signed-off-by: Andrey Parfenov <a1994ndrey@gmail.com>
1 parent 2f66fbd commit 2c213d9

File tree

1 file changed

+4
-5
lines changed

1 file changed

+4
-5
lines changed

docs/BrainFlowDev.rst

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -72,21 +72,20 @@ Since bindings just call methods from dynamic libraries, more likely errors occu
7272

7373
Steps to get more information about errors in C++ code:
7474

75-
- build BrainFlow's core module and C++ binding in debug mode. In files like tools/build_linux.sh default config is Release, so you need to change it to Debug
75+
- build BrainFlow's core module and C++ binding in debug mode
7676
- reproduce your issue using C++ binding
7777
- run it with debuger and memory checker
7878

79-
Example for Linux(for MacOS it's the same)::
79+
Example for Linux, for other OSes it's similar::
8080

81-
vim tools/build_linux.sh
8281
# Change build type to Debug
83-
bash tools/build_linux.sh
82+
python3 tools/build.py --debug --clear-build-dir --num-jobs 8
8483
# Create a test to reproduce your issue in C++, here we will use get_data_demo
8584
cd tests/cpp/get_data_demo
8685
mkdir build
8786
cd build
8887
cmake -DCMAKE_PREFIX_PATH=TYPE_FULL_PATH_TO_BRAINFLOW_INSTALLED_FOLDER -DCMAKE_BUILD_TYPE=Debug ..
89-
# e.g. cmake -DCMAKE_PREFIX_PATH=/home/andrey/brainflow/installed_linux -DCMAKE_BUILD_TYPE=Debug ..
88+
# e.g. cmake -DCMAKE_PREFIX_PATH=/home/andrey/brainflow/installed -DCMAKE_BUILD_TYPE=Debug ..
9089
make
9190
# Run Valgrind to check memory errors
9291
# Here we use command line for Ganglion

0 commit comments

Comments
 (0)