Wraps SANE scanner library for interfacing with data from scanner hardware (e.g. flatbed document scanners).
Original code by Kyle McDonald.
Some amends by Elliot Woods.
ofxSane code published under MIT license.
Per project you need to:
- Drag and drop the contents of
ofxSane/srcinto your project
Header Search Pathsproject property.
The example should work out of the box on OSX. But if not, then try the following:
- Clone the GitHub http://git.debian.org/git/sane/sane-backends.git to somewhere on your hard drive
git clone http://git.debian.org/git/sane/sane-backends.git
- Using terminal, go inside the repo, and then into the
CC="gcc -m32" ./configure, hit enter.
make -j8, hit enter.
sudo make install, hit enter.
- Enter your system password
This should install
libsane.1.dylib and folder
/usr/local/lib. Drag and drop both of these into your project.