I am trying to use the npp::ImageCPU_8u_C4 and npp::ImageNPP_8u_C4 classes defined in the SDK samples, but I have problems when I try including ImagesCPU.h and ImagesNPP.h in separate cpp files, they eventually include the file UtilNPP/image.h which declares the == and != operators in the .h file, so when I try to link, I get an error stating that the operators are being defined twice. There are similar problems associated with the Exception defined for this class.
I have been able to work around the problem in a kludgy fashion but now I am writing a test project to complement my code and I want to solve this “the right way”.
I am running NSight Eclipse under Ubuntu 11.
Thanks for any help.