I've created stub implementations for cvFlip
and cvSaveImage
methods and project compiled without any errors. Netbeans displays Bad operand
error message anyway, though. It looks like a bug in IDE itself.
Workaround: I've noticed that IplImage
class derives from com.googlecode.javacpp.Pointer
which is not visible to Netbeans. Adding javacpp to project libraries helped to remove the error message.