Pages: [1]   Go Down
Author Topic: processing-arduino-0017 broken in Ubuntu  (Read 948 times)
0 Members and 1 Guest are viewing this topic.
0
Offline Offline
Newbie
*
Karma: 0
Posts: 5
Arduino rocks
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

After much puzzling over the error 'The package "cc" does not exist' I finally figured out that processing-arduino-0017, the only one listed for download here, simply doesn't work in Ubuntu (9.10 or 9.04). Preliminary testing suggests that the previous version of the library works okay, but to find a download link I had to look at the history of the Interface/Processing page!

This has been a problem for at least a few weeks - I'm puzzled that I seem to be the first to report it?

 - Oolong
Logged

Forum Administrator
Cambridge, MA
Offline Offline
Faraday Member
*****
Karma: 11
Posts: 3538
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

What if you rename Arduino.jar to arduino.jar?  Or perhaps there's another case problem somewhere?
Logged

0
Offline Offline
Newbie
*
Karma: 0
Posts: 5
Arduino rocks
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

I did try renaming the file, to no avail. Nothing worked short of using the older version of the library.
Logged

0
Offline Offline
Newbie
*
Karma: 0
Posts: 2
Arduino rocks
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Same problem here. Tried SO many combinations... But, I'm not using ubuntu (or don't think I am...)

Will try the older library.

Ok. Tried that. No luck. Anyone solve this?

I've tried
[username]/documents/processing/sketchbook/library/arduino/arduino.jar
[username]/documents/processing/library/arduino/arduino.jar
[username]/documents/processing/sketchbook/arduino.jar
[username]/documents/processing/library/arduino.jar
[username]/documents/processing/sketchbook/library/arduino/arduino.jar

And soforth. No luck.

Also, I notice that this library is INCLUDED in the standard Processing package: http://processing.org/reference/libraries/

So why do I have to hurt?

[update]
So. I GOT IT WORKING FINALLY!!!!

How? Forget about directories. I kept trying different combinations, caps, versions, etc. No luck. I noticed that I couldn't see the arduino library in "Sketch -> Import Library" (again, even though supposedly this library comes installed with Processing). Beneath that menu choice there's an "add file". I browsed to the latest arduino.jar, and that did the trick. Did this move the file somewhere? Dunno..

Cj
« Last Edit: March 31, 2010, 04:04:28 pm by seej » Logged

0
Offline Offline
Newbie
*
Karma: 0
Posts: 5
Arduino rocks
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Doesn't sound like quite the same problem, given you're not in Ubuntu, but in any case...

One other thing to try - isn't the library supposed to be in the libraries subdirectory of the sketchbook? All your examples show the singular form! Good that you got it working anyway, but even better if you can get to the root cause of it...
Logged

0
Offline Offline
Newbie
*
Karma: 0
Posts: 2
Arduino rocks
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

I'll check that as well. What's weird is, when I add it, does this get moved to a different location or something? I did a search for the library post-import, to see if the file was copied somewhere; giving clue to my path issue. But, no luck that route either.

Cj
Logged

0
Offline Offline
Newbie
*
Karma: 0
Posts: 4
Arduino rocks
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Hi.

I had the same problem in Mac OSX and solved by renaming the folder  "~/Documents/Processing/libraries/arduino 2" to ".../arduino". That is why it was not found by the import statement.

When you add the Arduino.jar file it gets copied to the sketch folder then it is readily found by the import statement.

Hope it helps in other systems.
« Last Edit: April 06, 2010, 07:18:46 pm by ercolino » Logged

Philadelphia, PA
Offline Offline
Newbie
*
Karma: 0
Posts: 19
Arduino rocks
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

This is slightly off topic, but I got the Arduino library to work in Processing using seej's method. So the first thing I did was load the arduino_output example, which allows control of the Arduino through Proccessing. It worked as expected. My question though, is why doesn't it work when I export it as an applet for a browser? I asked this quested about a year ago on the Processing forum, but nobody really had an answer.
« Last Edit: May 01, 2010, 09:52:57 pm by dtoliaferro » Logged

0
Offline Offline
Newbie
*
Karma: 0
Posts: 1
Arduino rocks
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

I got the arduino library running with the hint from mellis. I renamed Arduino.jar to arduino.jar in mysketchesfolder/libraries/arduino/library/ and restarted processing.

Thanks for the help,
David
Logged

Pages: [1]   Go Up
Jump to: