Error handling VS 2017 C1083无法打开包含文件:';pcl/io/openni2_grabber.h';

Error handling VS 2017 C1083无法打开包含文件:';pcl/io/openni2_grabber.h';,error-handling,visual-studio-2017,point-cloud-library,Error Handling,Visual Studio 2017,Point Cloud Library,我正在使用PCL构建一个项目 代码如下: #include<pcl/io/openni2_grabber.h> #include<pcl/visualization/cloud_viewer.h> 包括目录屏幕截图: openni2_grabber.h的文件位置如下所示 C:\Program Files\PCL 1.8.1\include\pcl-1.8\pcl\io 但VS2017的表现如下: Error C1083 Cannot open includ

我正在使用PCL构建一个项目

代码如下:

#include<pcl/io/openni2_grabber.h>

#include<pcl/visualization/cloud_viewer.h>
包括目录屏幕截图:

openni2_grabber.h的文件位置如下所示

C:\Program Files\PCL 1.8.1\include\pcl-1.8\pcl\io
但VS2017的表现如下:

Error   C1083   Cannot open include file: 'pcl/io/openni2_grabber.h': No such 
file or directory
我在线搜索,已经将Windows SDK版本更改为10.0.16299.0 但错误仍然存在。也尝试改变

#include<pcl/io/openni2_grabber.h>
不太管用


请帮忙!提前谢谢。

我解决了这个问题。只需注意选择“调试”或“发布”。保持此选择不变并完成

对不起打扰大家了

#include<pcl/io/openni2_grabber.h>
#include"pcl/io/openni2_grabber.h"