PointCloudLibrary / pcl

Point Cloud Library (PCL)
https://pointclouds.org/
Other
10.01k stars 4.62k forks source link

[pcl_visualizer] Exception Thrown When run to " vtkSmartPointer<T> New()" #5898

Open DingLei627 opened 11 months ago

DingLei627 commented 11 months ago

Describe the bug I want to addArrow into my veiwer, but when it run into " pcl::visualization::PCLVisualizer viewer; viewer.addArrow(pcaX, op, 1.0, 0.0, 0.0, false, "arrow_X");" and then into this funciton it call the fucntion "vtkSmartPointer leader = vtkSmartPointer::New ();" and then it have a error: image how to deal with this error?

Your Environment (please complete the following information):

Additional context

Add any other context about the problem here.

mvieth commented 11 months ago

@DingLei627 I found this issue which seems to be related: https://github.com/PointCloudLibrary/pcl/issues/3484 I would also recommend to use a newer PCL version, if possible.

DingLei627 commented 11 months ago

@DingLei627 I found this issue which seems to be related: #3484 I would also recommend to use a newer PCL version, if possible.

Thank you very much, I get some info in https://github.com/PointCloudLibrary/pcl/issues/3484

My develop environment is Win10+VS2017, I think the lasted version is PCL1.9.1 for my develop environment, Is that so?