Closed zhangbin0917 closed 10 months ago
Thanks for reporting. You can fix this with the following patch:
diff --git a/visualization/include/pcl/visualization/vtk/vtkRenderWindowInteractorFix.h b/visualization/include/pcl/visualization/vtk/vtkRenderWindowInteractorFix.h
index b427e76d9..7958f80e6 100644
--- a/visualization/include/pcl/visualization/vtk/vtkRenderWindowInteractorFix.h
+++ b/visualization/include/pcl/visualization/vtk/vtkRenderWindowInteractorFix.h
@@ -38,5 +38,6 @@
#pragma once
#include <vtkRenderWindowInteractor.h>
+#include <pcl/pcl_exports.h>
-vtkRenderWindowInteractor* vtkRenderWindowInteractorFixNew ();
+PCL_EXPORTS vtkRenderWindowInteractor* vtkRenderWindowInteractorFixNew ();
Thanks for reporting. You can fix this with the following patch:
diff --git a/visualization/include/pcl/visualization/vtk/vtkRenderWindowInteractorFix.h b/visualization/include/pcl/visualization/vtk/vtkRenderWindowInteractorFix.h index b427e76d9..7958f80e6 100644 --- a/visualization/include/pcl/visualization/vtk/vtkRenderWindowInteractorFix.h +++ b/visualization/include/pcl/visualization/vtk/vtkRenderWindowInteractorFix.h @@ -38,5 +38,6 @@ #pragma once #include <vtkRenderWindowInteractor.h> +#include <pcl/pcl_exports.h> -vtkRenderWindowInteractor* vtkRenderWindowInteractorFixNew (); +PCL_EXPORTS vtkRenderWindowInteractor* vtkRenderWindowInteractorFixNew ();
@mvieth I have confirmed that this issue is reproduced, and your patch will solve this error. Please sent pull-request. Thanks! 👍
Describe the error
Please paste the compilation results/errors.
To Reproduce
cmake .. -GNinja -DCMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_PREFIX=D:\Softwares\3rdLib\pcl-1.14.0\install -DCMAKE_CUDA_ARCHITECTURES=native -DBOOST_ROOT=D:\Softwares\3rdLib\boost_1_84_0-msvc-14.3-64 -DBoost_DIR=D:\Softwares\3rdLib\boost_1_84_0-msvc-14.3-64 -DBOOST_INCLUDEDIR=D:\Softwares\3rdLib\boost_1_84_0-msvc-14.3-64\boost -DEigen3_DIR=D:\Softwares\3rdLib\vcpkg\installed\x64-windows\share\eigen3 -DFLANN_ROOT=D:\Softwares\3rdLib\vcpkg\packages\flann_x64-windows -Dlz4_DIR=D:\Softwares\3rdLib\vcpkg\packages\lz4_x64-windows\share\lz4 -DQt5_DIR=D:\Softwares\3rdLib\QT\QT-5.15.2\msvc2019_64\lib\cmake\Qt5 -DVTK_DIR=D:\Softwares\3rdLib\VTK-9.3.0\install\lib\cmake\vtk-9.3
Screenshots/Code snippets/Build informationYour Environment (please complete the following information):