Help with 'width' is a protected member of 'ofImage_<unsigned char>'


Hello !! Im learning with the Mastering Openframeworks BOOK.
doing the excersice number 5 "video Synthesizer " and i got this error ‘width’ is a protected member of ‘ofImage_’
in the line …

grabber.draw( image.width + 10, 0, 320, 240 );

somebody can helpme please???


just use getWidth() instead


HI ARTURO thankyou for you repply

doesn’t work yet



did you know whats happening ??




but now i lonly see the camera view and not the video synth …