Skip to content

Installation

mailmindlin edited this page Jun 7, 2017 · 3 revisions

Linux

First, you need to download the code. To do this, run

$ git clone https://github.com/mailmindlin/v4l4j.git

Use cd v4l4j to enter the directory that you downloaded the code into. To build, run

$ ./clean.sh

This should build and install everything. You should see the v4l4j jar at v4l4j.jar. If you want to run ant manually, build with

$ ant clean all install

Building v4l4j shouldn't take too long; one or two minutes on a Raspberry Pi is about average. If you want v4l4j to be more portable (not require installation on every platform you want to run it on), compile it instead with:

$ ant clean compile jnilib include-jni jar install

(Although, cross-platform support is still shot.)


After this, read Getting Started.

Clone this wiki locally