12

--

Herp McDerpington III

Figured out how to build on Windows.

There's no Tools > Install processing java for Windows. However with the Windows processing package, you downloaded processing-java.exe. You already have it but Sublime Text 2 doesn't know to point to it yet. Hitting build will say something like missing file as a result.

Within Sublime Text 2:

Tool > Build System > New Build System

Paste this:

{
"shell":true,
"path": "$file_path//temp",
"cmd":[
"C://Windows//System32//taskkill.exe",
"-f",
"-im",
"java.exe",
"&",
"C://Program Files//Processing//processing-java.exe",
"--sketch=$file_path",
"--output=$file_path/build",
"--force",
"--build",
"--run"
]
}

You may have installed (dropped) the processing zip contents somewhere other than "C://Program Files//Processing//processing-java.exe" - edit it accordingly.

"java.exe" points to the JDK executable. Download and install the JDK if you don't have it already. Mine was located at "C:\Program Files\Java\jdk1.7.0_05\java.exe". If you just paste that file path into the sublime build file, it'll think the backslashes are escape characters (damn you Windows!). For whatever other reason, replacing backslashes ("\") with double foreward slashes ("//") like the processing-java.exe line didn't work for me. I cheated and created a shortcut to "C:\Program Files\Java\jdk1.7.0_05\java.exe", named the shortcut "java.exe" and dropped it into the sublime build folder. Hit save as with your .sublime-build file and it will bring up that directory. It's in your roaming appdata folder. Drop the java.exe shortcut there and the relative path to "java.exe" is now valid.

Save your .sublime-build file as something unique and somewhat intelligent like "windows-processing.sublime-build". Return to your build.pde file and go Tools > Build System > windows-processing. *Now* you can hit ctrl + B (or ctrl + R if you followed Josh's shortkey steps) and it will build the processing file and show you the glorious orange box.

=========================================================================

Found some cool native abstract motifs:

http://www.flickriver.com/photos/bibliodyssey/sets/72157624539734235/

I'm also a big fan of Balinese demon masks

https://www.merchline.com/palehorse/categorydisplay.5498.c.htm

Comments

Please sign in or sign up to comment.