无法解析头中定义的eclipse c ++函数 [英] eclipse c++ function defined in header could not be resolved
问题描述
我试图编译一个c ++程序,但是,我得到错误
I am trying to compile a c++ program however, I am getting the error
Function 'Argument' could not be resolved ...... Semantic Error
但参数$ c $
However Argument
is defined in app.h
which I have included in the project.
我已经在头文件中包含了 app.h
通过转到 Project>属性> C / C ++ General>路径和符号>包括
。在 GNU C ++
下单击添加
,然后文件系统
在文件的路径。
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.
:
ARGUMENTS = {
Argument ("input", "input image", "the input image.").type_image_in (),
Argument ("ouput", "output image", "the output image.").type_image_out (),
Argument::End
};
和'app.h':
#define ARGUMENTS const MR::Argument __command_arguments[]
解决方案:
关闭项目并重新打开它解决了问题......
SOLUTION: Closing the project and reopening it solved the problem......
推荐答案
解决方案:该项目又重开了它解决了问题......
SOLUTION: Closing the project and reopening it solved the problem......
这篇关于无法解析头中定义的eclipse c ++函数的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!