Netbeans 7.2 shows “Unable to resolve identifier” , although build is successful

后端 未结 11 599
野的像风
野的像风 2020-11-28 21:54

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

11条回答
  •  旧时难觅i
    2020-11-28 21:56

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

    Unresolved Identifier

    If the source of the .cpp file looks like this

    enter image description here

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

    enter image description here

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

    enter image description here

    Set the include path correct.

    I hope that can help you.

提交回复
热议问题