PCL loadPCDFile() error

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view

PCL loadPCDFile() error

This post has NOT been accepted by the mailing list yet.
Once I successfuly compiled PCL with Visual C++ 2013 x64, I am totally stacked trying to debug following error. When loading .pcd file using pcl::io::loadPCDFile(), I've got a debug assertion failed followed by some access violation errors. I read some post about loadPCDFile() on Visual C and perform suggested actions but none of them are working.
PCD has the proper format.

std::string fileName = "E:/C PROJECTS/models/generated.pcd";

    target_cloud.reset(new Cloud());

    if (pcl::io::loadPCDFile(model_filename_, *target_cloud) == -1) //* load the file
        PCL_ERROR("Couldn't read .pcd file \n");
        return (-1);