Permalink
Browse files

Added glue library instructions.

Added instructions on how to compile and install the native glue library.
  • Loading branch information...
1 parent 1df7514 commit 343959c9d390875f32da9cc195f85fe90695900d @jbromley jbromley committed Mar 4, 2011
Showing with 6 additions and 2 deletions.
  1. +6 −2 README.md
View
8 README.md
@@ -29,14 +29,18 @@ and software versions, please let me know.
1. Install OpenCV from MacPorts: `port install opencv`
2. Install libffi from MacPorts: `port install libffi`
3. In your lisp environment, make sure that cffi is available. In
- Quicklisp you would just do `(ql:quickload "cffi")`.
+ Quicklisp you would just do `(ql:quickload "cffi")`.
+ 4. Run `make` and `sudo make install` in the top-level directory to
+ build and install the glue code library.
### Ubuntu ###
1. Install OpenCV from the repos: `sudo apt-get install libhighgui-dev`.
2. Install libffi from the repos: `sudo apt-get install libffi`
3. In your lisp environment, make sure that cffi is available. In
Quicklisp you would just do `(ql:quickload "cffi")`.
+ 4. Run `make` and `sudo make install` in the top-level directory to
+ build and install the glue code library.
## Troubleshooting ##
@@ -50,6 +54,6 @@ If CFFI has problems loading the library, be sure that:
adding that path to `cffi:*foreign-library-directories*`.
Different camera support different resolutions and framerates. The
-tests assume a camera capable of about 30fps at 640x480. Adjust the
+tests assume a camera capable of about 30 fps at 640x480. Adjust the
values at the top of test.lisp to match your camera. A program like
VLC can help you determine those.

0 comments on commit 343959c

Please sign in to comment.