-
Couldn't load subscription status.
- Fork 89
How to build latest version
Installed vanilla processing-2.2.1
Installed jruby (preferably 1.7.22)
jdk-1.7+
ruby-compiler gem
ideally wget
-
Clone this repo. Unless already configured, set processing root in .rp5rc (easy set using
configRP5.pde, which is included in the samples directory). Required to enable auto-copy of core.jar to lib (for compiling), and for testing (assumes installed jruby, required for compiling).
-
cd ruby-processing -
rakebuilds extension, builds the gem and runs tests -
gem install ruby-processing-2.6.12.gem -
rp5 setup checkpre-install (run again after) -
rp5 setup installto download and install jruby-complete-1.7.22also creates ~/.rp5rc (if it doesn't exist, and sets PROCESSING_ROOT to best guess)
-
From home directory
rp5 setup unpack_samples -
cd rp_samples -
rakeruns the contributed samples in a random order -
rake shaderto run shader samples -
rake vecmathruns vecmath/vec2d examples -
Should you wish to run the spec tests, they need to be run using jruby so
jruby -S rspec deglut_spec.rbfor example