I am loading an image in an external class, outside testApp.mm and it doesn’t work. Someone found how to properly load the images on an other post, using a function instead of the constructor. But I am still unable to draw the images. My code works well on the of OSX release.
I have a class ImagesManager and inside this class I load several images in an array when initialized. I have a function too, showImage(int i) that draw one image according to an index.
I my testApp.mm in the setup, I have:
and then, in draw:
and my console shows:
[ error ] ofImage: loadImage(): couldn’t load image from “…”
[warning] ofGLRenderer: drawing an unallocated texture
Works well on the OF OSX but not on OF IOS