nsight 中出现method could not be resolved 报错

解决的方法就是现在编译选项中取消该报错。

项目右键->属性->c/c++常规->Code Analysis,选择"Use project settings"  中的方法无法被解析(Method cannot be resolved)取消选择,应用->确定,然后刷新、清理、刷新、build项目。

原文地址:https://www.cnblogs.com/djiankuo/p/7390364.html