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


#1

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???


#2

just use getWidth() instead


#3

HI ARTURO thankyou for you repply

doesn’t work yet


#4


#5

did you know whats happening ??


#6

GOT IT


#7

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