Skip to content

Compilation

Jeremy Laviole edited this page Apr 21, 2017 · 6 revisions

Notes on development

The development is now public (since September 2016), the source code is located available here: https://github.com/poqudrof/PapARt .

Compilation

Dependencies

You need to install a few dependencies: Java8 JDK (sun recommanded), and Maven.

For the latest version, the latest javacpp, javacpp-presets, and javacv versions must be compiled.

  • JavaCPP: just download and install it: mvn install
  • JavaCPP-presets: compile with: mvn install --projects .,librealsense,libfreenect,libfreenect2,opencv,ffmpeg,artoolkitplus,libdc1394,flandmark. You also need CMake and numpy for OpenCV, yasm for FFMPEG.
  • JavaCV: compile with: mvn install -Djavacpp.platform=linux-x86_64 (in progress).
  • SVGExtended: mvn install.

Download the library:

In the downloaded folder, go to the papart folder and compile it:

$ cd papart/papart
$ mvn install
$ cd ..
$ ./createRedist.sh

Note: you must be connected to internet to compile the project. Maven fetches dependencies online. If it fails, please file an issue.

Run in Processing

For each library, it will create a name.tar.gz archive which you can unpack to your sketchbook/libraries folder.

You must also download and install the dependencies to run the PapARt examples.

TODO:

  • Publish SVGExtended to Maven central or clojars.
  • Migrate to a new continous integration service.