VTK issueshttps://gitlab.kitware.com/vtk/vtk/-/issues2023-11-27T22:18:04-05:00https://gitlab.kitware.com/vtk/vtk/-/issues/19180Xdmf3: 64bit data array support broken on Windows2023-11-27T22:18:04-05:00Ben BoeckelXdmf3: 64bit data array support broken on WindowsDiscovered in !10726, Xdmf3 assumes that `long` is 64bits and doesn't provide for `long long` support. This means that on Windows, arrays are mangled via a 32bit-sized `long` type instead of going through a proper 64bit type. See [this c...Discovered in !10726, Xdmf3 assumes that `long` is 64bits and doesn't provide for `long long` support. This means that on Windows, arrays are mangled via a 32bit-sized `long` type instead of going through a proper 64bit type. See [this code in Xdmf3](https://gitlab.kitware.com/vtk/vtk/-/blob/aedf544f5a3160d592488cef57e69b6e94341cd3/ThirdParty/xdmf3/vtkxdmf3/core/XdmfArray.cpp#L146-150).
I'm of a partial mind to disable the module Windows, but maybe 64bit data types aren't that common anyways. In any case, we should probably consider a runtime warning at least.
Cc: @demarlehttps://gitlab.kitware.com/vtk/vtk/-/issues/19179Rendering/OpenGL2/vtkWin32OpenGLDXRenderWindow.h:113:8: error: ‘unique_ptr’ i...2023-12-01T20:03:14-05:00Julien SchuellerRendering/OpenGL2/vtkWin32OpenGLDXRenderWindow.h:113:8: error: ‘unique_ptr’ in namespace ‘std’ does not name a template typesince https://gitlab.kitware.com/vtk/vtk/-/merge_requests/10596 vtk cannot be compiled in c++17 mode anymore because of std::unique_ptr
I think vtk still defaults to c++11 (or is it paraview ?), but it should also retain compatibility w...since https://gitlab.kitware.com/vtk/vtk/-/merge_requests/10596 vtk cannot be compiled in c++17 mode anymore because of std::unique_ptr
I think vtk still defaults to c++11 (or is it paraview ?), but it should also retain compatibility with c++17 on windows like it does on linux
/cc @LucasGandelKitware @alexy.pellegrinihttps://gitlab.kitware.com/vtk/vtk/-/issues/19178vc++ 2022 and vtk 9.3.0 compilation issue2024-03-26T13:44:20-04:00woosung chovc++ 2022 and vtk 9.3.0 compilation issuewhen compiling with the solution generated from cmake-gui in window 11. I met the following error.
```
vtkCommonCore-9.3d.lib(vtkSMPToolsAPI.obj) : error LNK2019: unresolved external symbol "public: bool __cdecl vtk::detail::smp::vtkSMP...when compiling with the solution generated from cmake-gui in window 11. I met the following error.
```
vtkCommonCore-9.3d.lib(vtkSMPToolsAPI.obj) : error LNK2019: unresolved external symbol "public: bool __cdecl vtk::detail::smp::vtkSMPToolsImpl<1>::IsParallelScope(void)" (?IsParallelScope@?$vtkSMPToolsImpl@$00@smp@detail@vtk@@QEAA_NXZ) referenced in function "public: bool __cdecl vtk::detail::smp::vtkSMPToolsAPI::IsParallelScope(void)" (?IsParallelScope@vtkSMPToolsAPI@smp@detail@vtk@@QEAA_NXZ)
4>vtkCommonCore-9.3d.lib(vtkSMPToolsAPI.obj) : error LNK2019: unresolved external symbol "public: bool __cdecl vtk::detail::smp::vtkSMPToolsImpl<1>::IsParallelScope(void)" (?IsParallelScope@?$vtkSMPToolsImpl@$00@smp@detail@vtk@@QEAA_NXZ) referenced in function "public: bool __cdecl vtk::detail::smp::vtkSMPToolsAPI::IsParallelScope(void)" (?IsParallelScope@vtkSMPToolsAPI@smp@detail@vtk@@QEAA_NXZ)
```
I used visual studio 2022 (v17.8.1).https://gitlab.kitware.com/vtk/vtk/-/issues/19177vtkInteractorEventRecorder in record mode causes vtkObject.cxx:556 WARN| Pa...2023-11-24T12:10:41-05:00Dimitar PashovvtkInteractorEventRecorder in record mode causes vtkObject.cxx:556 WARN| Passive observer should not call AddObserver or RemoveObserver in callback.Hello,
Don't know if this is a bug or merely undesirable behaviour, but it does issue the warning in the title.
There is indeed the following sequence:
```
vtkInteractorEventRecorder::vtkInteractorEventRecorder():
...
this->Ev...Hello,
Don't know if this is a bug or merely undesirable behaviour, but it does issue the warning in the title.
There is indeed the following sequence:
```
vtkInteractorEventRecorder::vtkInteractorEventRecorder():
...
this->EventCallbackCommand->SetCallback(vtkInteractorEventRecorder::ProcessEvents);
this->EventCallbackCommand->SetPassiveObserver(1);
void vtkInteractorEventRecorder::ProcessEvents(...):
self->Off();
void vtkInteractorEventRecorder::SetEnabled(...):
...
this->Interactor->AddObserver(vtkCommand::AnyEvent, this->EventCallbackCommand, this->Priority);
...
this->Interactor->RemoveObserver(this->EventCallbackCommand);
```
Similar scenario occurs with `ProcessCharEvent`.https://gitlab.kitware.com/vtk/vtk/-/issues/19176Is it possible to updrade ThirdParty/fmt to the latest version?2023-11-25T10:13:58-05:00Andrew MacleanIs it possible to updrade ThirdParty/fmt to the latest version?This is not an error, just a warning and relates to fmt.
Building with Microsoft Visual Studio Community 2022 (64-bit) - Current Version 17.8.1 generates this warning if the C++17 standard is enabled:
``` cmd
stdext::checked_array_itera...This is not an error, just a warning and relates to fmt.
Building with Microsoft Visual Studio Community 2022 (64-bit) - Current Version 17.8.1 generates this warning if the C++17 standard is enabled:
``` cmd
stdext::checked_array_iterator<T *>::iterator_category': warning STL4043: stdext::checked_array_iterator, stdext::unchecked_array_iterator, and related factory functions are non-Standard extensions and will be removed in the future. std::span (since C++20) and gsl::span can be used instead. You can define _SILENCE_STDEXT_ARR_ITERS_DEPRECATION_WARNING or _SILENCE_ALL_MS_EXT_DEPRECATION_WARNINGS to suppress this warning.
```
If you search on STL4043 you will find this [MSVC is deprecating stdext::checked_array_iterator #3540](https://github.com/fmtlib/fmt/issues/3540) the fix seems to be to just upgrade fmt to 10.1 or later. This seems to confirm that upgrading fmt will silence this: [Update fmt version to 10.1.0 #12411](https://github.com/microsoft/react-native-windows/pull/12411)9.3Ben BoeckelBen Boeckelhttps://gitlab.kitware.com/vtk/vtk/-/issues/19175Can't write multiblock with empty leaf2023-11-28T02:58:56-05:00Francois MazenCan't write multiblock with empty leafIf a multiblock contains an empty leaf, the `vtkXMLMultiBlockDataWriter` trigger an exception when calling the `Write()` method.
Sample code to reproduce with vtkpython:
```python
from vtkmodules.vtkCommonDataModel import vtkMultiBlock...If a multiblock contains an empty leaf, the `vtkXMLMultiBlockDataWriter` trigger an exception when calling the `Write()` method.
Sample code to reproduce with vtkpython:
```python
from vtkmodules.vtkCommonDataModel import vtkMultiBlockDataSet
from vtkmodules.vtkIOXML import vtkXMLMultiBlockDataWriter
mbds = vtkMultiBlockDataSet()
mbds.SetBlock(0, vtkMultiBlockDataSet())
writer = vtkXMLMultiBlockDataWriter()
writer.SetInputData(mbds)
writer.SetFileName("test.vtm")
writer.SetInputData(mbds)
writer.Write()
```
Then it triggers this output:
```
( 91.595s) [main thread ] vtkExecutive.cxx:729 ERR| vtkCompositeDataPipeline (0x555555649a10): Algorithm vtkXMLMultiBlockDataWriter (0x555555754f80) returned failure for request: vtkInformation (0x5555557571c0)
Debug: Off
Modified Time: 163
Reference Count: 1
Registered Events: (none)
Request: REQUEST_DATA
FROM_OUTPUT_PORT: -1
ALGORITHM_AFTER_FORWARD: 1
FORWARD_DIRECTION: 0
```
The issue seem to be in `vtkXMLMultiBlockDataWriter::WriteComposite` which returns 0 (the error code) when there is nothing to write.
Having an empty leaf in a multiblock seems a valid case (VTK multiblock reader handles it nicely), so returning a valid return code would makes sense. A MR should follow shortly.https://gitlab.kitware.com/vtk/vtk/-/issues/19174The MapScalars() methods leak in Python2023-11-26T15:21:38-05:00David GobbiThe MapScalars() methods leak in PythonWhen called from Python, the `MapScalars()` methods leak the `vtkUnsignedCharArray` that they return. To avoid the leak, they need the `VTK_NEWINSTANCE` hint.
These methods appear in `vtkScalarsToColors` and `vtkMapper`. In addition t...When called from Python, the `MapScalars()` methods leak the `vtkUnsignedCharArray` that they return. To avoid the leak, they need the `VTK_NEWINSTANCE` hint.
These methods appear in `vtkScalarsToColors` and `vtkMapper`. In addition to adding the hint, the wrappers can be made to warn if they encounter an unhinted `MapScalars()` method that returns a VTK array.
In fact, any VTK method that returns a VTK object but isn't a getter (i.e. doesn't start with Get) has a fair probability of needing a hint.
Ref: [https://discourse.vtk.org/t/retrieve-the-mapped-colors-from-vtkopenglpolydatamapper/12760](https://discourse.vtk.org/t/retrieve-the-mapped-colors-from-vtkopenglpolydatamapper/12760)9.3David GobbiDavid Gobbihttps://gitlab.kitware.com/vtk/vtk/-/issues/19173anari: Visibility changes are not propogated to the anari scenegraph2023-11-30T16:55:06-05:00Sankhesh Jhaverianari: Visibility changes are not propogated to the anari scenegraph## Steps to reproduce
- Fetch and build VTK branch [anari-visibility-bug](https://gitlab.kitware.com/sankhesh/vtk/commits/anari-visibility-bug)
- Run `ctest -V -R AnariPassVisibility`
The test renders the bunny dataset via ANARI and ...## Steps to reproduce
- Fetch and build VTK branch [anari-visibility-bug](https://gitlab.kitware.com/sankhesh/vtk/commits/anari-visibility-bug)
- Run `ctest -V -R AnariPassVisibility`
The test renders the bunny dataset via ANARI and then toggles the prop visibility.
| Expected Result | Test Result |
|:---:|:---:|
|![](https://vtk.org/files/ExternalData/SHA512/bdcb122fb7afdfc29e17e8d4cc487629352f320ef70616baa3f13af5047f4ad15d6dc03562cdc1cbb5d48f01c079ccf605af1a56ed526391ce7ab98bb4c92b17)|![TestAnariPassVisibility](/uploads/a44b3df578658a0baa0eb2c50fdbcf89/TestAnariPassVisibility.png)|https://gitlab.kitware.com/vtk/vtk/-/issues/19171vtkSurfaceNets3D crashes when DataCaching is OFF2023-11-20T07:25:45-05:00Bryn LloydvtkSurfaceNets3D crashes when DataCaching is OFFvtkSurfaceNets3D is crashing when I disable DataCaching.
My pipeline/settings are as follows:
```cpp
auto contour_filter = vtkSmartPointer<vtkSurfaceNets3D2>::New();
contour_filter->SetInputData(label_field);
con...vtkSurfaceNets3D is crashing when I disable DataCaching.
My pipeline/settings are as follows:
```cpp
auto contour_filter = vtkSmartPointer<vtkSurfaceNets3D2>::New();
contour_filter->SetInputData(label_field);
contour_filter->SetBackgroundLabel(BG);
for (int i = min_label, count = 0; i <= max_label; ++i)
{
if (i != BG)
contour_filter->SetValue(count++, i);
}
contour_filter->SetSmoothing(true);
contour_filter->SetNumberOfIterations(30);
contour_filter->SetConstraintStrategyToConstraintDistance();
contour_filter->SetAutomaticSmoothingConstraints(true);
contour_filter->SetConstraintScale(1.0);
contour_filter->SetOutputMeshTypeToTriangles();
contour_filter->SetTriangulationStrategyToMinArea();
contour_filter->SetDataCaching(false);
```
The crash is occurring here https://gitlab.kitware.com/vtk/vtk/-/blob/master/Filters/Core/vtkSurfaceNets3D.cxx?ref_type=heads#L2042
> Exception thrown: read access violation.
> **vtkPointSet::GetPoints[virtual]**(...) returned nullptr.
I guess this happens because [here](https://gitlab.kitware.com/vtk/vtk/-/blob/master/Filters/Core/vtkSurfaceNets3D.cxx?ref_type=heads#L2433) we copy from an invalid `this->GeometryCache`.https://gitlab.kitware.com/vtk/vtk/-/issues/19170vtkSurfaceNets3D produces open surfaces2023-11-20T07:24:31-05:00Bryn LloydvtkSurfaceNets3D produces open surfacesvtkSurfaceNets3D produces open surfaces when the non-background voxels reach the boundary.
I guess a special case would be needed to add the quads at the boundary (i.e., if first/last voxel value != BackgroundLabel, add quad). The Bound...vtkSurfaceNets3D produces open surfaces when the non-background voxels reach the boundary.
I guess a special case would be needed to add the quads at the boundary (i.e., if first/last voxel value != BackgroundLabel, add quad). The BoundaryLabels would could store the BackgroundLabel for the "voxel that is outside the image".
A workaround would be to document that vtkSurfaceNets can produce open surfaces and that the image should be padded with the BackgroundLabel before running the filter.
what I get:
![image](/uploads/50da33ed7da3bc17a97616d8a32339ff/image.png)
what I get if I pad the image first (`vtkImageConstantPad`):
![image](/uploads/bf499fe598301f90d3bcbf7e53b1348e/image.png)https://gitlab.kitware.com/vtk/vtk/-/issues/19169vtkHDFReader: improvement regarding the VTKHDF file format version2024-02-06T09:37:17-05:00Lucas GivordvtkHDFReader: improvement regarding the VTKHDF file format versionvtkHDFReader checks the version of the VTKHDF file format used. This one is not tested for now.
after some discussion during the implementation of the writer : https://gitlab.kitware.com/vtk/vtk/-/merge_requests/10638#note_1441449, we c...vtkHDFReader checks the version of the VTKHDF file format used. This one is not tested for now.
after some discussion during the implementation of the writer : https://gitlab.kitware.com/vtk/vtk/-/merge_requests/10638#note_1441449, we conclude that we should add a proper test for that and document it.
cc @mwestphal @thibault.bruyereLucas GivordLucas Givordhttps://gitlab.kitware.com/vtk/vtk/-/issues/19168VTK Reame references build.md -- does not exist2023-11-15T17:14:05-05:00John RochaVTK Reame references build.md -- does not existI found this problem while reading the instructions from the top-level [README.md](https://gitlab.kitware.com/vtk/vtk/-/blob/master/README.md?ref_type=heads) file.
The section **Building** has a link to the file build.md `https://gitlab...I found this problem while reading the instructions from the top-level [README.md](https://gitlab.kitware.com/vtk/vtk/-/blob/master/README.md?ref_type=heads) file.
The section **Building** has a link to the file build.md `https://gitlab.kitware.com/vtk/vtk/-/blob/master/Documentation/dev/build.md#building-vtk`
This destination file does not exist.
I did find `Documentation/dev/build_windows_vs.md` which is great for Windows. It appears the top level build.md file is missing, as well as Linux based build instructions (granted they are probably fairly similar to Windows build instructions thanks to the glory of CMake).Christos TsolakisChristos Tsolakishttps://gitlab.kitware.com/vtk/vtk/-/issues/19167Missing VTK_ABI_NAMESPACEs2023-12-19T09:50:16-05:00Leo PMissing VTK_ABI_NAMESPACEshttps://gitlab.kitware.com/vtk/vtk/-/blob/master/Common/DataModel/vtkAbstractCellArray.cxx
Is missing VTK_ABI_NAMESPACE_END
Also
https://gitlab.kitware.com/vtk/vtk/-/blob/master/IO/Engys/vtkBTSReader.cxx
is missing both VTK_ABI_NAMESP...https://gitlab.kitware.com/vtk/vtk/-/blob/master/Common/DataModel/vtkAbstractCellArray.cxx
Is missing VTK_ABI_NAMESPACE_END
Also
https://gitlab.kitware.com/vtk/vtk/-/blob/master/IO/Engys/vtkBTSReader.cxx
is missing both VTK_ABI_NAMESPACE_BEGIN and VTK_ABI_NAMESPACE_END.
This causes no problems when compiled without VTK_ABI_NAMESPACE_NAME-option, but when the library is compiled with this option, at least these two files fails.
Perhaps there should be some test for this in the build pipeline.https://gitlab.kitware.com/vtk/vtk/-/issues/19165vtk 7.0 make err2023-11-15T04:13:43-05:00DavidMcvtk 7.0 make err<!--
This template is for tracking a release of VTK. Please replace the
following strings with the associated values:
- `@VERSION@` - 7.0.0
- `@RC@` - for release candidates, replace with ".rc?". For final, replace with "".
- `@MA...<!--
This template is for tracking a release of VTK. Please replace the
following strings with the associated values:
- `@VERSION@` - 7.0.0
- `@RC@` - for release candidates, replace with ".rc?". For final, replace with "".
- `@MAJOR@` - replace with major version number
- `@MINOR@` - replace with minor version number
- `@PATCH@` - replace with patch version number
- `@BASEBRANCH@`: The branch to create the release on (for `x.y.0.rc1`,
`master`, otherwise `release`)
- `@BRANCHPOINT@`: The commit where the release should be started
Please remove this comment.
-->
when I run "make" commmond,it shows as bellow ,didnnot work well on mac M2
```
/Users/hanglok/work/Vtk/sdk/vtk-v7.0.0/ThirdParty/freetype/vtkfreetype/src/base/ftmac.c:150:11: error: call to undeclared function 'ATSFontGetFileReference'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
err = ATSFontGetFileReference( ats_font_id, ats_font_ref );
^
/Users/hanglok/work/Vtk/sdk/vtk-v7.0.0/ThirdParty/freetype/vtkfreetype/src/base/ftmac.c:150:11: note: did you mean 'FT_ATSFontGetFileReference'?
/Users/hanglok/work/Vtk/sdk/vtk-v7.0.0/ThirdParty/freetype/vtkfreetype/src/base/ftmac.c:142:3: note: 'FT_ATSFontGetFileReference' declared here
FT_ATSFontGetFileReference( ATSFontRef ats_font_id,
```https://gitlab.kitware.com/vtk/vtk/-/issues/19164Cannot load vtkVolume2023-11-15T04:14:17-05:00DavidMcCannot load vtkVolumedownloan the example from “https://github.com/Kitware/VTK/tree/master/Examples/Android/VolumeRender” and build my “.so” file by vtk9.3 or vtk 8.2 ,neither does it works. without error showsdownloan the example from “https://github.com/Kitware/VTK/tree/master/Examples/Android/VolumeRender” and build my “.so” file by vtk9.3 or vtk 8.2 ,neither does it works. without error showshttps://gitlab.kitware.com/vtk/vtk/-/issues/19163vtkRenderWindowInteractor::CreateRepeatingTimer does not work on Windows unle...2023-11-15T09:08:06-05:00Adrien StuckyvtkRenderWindowInteractor::CreateRepeatingTimer does not work on Windows unless the interactor is initializedWhen running a vtkRenderWindowInteractor with a timer to create an animation, on Windows you need to run interactor->Initialize() before or the timer won't work. I don't know if it's the intended behavior but in that case I suggest to fi...When running a vtkRenderWindowInteractor with a timer to create an animation, on Windows you need to run interactor->Initialize() before or the timer won't work. I don't know if it's the intended behavior but in that case I suggest to fix the default behavior so we would need to initialize the interactor in each OS.
vtk version: masterhttps://gitlab.kitware.com/vtk/vtk/-/issues/19161PVTU (multiple VTUs) to one VTU2023-11-09T07:40:17-05:00ermorePVTU (multiple VTUs) to one VTUI use the MPI program to run out the calculation results to generate pvtu (it is made up of many vtu), and I want to turn multiple vtu files into one vtu. If I want to use C++, which vtk API can I call to implement this function. I learn...I use the MPI program to run out the calculation results to generate pvtu (it is made up of many vtu), and I want to turn multiple vtu files into one vtu. If I want to use C++, which vtk API can I call to implement this function. I learned that the save data function of paraview can be exported to a VTU. I don't know how it works.https://gitlab.kitware.com/vtk/vtk/-/issues/19160vtkProbeLineFilter crashes in Python2023-11-10T03:57:57-05:00dbochkovvtkProbeLineFilter crashes in PythonThis small code with `vtkProbeLineFilter` crashes in Python with `Segmentation fault (core dumped)` (vtk is installed using `pip install vtk`). At the same time it runs fine with `pvpython` provided by a Paraview package. Could this be r...This small code with `vtkProbeLineFilter` crashes in Python with `Segmentation fault (core dumped)` (vtk is installed using `pip install vtk`). At the same time it runs fine with `pvpython` provided by a Paraview package. Could this be related to https://gitlab.kitware.com/vtk/vtk/-/merge_requests/10640 somehow?
```
import vtk
# create mesh to probe from
pts = vtk.vtkPoints()
pts.InsertNextPoint([0, 0, 0])
pts.InsertNextPoint([1, 0, 0])
pts.InsertNextPoint([0, 1, 0])
pts.InsertNextPoint([0, 0, 1])
print(pts)
cells = vtk.vtkCellArray()
cells.AllocateExact(1, 4)
cells.InsertNextCell(4, [0, 1, 2, 3])
print(cells)
grid = vtk.vtkUnstructuredGrid()
grid.SetPoints(pts)
grid.SetCells(vtk.VTK_TETRA, cells)
data = vtk.vtkFloatArray()
data.SetNumberOfComponents(1)
data.SetName("Test")
data.InsertNextValue(1);
print(data)
grid.GetPointData().AddArray(data);
print(grid)
start = [0.25, 0.25, -1]
end = [0.25, 0.25, 1]
# create probing line
line = vtk.vtkLineSource()
line.SetPoint1(start)
line.SetPoint2(end)
line.SetResolution(1)
line.Update()
# create prober
prober = vtk.vtkProbeLineFilter()
prober.SetSourceConnection(line.GetOutputPort())
prober.SetInputData(grid)
prober.SetSamplingPattern(prober.SAMPLE_LINE_UNIFORMLY)
prober.SetLineResolution(10)
print(prober)
prober.Update() # <- crashes here
```https://gitlab.kitware.com/vtk/vtk/-/issues/19159Vulnerability discovered in zlib: CVE-2023-458532023-11-09T15:41:46-05:00Landon M KannerVulnerability discovered in zlib: CVE-2023-45853A vulnerability scan of vtk 9.3.0rc2 and its dependencies revealed critical vulnerability [CVE-2023-45853](https://nvd.nist.gov/vuln/detail/CVE-2023-45853) in 2 places:
1. vtk > madler-zlib 1.2.13
2. vtk > matplotlib > pillow > madler-zl...A vulnerability scan of vtk 9.3.0rc2 and its dependencies revealed critical vulnerability [CVE-2023-45853](https://nvd.nist.gov/vuln/detail/CVE-2023-45853) in 2 places:
1. vtk > madler-zlib 1.2.13
2. vtk > matplotlib > pillow > madler-zlib 1.3https://gitlab.kitware.com/vtk/vtk/-/issues/19158vtkPDALReader fails to compile2023-11-15T02:08:53-05:00Orion PoplawskivtkPDALReader fails to compileGetting this building VTK 9.3.0.rc2 on Fedora rawhide with PDAL 2.6.0:
```
[ 54%] Building CXX object IO/PDAL/CMakeFiles/IOPDAL.dir/vtkPDALReader.cxx.o
cd /builddir/build/BUILD/VTK-9.3.0.rc2/redhat-linux-build-serial/IO/PDAL && /usr/bin/...Getting this building VTK 9.3.0.rc2 on Fedora rawhide with PDAL 2.6.0:
```
[ 54%] Building CXX object IO/PDAL/CMakeFiles/IOPDAL.dir/vtkPDALReader.cxx.o
cd /builddir/build/BUILD/VTK-9.3.0.rc2/redhat-linux-build-serial/IO/PDAL && /usr/bin/g++ -DIOPDAL_EXPORTS -Dkiss_fft_scalar=double -I/builddir/build/BUILD/VTK-9.3.0.rc2/redhat-linux-build-serial/IO/PDAL -I/builddir/build/BUILD/VTK-9.3.0.rc2/IO/PDAL -I/builddir/build/BUILD/VTK-9.3.0.rc2/redhat-linux-build-serial/Common/Core -I/builddir/build/BUILD/VTK-9.3.0.rc2/Common/Core -I/builddir/build/BUILD/VTK-9.3.0.rc2/redhat-linux-build-serial/Common/ExecutionModel -I/builddir/build/BUILD/VTK-9.3.0.rc2/Common/ExecutionModel -I/builddir/build/BUILD/VTK-9.3.0.rc2/redhat-linux-build-serial/Common/DataModel -I/builddir/build/BUILD/VTK-9.3.0.rc2/Common/DataModel -I/builddir/build/BUILD/VTK-9.3.0.rc2/redhat-linux-build-serial/Common/Math -I/builddir/build/BUILD/VTK-9.3.0.rc2/Common/Math -I/builddir/build/BUILD/VTK-9.3.0.rc2/redhat-linux-build-serial/ThirdParty/kissfft/vtkkissfft -I/builddir/build/BUILD/VTK-9.3.0.rc2/ThirdParty/kissfft/vtkkissfft -I/builddir/build/BUILD/VTK-9.3.0.rc2/redhat-linux-build-serial/Common/Transforms -I/builddir/build/BUILD/VTK-9.3.0.rc2/Common/Transforms -I/builddir/build/BUILD/VTK-9.3.0.rc2/redhat-linux-build-serial/Filters/General -I/builddir/build/BUILD/VTK-9.3.0.rc2/Filters/General -I/builddir/build/BUILD/VTK-9.3.0.rc2/redhat-linux-build-serial/Common/Misc -I/builddir/build/BUILD/VTK-9.3.0.rc2/Common/Misc -I/builddir/build/BUILD/VTK-9.3.0.rc2/redhat-linux-build-serial/Filters/Core -I/builddir/build/BUILD/VTK-9.3.0.rc2/Filters/Core -isystem /builddir/build/BUILD/VTK-9.3.0.rc2/redhat-linux-build-serial/Utilities/KWIML -isystem /builddir/build/BUILD/VTK-9.3.0.rc2/Utilities/KWIML -isystem /builddir/build/BUILD/VTK-9.3.0.rc2/redhat-linux-build-serial/Utilities/KWSys -isystem /builddir/build/BUILD/VTK-9.3.0.rc2/Utilities/KWSys -isystem /builddir/build/BUILD/VTK-9.3.0.rc2/redhat-linux-build-serial/ThirdParty/kissfft -isystem /builddir/build/BUILD/VTK-9.3.0.rc2/ThirdParty/kissfft -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -D_UNICODE -DHAVE_UINTPTR_T -g -std=c++11 -fPIC -fvisibility=hidden -fvisibility-inlines-hidden -MD -MT IO/PDAL/CMakeFiles/IOPDAL.dir/vtkPDALReader.cxx.o -MF CMakeFiles/IOPDAL.dir/vtkPDALReader.cxx.o.d -o CMakeFiles/IOPDAL.dir/vtkPDALReader.cxx.o -c /builddir/build/BUILD/VTK-9.3.0.rc2/IO/PDAL/vtkPDALReader.cxx
gmake[2]: Leaving directory '/builddir/build/BUILD/VTK-9.3.0.rc2/redhat-linux-build-serial'
In file included from /usr/include/pdal/DimUtil.hpp:40,
from /usr/include/pdal/Dimension.hpp:9,
from /usr/include/pdal/Stage.hpp:39,
from /usr/include/pdal/Reader.hpp:37,
from /builddir/build/BUILD/VTK-9.3.0.rc2/IO/PDAL/vtkPDALReader.cxx:33:
/usr/include/pdal/util/Utils.hpp:975:31: error: ‘std::enable_if_t’ has not been declared
975 | template<typename T, std::enable_if_t<!std::is_integral<T>::value>* = nullptr>
| ^~~~~~~~~~~
/usr/include/pdal/util/Utils.hpp:975:42: error: expected ‘>’ before ‘<’ token
975 | template<typename T, std::enable_if_t<!std::is_integral<T>::value>* = nullptr>
| ^
/usr/include/pdal/util/Utils.hpp:994:31: error: ‘std::enable_if_t’ has not been declared
994 | template<typename T, std::enable_if_t<std::is_integral<T>::value>* = nullptr>
| ^~~~~~~~~~~
/usr/include/pdal/util/Utils.hpp:994:42: error: expected ‘>’ before ‘<’ token
994 | template<typename T, std::enable_if_t<std::is_integral<T>::value>* = nullptr>
| ^
/usr/include/pdal/util/Utils.hpp:995:22: error: redefinition of ‘template<class T, <typeprefixerror><anonymous> > pdal::Utils::StatusWithReason pdal::Utils::fromString(const std::string&, T&)’
995 | StatusWithReason fromString(const std::string& from, T& to)
| ^~~~~~~~~~
/usr/include/pdal/util/Utils.hpp:976:22: note: ‘template<class T, <typeprefixerror><anonymous> > pdal::Utils::StatusWithReason pdal::Utils::fromString(const std::string&, T&)’ previously declared here
976 | StatusWithReason fromString(const std::string& from, T& to)
| ^~~~~~~~~~
/usr/include/pdal/util/Utils.hpp:1012:29: error: template-id ‘fromString<>’ for ‘pdal::Utils::StatusWithReason pdal::Utils::fromString(const std::string&, std::string&)’ does not match any template declaration
1012 | inline StatusWithReason fromString(const std::string& from, std::string& to)
| ^~~~~~~~~~
/usr/include/pdal/util/Utils.hpp:976:22: note: candidates are: ‘template<class T, <typeprefixerror><anonymous> > pdal::Utils::StatusWithReason pdal::Utils::fromString(const std::string&, T&)’
976 | StatusWithReason fromString(const std::string& from, T& to)
| ^~~~~~~~~~
/usr/include/pdal/util/Utils.hpp:953:22: note: ‘template<class T> pdal::Utils::StatusWithReason pdal::Utils::fromString(const std::string&, T*&)’
953 | StatusWithReason fromString(const std::string& from, T* & to)
| ^~~~~~~~~~
/usr/include/pdal/util/Utils.hpp:1026:29: error: template-id ‘fromString<>’ for ‘pdal::Utils::StatusWithReason pdal::Utils::fromString(const std::string&, char&)’ does not match any template declaration
1026 | inline StatusWithReason fromString(const std::string& s, char& to)
| ^~~~~~~~~~
/usr/include/pdal/util/Utils.hpp:976:22: note: candidates are: ‘template<class T, <typeprefixerror><anonymous> > pdal::Utils::StatusWithReason pdal::Utils::fromString(const std::string&, T&)’
976 | StatusWithReason fromString(const std::string& from, T& to)
| ^~~~~~~~~~
/usr/include/pdal/util/Utils.hpp:953:22: note: ‘template<class T> pdal::Utils::StatusWithReason pdal::Utils::fromString(const std::string&, T*&)’
953 | StatusWithReason fromString(const std::string& from, T* & to)
| ^~~~~~~~~~
/usr/include/pdal/util/Utils.hpp:1057:29: error: template-id ‘fromString<>’ for ‘pdal::Utils::StatusWithReason pdal::Utils::fromString(const std::string&, unsigned char&)’ does not match any template declaration
1057 | inline StatusWithReason fromString(const std::string& s, unsigned char& to)
| ^~~~~~~~~~
/usr/include/pdal/util/Utils.hpp:976:22: note: candidates are: ‘template<class T, <typeprefixerror><anonymous> > pdal::Utils::StatusWithReason pdal::Utils::fromString(const std::string&, T&)’
976 | StatusWithReason fromString(const std::string& from, T& to)
| ^~~~~~~~~~
/usr/include/pdal/util/Utils.hpp:953:22: note: ‘template<class T> pdal::Utils::StatusWithReason pdal::Utils::fromString(const std::string&, T*&)’
953 | StatusWithReason fromString(const std::string& from, T* & to)
| ^~~~~~~~~~
/usr/include/pdal/util/Utils.hpp:1089:29: error: template-id ‘fromString<>’ for ‘pdal::Utils::StatusWithReason pdal::Utils::fromString(const std::string&, signed char&)’ does not match any template declaration
1089 | inline StatusWithReason fromString(const std::string& s, signed char& to)
| ^~~~~~~~~~
/usr/include/pdal/util/Utils.hpp:976:22: note: candidates are: ‘template<class T, <typeprefixerror><anonymous> > pdal::Utils::StatusWithReason pdal::Utils::fromString(const std::string&, T&)’
976 | StatusWithReason fromString(const std::string& from, T& to)
| ^~~~~~~~~~
/usr/include/pdal/util/Utils.hpp:953:22: note: ‘template<class T> pdal::Utils::StatusWithReason pdal::Utils::fromString(const std::string&, T*&)’
953 | StatusWithReason fromString(const std::string& from, T* & to)
| ^~~~~~~~~~
/usr/include/pdal/util/Utils.hpp:1120:29: error: template-id ‘fromString<>’ for ‘pdal::Utils::StatusWithReason pdal::Utils::fromString(const std::string&, double&)’ does not match any template declaration
1120 | inline StatusWithReason fromString(const std::string& s, double& d)
| ^~~~~~~~~~
/usr/include/pdal/util/Utils.hpp:976:22: note: candidates are: ‘template<class T, <typeprefixerror><anonymous> > pdal::Utils::StatusWithReason pdal::Utils::fromString(const std::string&, T&)’
976 | StatusWithReason fromString(const std::string& from, T& to)
| ^~~~~~~~~~
/usr/include/pdal/util/Utils.hpp:953:22: note: ‘template<class T> pdal::Utils::StatusWithReason pdal::Utils::fromString(const std::string&, T*&)’
953 | StatusWithReason fromString(const std::string& from, T* & to)
| ^~~~~~~~~~
In file included from /usr/include/pdal/Dimension.hpp:10:
/usr/include/pdal/pdal_types.hpp: In member function ‘bool pdal::XForm::XFormComponent::set(const std::string&)’:
/usr/include/pdal/pdal_types.hpp:156:48: error: no matching function for call to ‘fromString(const std::string&, double&)’
156 | failed = !Utils::fromString(sval, m_val);
| ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~
/usr/include/pdal/util/Utils.hpp:953:22: note: candidate: ‘template<class T> pdal::Utils::StatusWithReason pdal::Utils::fromString(const std::string&, T*&)’
953 | StatusWithReason fromString(const std::string& from, T* & to)
| ^~~~~~~~~~
/usr/include/pdal/util/Utils.hpp:953:22: note: template argument deduction/substitution failed:
/usr/include/pdal/pdal_types.hpp:156:48: note: mismatched types ‘T*’ and ‘double’
156 | failed = !Utils::fromString(sval, m_val);
| ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~
/usr/include/pdal/util/Utils.hpp:976:22: note: candidate: ‘template<class T, <typeprefixerror><anonymous> > pdal::Utils::StatusWithReason pdal::Utils::fromString(const std::string&, T&)’
976 | StatusWithReason fromString(const std::string& from, T& to)
| ^~~~~~~~~~
/usr/include/pdal/util/Utils.hpp:976:22: note: template argument deduction/substitution failed:
/usr/include/pdal/pdal_types.hpp:156:48: note: couldn’t deduce template parameter ‘<anonymous>’
156 | failed = !Utils::fromString(sval, m_val);
| ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~
In file included from /usr/include/pdal/Metadata.hpp:39,
from /usr/include/pdal/Stage.hpp:42:
/usr/include/pdal/util/Bounds.hpp: At global scope:
/usr/include/pdal/util/Bounds.hpp:738:29: error: template-id ‘fromString<>’ for ‘pdal::Utils::StatusWithReason pdal::Utils::fromString(const std::string&, pdal::BOX2D&)’ does not match any template declaration
738 | inline StatusWithReason fromString(const std::string& s, BOX2D& bounds)
| ^~~~~~~~~~
/usr/include/pdal/util/Utils.hpp:976:22: note: candidates are: ‘template<class T, <typeprefixerror><anonymous> > pdal::Utils::StatusWithReason pdal::Utils::fromString(const std::string&, T&)’
976 | StatusWithReason fromString(const std::string& from, T& to)
| ^~~~~~~~~~
/usr/include/pdal/util/Utils.hpp:953:22: note: ‘template<class T> pdal::Utils::StatusWithReason pdal::Utils::fromString(const std::string&, T*&)’
953 | StatusWithReason fromString(const std::string& from, T* & to)
| ^~~~~~~~~~
/usr/include/pdal/util/Bounds.hpp:755:29: error: template-id ‘fromString<>’ for ‘pdal::Utils::StatusWithReason pdal::Utils::fromString(const std::string&, pdal::BOX3D&)’ does not match any template declaration
755 | inline StatusWithReason fromString(const std::string& s, BOX3D& bounds)
| ^~~~~~~~~~
/usr/include/pdal/util/Utils.hpp:976:22: note: candidates are: ‘template<class T, <typeprefixerror><anonymous> > pdal::Utils::StatusWithReason pdal::Utils::fromString(const std::string&, T&)’
976 | StatusWithReason fromString(const std::string& from, T& to)
| ^~~~~~~~~~
/usr/include/pdal/util/Utils.hpp:953:22: note: ‘template<class T> pdal::Utils::StatusWithReason pdal::Utils::fromString(const std::string&, T*&)’
953 | StatusWithReason fromString(const std::string& from, T* & to)
| ^~~~~~~~~~
/usr/include/pdal/util/Bounds.hpp:772:29: error: template-id ‘fromString<>’ for ‘pdal::Utils::StatusWithReason pdal::Utils::fromString(const std::string&, pdal::Bounds&)’ does not match any template declaration
772 | inline StatusWithReason fromString(const std::string& s, Bounds& bounds)
| ^~~~~~~~~~
/usr/include/pdal/util/Utils.hpp:976:22: note: candidates are: ‘template<class T, <typeprefixerror><anonymous> > pdal::Utils::StatusWithReason pdal::Utils::fromString(const std::string&, T&)’
976 | StatusWithReason fromString(const std::string& from, T& to)
| ^~~~~~~~~~
/usr/include/pdal/util/Utils.hpp:953:22: note: ‘template<class T> pdal::Utils::StatusWithReason pdal::Utils::fromString(const std::string&, T*&)’
953 | StatusWithReason fromString(const std::string& from, T* & to)
| ^~~~~~~~~~
/usr/include/pdal/Metadata.hpp: In function ‘T pdal::MetadataDetail::value(const std::string&, const std::string&) [with T = bool; std::string = std::__cxx11::basic_string<char>]’:
/usr/include/pdal/Metadata.hpp:398:27: error: no matching function for call to ‘fromString(const std::string&, bool&)’
398 | if (!Utils::fromString(value, b))
| ~~~~~~~~~~~~~~~~~^~~~~~~~~~
/usr/include/pdal/util/Utils.hpp:953:22: note: candidate: ‘template<class T> pdal::Utils::StatusWithReason pdal::Utils::fromString(const std::string&, T*&)’
953 | StatusWithReason fromString(const std::string& from, T* & to)
| ^~~~~~~~~~
/usr/include/pdal/util/Utils.hpp:953:22: note: template argument deduction/substitution failed:
/usr/include/pdal/Metadata.hpp:398:27: note: mismatched types ‘T*’ and ‘bool’
398 | if (!Utils::fromString(value, b))
| ~~~~~~~~~~~~~~~~~^~~~~~~~~~
/usr/include/pdal/util/Utils.hpp:976:22: note: candidate: ‘template<class T, <typeprefixerror><anonymous> > pdal::Utils::StatusWithReason pdal::Utils::fromString(const std::string&, T&)’
976 | StatusWithReason fromString(const std::string& from, T& to)
| ^~~~~~~~~~
/usr/include/pdal/util/Utils.hpp:976:22: note: template argument deduction/substitution failed:
/usr/include/pdal/Metadata.hpp:398:27: note: couldn’t deduce template parameter ‘<anonymous>’
398 | if (!Utils::fromString(value, b))
| ~~~~~~~~~~~~~~~~~^~~~~~~~~~
In file included from /usr/include/pdal/Kernel.hpp:46,
from /usr/include/pdal/PluginHelper.hpp:43,
from /usr/include/pdal/Stage.hpp:45:
/usr/include/pdal/util/ProgramArgs.hpp: In instantiation of ‘void pdal::TArg<T>::setValue(const std::string&) [with T = std::__cxx11::basic_string<char>; std::string = std::__cxx11::basic_string<char>]’:
/usr/include/pdal/util/ProgramArgs.hpp:400:18: required from here
/usr/include/pdal/util/ProgramArgs.hpp:414:40: error: no matching function for call to ‘fromString(const std::string&, std::__cxx11::basic_string<char>&)’
414 | auto status = Utils::fromString(s, m_var);
| ~~~~~~~~~~~~~~~~~^~~~~~~~~~
/usr/include/pdal/util/Utils.hpp:953:22: note: candidate: ‘template<class T> pdal::Utils::StatusWithReason pdal::Utils::fromString(const std::string&, T*&)’
953 | StatusWithReason fromString(const std::string& from, T* & to)
| ^~~~~~~~~~
/usr/include/pdal/util/Utils.hpp:953:22: note: template argument deduction/substitution failed:
/usr/include/pdal/util/ProgramArgs.hpp:414:40: note: mismatched types ‘T*’ and ‘std::__cxx11::basic_string<char>’
414 | auto status = Utils::fromString(s, m_var);
| ~~~~~~~~~~~~~~~~~^~~~~~~~~~
/usr/include/pdal/util/Utils.hpp:976:22: note: candidate: ‘template<class T, <typeprefixerror><anonymous> > pdal::Utils::StatusWithReason pdal::Utils::fromString(const std::string&, T&)’
976 | StatusWithReason fromString(const std::string& from, T& to)
| ^~~~~~~~~~
/usr/include/pdal/util/Utils.hpp:976:22: note: template argument deduction/substitution failed:
/usr/include/pdal/util/ProgramArgs.hpp:414:40: note: couldn’t deduce template parameter ‘<anonymous>’
414 | auto status = Utils::fromString(s, m_var);
| ~~~~~~~~~~~~~~~~~^~~~~~~~~~
gmake[2]: *** [IO/PDAL/CMakeFiles/IOPDAL.dir/build.make:79: IO/PDAL/CMakeFiles/IOPDAL.dir/vtkPDALReader.cxx.o] Error 1
```