[英]eclipse c++ function defined in header could not be resolved
我正在尝试编译C ++程序,但出现错误
Function 'Argument' could not be resolved ...... Semantic Error
但是Argument
是在我已经包含在项目中的app.h
中定义的。
我已经通过转到Project > Properties > C/C++ General > Paths and Symbols > Includes
来包含头文件。 在GNU C++
单击Add
,然后单击File System
并放置File System
的路径。
我不知道为什么会收到此错误。
给我一个错误的行是:
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[]
解决方案:关闭项目并重新打开它可以解决问题......
解决方案:关闭项目并重新打开它可以解决问题......
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.