-
-
Notifications
You must be signed in to change notification settings - Fork 4.7k
Closed
Labels
Description
My code is as follows:
typedef pcl::PointCloudpcl::PointXYZ pointcloud;
pointcloud::Ptr source(new pointcloud);
pointcloud::Ptr target(new pointcloud);
if (pcl::io::loadPCDFilepcl::PointXYZ("1.pcd", *source) == -1) {
PCL_ERROR("Couldn't read file 1.pcd \n");
return -1;
}
pcl::io::loadPCDFilepcl::PointXYZ("1.pcd", *source);
pcl::io::loadPCDFilepcl::PointXYZ("2.pcd", *target);
It compiles, but the following error occurs when reading the PCD file:

I tried to change to an absolute path, but I still couldn't read the PCD file. Can you tell me why?
- OS: [Windows11]
- Compiler: [:Visual Studio 2022]
- PCL Version [1.14.1]
Reactions are currently unavailable