Skip to content

Instantly share code, notes, and snippets.

@WimRoose
Last active October 27, 2015 20:52
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save WimRoose/d91008cef2757bb148d1 to your computer and use it in GitHub Desktop.
Save WimRoose/d91008cef2757bb148d1 to your computer and use it in GitHub Desktop.
ofxPhoto raspberry pi
> 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