Bug 1440 : export application including video capture broken in snowleopard?
Last modified: 2010-03-29 13:17




Status:
RESOLVED
Resolution:
FIXED -
Priority:
P2
Severity:
normal

 

Reporter:
bene
Assigned To:
fry

Attachment Type Created Size Actions

Description:   Opened: 2010-01-22 01:48
hi,

every exported application including video capture doesn't run at all, if
the export was done in snowleopard (10.6.2). even the GettingStartedCapture
example doesn't work. very strange because in the ide everything works as
expected. plus the export application works without a problem in 10.5.

please confirm.

thanks benedikt

Getting Started with Capture.

import processing.video.*;
Capture cam;

void setup() {
size(640, 480);
cam = new Capture(this, 320, 240);
}
void draw() {
if (cam.available() == true) {
cam.read();
image(cam, 160, 100);
}
}
Additional Comment #1 From fry 2010-01-22 03:52
After exporting, click the .app file in the Finder, choose "File -> Get
Info", and check the box for "Open in 32-bit mode". That will fix things.

Apple makes Java applications default to 64-bit on Snow Leopard, and they
haven't made a 64-bit version of QuickTime for Java.
Additional Comment #2 From fry 2010-03-29 13:17
this has been fixed in recent processing releases (1.1 should do the trick)
so that it's no longer necessary to do anything additional to an exported app.