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

后端 未结 11 614
野的像风
野的像风 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条回答
  •  余生分开走
    2020-11-28 22:05

    We develop our code on one computer and compile on another. I was getting these distracting markups until I "set Build Host" to the remote machine (in the right-click menu for the project).

    I'm still not sure what the problem on the development computer was, since the unresolved identifiers were things from the standard library (size_t, std::vector etc) and the answers here didn't seem to help.

提交回复
热议问题