Build sketch with command line in Ubuntu
in
Integration and Hardware
•
10 months ago
Hello, I tried to build sketch in command line, but just keep getting errors..
with command:
- ./processing-java --sketch=/home/ian/Documents/sketch/test --output=/home/ian/Documents/sketch/tmp --force --run
I get the output:
- readlink: unrecognized option '--sketch'
- Try `readlink --help' for more information.
- Command line edition for Processing 0215 (Java Mode)
- --help Show this help text. Congratulations.
- --sketch=<name> Specify the sketch folder (required)
- --output=<name> Specify the output folder (required and
- cannot be the same as the sketch folder.)
- --force The sketch will not build if the output
- folder already exists, because the contents
- will be replaced. This option erases the
- folder first. Use with extreme caution!
- --build Preprocess and compile a sketch into .class files.
- --run Preprocess, compile, and run a sketch.
- --present Preprocess, compile, and run a sketch full screen.
- --export Export an application.
- --platform Specify the platform (export to application only).
- Should be one of 'windows', 'macosx', or 'linux'.
- --bits Must be specified if libraries are used that are
- 32- or 64-bit specific such as the OpenGL library.
- Otherwise specify 0 or leave it out.
- I don't know anything about --sketch.
Here is my platform:
OS: Ubuntu 12.04 LTS
Processing: 2.0 beta 7
Java: version "1.7.0_10"
I tried with the included java and java downloaded from oracle's site, all get the same error message.
Any reply would be appreciated!
1