VTK + PDAL for LIDAR data reading. Error with build

Hello everyone,

I’m trying to build VTK with the PDAL module and it seems that I’m doing something wrong. I downloaded and installed pdal through miniconda and set the PDAL_DIR on CMake when building vtk.

But the PDAL tests are throwing library link errors (error LNK2001). I’m obviously doing something wrong. Can someone help me?

Thanks in advance.

Do you have the actual errors available? The error numbers aren’t really specific enough to figure out what’s wrong.

vtkIOPDALCxxTests.obj : error LNK2001: unresolved external symbol “int __cdecl TestPDALReader_test_1(int,char * * const)” (?TestPDALReader_test_1@@YAHHQEAPEAD@Z)

Please try out this diff: https://gitlab.kitware.com/vtk/vtk/-/merge_requests/6899