We closed this forum 18 June 2010. It has served us well since 2005 as the ALPHA forum did before it from 2002 to 2005. New discussions are ongoing at the new URL http://forum.processing.org. You'll need to sign up and get a new user account. We're sorry about that inconvenience, but we think it's better in the long run. The content on this forum will remain online.
Page Index Toggle Pages: 1
Re: webcam images moving around (Read 795 times)
Re: webcam images moving around
Apr 12th, 2010, 7:25am
 
Quote:
// at the top
final int numCams = 1;

// later in your program :
numCams[ i ]++;


Indeed the compiler expects numCams to be an array, as you explicitely try to increase a member of the array. But you declared numCams as an integer. That's why you have the error.
Page Index Toggle Pages: 1