Processing 3.3.5 / Capture.list() not working / Error: Type String[] of the last argument to meth...

edited July 2017 in Library Questions

hi,

I try to connect my sony alpha a57 camera with proessing. But I already have problems displaying the Capturelist (),

I put as code

import processing.video.*;

Capture cam;

void setup(){ println( Capture.list() ); }

But my error is : Type String[] of the last argument to method(object) doesn't exactly match the vararg parameter type. Cast to Object[] to confirm the non-varargs invocation, or pass individual arguments of type object for a varargs invocation

I also try this :

import processing.video.*;

Capture cam;

void setup(){ println( Capture.list() ); println((Object[])Capture.list()); }

With this i don't have error but, dosen't work. I work with Mac book pro / Sierra 10.12.5

Tagged:

Answers

Sign In or Register to comment.