Skip to content

Commit

Permalink
Merge pull request WatershedArts#89 from prastut/patch-6
Browse files Browse the repository at this point in the history
Updated Troubleshooting.md
  • Loading branch information
DHaylock authored Apr 17, 2017
2 parents 39f06e9 + 3315e1f commit fcd9b43
Showing 1 changed file with 28 additions and 11 deletions.
39 changes: 28 additions & 11 deletions docs/troubleshooting.md
Original file line number Diff line number Diff line change
@@ -1,27 +1,44 @@
#Troubleshooting
# Troubleshooting

Here are a couple of common issues and how to solve them.

-
###Issue 1: ofxCvPiCam

### Issue 1: ofxCvPiCam

If you run into compiler errors with the [ofxCVPiCam](https://github.com/orgicus/ofxCvPiCam/) library on RPi2. Its because the MMAL Libraries have changed slightly.

You can resolve these issues by following [this guide] (https://github.com/orgicus/ofxCvPiCam/issues/3). Or for the short version just rename the libs folder in the ofxCvPiCam folder.

<pre>
```
cd ~/openFrameworks/addons/ofxCvPiCam/
mv libs old-libs
</pre>
```

### Issue 2: ofxCv

There are some issues with ofxCv and later versions of openFrameworks. You can resolve these issues by checking out a different branch of the repo.

* First remove the current installation of ofxCv:
```
cd ~/openFrameworks/addons
sudo rm -r ofxCv
```
* Clone a fresh copy of ofxCv

```
git clone https://github.com/kylemcdonald/ofxCv.git
```
* Checkout branch according to oF version:
* oF version < 0.9.8, checkout the VS2012-static branch.
* oF version = 0.9.8, checkout stable.

-
###Issue 2: ofxCv

There are some issues with ofxCv and later versions of openFrameworks.
### Issue 3: glm:: errors in compile

You can resolve these issues by checking out a different branch of the repo.
Using oF 0.9.8 version's stable branch will negate the glm:: errors. If you were following oF's download guide previously, please remove the `opensourceFrameworks` folder as this is a fresh installation of oF.

If you have a version of oF which is less than 0.9.8, checkout the VS2012-static branch.
```
git clone -b stable --single-branch https://github.com/openframeworks/openFrameworks.git
```

Otherwise use the origin/stable branch.
Follow the same instructions of building and compiling oF. No need to install dependencies for oF again if you had previously installed oF. Then follow the instructions the [same instructions to build Footfall](https://github.com/WatershedArts/Footfall/blob/master/docs/rpi.md).

0 comments on commit fcd9b43

Please sign in to comment.