openFrameworks icon indicating copy to clipboard operation
openFrameworks copied to clipboard

warning about ofImage

Open bensam00 opened this issue 7 years ago • 3 comments

I'm using debian and i got this warning

ofImage img;

img.allocate(ofGetWidth(), ofGetHeight(), OF_IMAGE_GRAYSCALE);

warning: instantiation of function 'ofImage_::allocate' required here, but no definition is available

i tried to look around but no solution i could found

bensam00 avatar Jan 03 '19 21:01 bensam00

What version of oF are you using with what version of Debian? Basically, what are the steps to reproduce this?

kyeshmz avatar Jan 09 '19 02:01 kyeshmz

i'm using debian VERSION="9 (stretch)" with Qt creator version 4.8.0 and OF v0.10.1 linux64 gcc6 release the steps exactly what i wrote above simple as that

bensam00 avatar Jan 11 '19 17:01 bensam00

Same here with QtCreator 4.9.0 and OF from master. I open the imageSubsectionExample and the lines starting with img. in the cpp file show that same warning.

hamoid avatar May 03 '19 09:05 hamoid