Skip to content

Commit

Permalink
Update speech-install.md
Browse files Browse the repository at this point in the history
Adding additional instructions to avoid errors with  speechRecognition.py
  • Loading branch information
Raúl de Santos authored Jul 5, 2017
1 parent cc85d90 commit 45b7244
Showing 1 changed file with 12 additions and 1 deletion.
13 changes: 12 additions & 1 deletion doc/speech-install.md
Original file line number Diff line number Diff line change
Expand Up @@ -24,5 +24,16 @@ You may want to (from the same build dir):
```bash
echo "export ROBOTICSLAB_SPEECH_DIR=`pwd`" >> ~/.bashrc
```

For additional SPEECH options use `ccmake` instead of `cmake`.

**Note:** `speechRecognition.py` is written in python and uses YARP. YARP is written in C++, so to use all the features of YARP in a program written in a different language, you have to use SWIG and configure YARP for this point:
```bash
sudo apt-get install swig
cd
cd repos/yarp/build # go to your YARP build path
cmake .. -DYARP_COMPILE_BINDINGS=ON -DCREATE_PYTHON=ON #configuring YARP to be used in python programs
make -j$(nproc) # Compile
sudo make install # Install :-)
```


0 comments on commit 45b7244

Please sign in to comment.