杨威VEO:不太懂应该怎么改,我也是一片黑。我是下面的代码,能麻烦博主看看吗pcl::visualization::PCLVisualizer::Ptrviewer;pcl::PointCloud::Ptrcloud(newpcl::PointCloud);autorenderer2=vtkSmartPointer::New();autorenderWindow2=vtkSmartPointer::New();renderWindow2->AddRenderer(renderer2);viewer.reset(newpcl::visualization::PCLVisualizer(renderer2,renderWindow2,"viewer",false));ui.qvtkWidget->setRenderWindow(viewer->getRenderWindow());ui.qvtkWidget->GetRenderWindow()->Render();viewer->setupInteractor(ui.qvtkWidget->interactor(),ui.qvtkWidget->renderWindow());pcl::io::loadPCDFile("E:/PointCLoud/bunny_pcd/bun045.pcd",*cloud);viewer->addPointCloud(cloud,"samplecloud");viewer->setPointCloudRenderingProperties(pcl::visualization::PCL_VISUALIZER_POINT_SIZE,
1,"samplecloud");ui.qvtkWidget->update();
jhcgh8:可能是需要添加附加依赖项,opengl32.lib。/info_black_hole/article/details/
duleanran:感谢,很有帮助,另我下载的是9.3.0,install的时候遇到了问题,参考了这篇,[code=html]/ruihaha/article/details/?ops_request_misc=