jashkenas / ruby-processing

Code as Art, Art as Code. Processing and Ruby are meant for each other.
http://github.com/jashkenas/ruby-processing/wikis
Other
1.28k stars 94 forks source link

Export of sketches that use vecmath libraries not working #109

Closed monkstone closed 9 years ago

monkstone commented 9 years ago

It is path thing, that can be got round with a hack. The hack is to:-

  1. create a lib folder in the lib/library folder of the exported app
  2. to move rpextras.jar to that folder
  3. to edit the vecmath.rb to `require_relative 'lib/rpextras'
monkstone commented 9 years ago

Vexing to fix, if vecmath was in core it would be a non-issue, added annotation to vecmath.rb describing hack.

monkstone commented 9 years ago

Seems to be fixed by using RP5_ROOT for absolute require of rpextras.jar