I am trying to compile a c++ program however, I am getting the error
Function 'Argument' could not be resolved ...... Semantic Error
However Argument
is defined in app.h
which I have included in the project.
I have included the header files by going to Project > Properties > C/C++ General > Paths and Symbols > Includes
. Under GNU C++
Clicking Add
, then File System
and putting in the path to the files.
I can't figure out why I am getting this error.
The line giving me an error is:
ARGUMENTS = {
Argument ("input", "input image", "the input image.").type_image_in (),
Argument ("ouput", "output image", "the output image.").type_image_out (),
Argument::End
};
and in 'app.h':
#define ARGUMENTS const MR::Argument __command_arguments[]
SOLUTION: Closing the project and reopening it solved the problem......