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