pcl::io::loadPCDFile("2.pcd", *cloud); ERROR

0

I am beginner in PointCloud, and I just followed the tutorial in official website, but I can't run the code in Visual Studio 2019 or 2017.

I have tried this in Studio 2019 and 2017 but the result is same. "The application was unable to start correctly (0xc000007b). Click OK to close the application. " Is there any solution for this problem?

#include <iostream>
#include <pcl/io/pcd_io.h>
#include <pcl/point_types.h>

int main()
{
 pcl::PointCloud<pcl::PointXYZRGB>::Ptr cloud(new 
 pcl::PointCloud<pcl::PointXYZRGB>);
 pcl::io::loadPCDFile("2.pcd", *cloud);

 system("pause");
 return (0);
}
c++
point-cloud-library
asked on Stack Overflow Sep 25, 2019 by Aldi Lin

0 Answers

Nobody has answered this question yet.


User contributions licensed under CC BY-SA 3.0