Netbeans 7.2显示“无法解析标识符” ,虽然构建成功 [英] Netbeans 7.2 shows "Unable to resolve identifier" , although build is successful

查看:657
本文介绍了Netbeans 7.2显示“无法解析标识符” ,虽然构建成功的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我使用 netbeans IDE 7.2 C / C + +插件(上一个版本1.18.1.1)和
如果我建立我的项目一切都很好但是IDE显示错误(例如无法解析标识符...)



任何人都有这个错误,我该如何解决?

$ b $

解决方案

这里是我对另一个问题的回答的摘录。



未解析的标识符



如果.cpp文件的来源类似于



点击项目上的鼠标右键。

检查 C / C ++代码为...

.com / 7GCQZ.jpgalt =enter image description here>



如果这还不够。

转到项目属性

按照所述填写包含输入字段。



>



设置包含路径正确。



我希望能帮助你。


I'm using the netbeans IDE 7.2 with C/C++ plugin (last version 1.18.1.1) and if I build my project everything is fine but the IDE show me errors (e.g. unable to resolve identifier ...)

Anyone else have this bug and how can I solve it?

Thanks for any help!

解决方案

Here's an excerpt from my answer to another question.

Unresolved Identifier

If the source of the .cpp file looks like this

Click with the right mouse button on your project.
Check C/C++ Code As...
Run Reparse Project.

If that is not enough.
Go to Project Properties
Fill in the Include input field as described.

Set the include path correct.

I hope that can help you.

这篇关于Netbeans 7.2显示“无法解析标识符” ,虽然构建成功的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆