Last active
October 27, 2015 20:52
-
-
Save WimRoose/d91008cef2757bb148d1 to your computer and use it in GitHub Desktop.
ofxPhoto raspberry pi
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
> Compile most recent git of libgphoto2 | |
(-> git clone https://github.com/gphoto/libgphoto2 | |
apt-get install libtool | |
volg instructies op https://github.com/gphoto/libgphoto2/blob/master/INSTALL | |
> Update ofxPhoto voor openframeworks 0.8.4 en libgphoto | |
git clone https://github.com/benben/ofxPhoto.git | |
// verwijder bestaande lib | |
rm -Rf of0.8.4/addons/ofxPhoto/libs/libgphoto2/lib/linux/* | |
rm -Rf of0.8.4/addons/ofxPhoto/libs/libgphoto2/include/* | |
// kopieer nieuw gecompileerde lib | |
Alles onder /usr/local/lib (behalve python) -> lib/linux | |
Alles onder /usr/local/include/gphoto2/* -> include | |
-> Behoud config.make van photoexample, maar overschrijf makefile met standaard meegeleverde makefile v ander project | |
-> verwijder glut dinges uit main.cpp (of overschrijf met main van ander project) | |
-> sudo apt-get install libexif-dev | |
-> sudo apt-get install libusb-dev libusb-1.0-0-dev | |
-> sudo ldconfig (om nieuwe lib te herkennen) | |
-> make && make run | |
-> juich | |
## oxMMAl voor live beelden raspberry |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment