pcl icon indicating copy to clipboard operation
pcl copied to clipboard

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

Open DingLei627 opened this issue 1 year ago • 2 comments
trafficstars

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<vtkLeaderActor2D> leader = vtkSmartPointer<vtkLeaderActor2D>::New ();" and then it have a error: image how to deal with this error?

Your Environment (please complete the following information):

  • OS: Win10
  • Compiler: vs 2017
  • PCL Version:1.9.1

Additional context

Add any other context about the problem here.

DingLei627 avatar Dec 11 '23 07:12 DingLei627

@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.

mvieth avatar Dec 11 '23 10:12 mvieth

@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?

DingLei627 avatar Dec 11 '23 13:12 DingLei627