you just need to add a &
before the variable since the ofAddListener function expects a pointer, like:
ofAddListener(saveButton.clickevent, &myvideo, &VideoClass::saveImage);
you just need to add a &
before the variable since the ofAddListener function expects a pointer, like:
ofAddListener(saveButton.clickevent, &myvideo, &VideoClass::saveImage);