在LINUX上,使用Nsight打开一个工程,结果编译不过,找不到头文件。怎么办?加。 右键,属性,General->Code Analysis->Paths and Symbols。 Includes下加入程序需要用到的头文件的路径。Library Path下添加需要用到库文件的路径。