VS2008 - Point Cloud Libary
-
Guten Morgen,
ich versuche gerade die Point Cloud Libary in mein MFC-Projekt einzubinden. Irgendwie ist nun ein Fehler aufgetaucht den ich nicht so ganz zuordnen kann.
Ich hoffe ihr kennt ihn. Erst mal der Code: der Fehler taucht in Zeile 2 auf und springt dann in die Datei new.cpppcl::PointCloud<pcl::PointXYZRGBA>::Ptr cloud (new pcl::PointCloud<pcl::PointXYZRGBA>); pcl::visualization::CloudViewer viewer("Test Cloud"); cloud->width = 5; cloud->height = 1; cloud->is_dense = false; cloud->points.resize (cloud->width * cloud->height); for (size_t i = 0; i < cloud->points.size (); ++i) { cloud->points[i].x = 1024 * rand () / (RAND_MAX + 1.0f); cloud->points[i].y = 1024 * rand () / (RAND_MAX + 1.0f); cloud->points[i].z = 1024 * rand () / (RAND_MAX + 1.0f); } viewer.showCloud(cloud);
Fehler:
Eine nicht behandelte Ausnahme des Typs "System.Runtime.Interop.Services.SEHException" ist in Unbekanntes Modul aufgetreten.
Noch mal als Bild mit Code...
http://www0.xup.in/exec/ximg.php?fid=10253727MfG