VTK issueshttps://gitlab.kitware.com/vtk/vtk/-/issues2019-11-12T20:12:55-05:00https://gitlab.kitware.com/vtk/vtk/-/issues/17725Build error in VTK-based project: “include called with wrong number of argume...2019-11-12T20:12:55-05:00Andras LassoBuild error in VTK-based project: “include called with wrong number of arguments. include() only takes one file.”Build fails when a VTK-based library is configured with VTK-8.90. It worked well with VTK-8.2.
The error message is:
include called with wrong number of arguments. include() only takes one file.
After some digging and internet search ...Build fails when a VTK-based library is configured with VTK-8.90. It worked well with VTK-8.2.
The error message is:
include called with wrong number of arguments. include() only takes one file.
After some digging and internet search it turned out that it caused trouble at a number of other projects, too (VTK examples, PCL, etc).
The solution is to delete include(${VTK_USE_FILE}), which was necessary for building with older VTK versions.
To make transition of projects to VTK-8.9 easier and avoid unnecessary developer frustration, please create a dummy VTK_USE_FILE that prints a meaningful warning message (or prints an error message and aborts the build). This mechanism only needs to kept until most projects make their transition (can be removed in a couple of years).9.0Ben BoeckelBen Boeckelhttps://gitlab.kitware.com/vtk/vtk/-/issues/17731Upgrade mpi4py for python 3.82019-12-11T06:56:21-05:00Nicolas VuailleUpgrade mpi4py for python 3.8mpi4py as used in VTK cannot be build with python3.8.
Referring to the upstream repo (https://bitbucket.org/mpi4py/mpi4py/commits/all), the version 3.0.3 should be OK.
Is it possible to upgrade mpi4py ?
* python 3.8.0
* openmpi 4.0.2...mpi4py as used in VTK cannot be build with python3.8.
Referring to the upstream repo (https://bitbucket.org/mpi4py/mpi4py/commits/all), the version 3.0.3 should be OK.
Is it possible to upgrade mpi4py ?
* python 3.8.0
* openmpi 4.0.2
* gcc 9.2.0
* vtk 968566a0697e425ca461f5b93af2ba90964340e2
* cython 0.29.149.0Ben BoeckelBen Boeckelhttps://gitlab.kitware.com/vtk/vtk/-/issues/17733Paraview 5.7 fails to build with openmpi on Fedora Rawhide2022-05-19T18:16:09-04:00Orion PoplawskiParaview 5.7 fails to build with openmpi on Fedora RawhideTrying to update the Fedora paraview package to 5.7. Getting the following:
```
[ 97%] Linking CXX executable ../bin/pvserver
cd /builddir/build/BUILD/ParaView-v5.7.0/s390x-redhat-linux-gnu-openmpi/CommandLineExecutables && /usr/bin/cma...Trying to update the Fedora paraview package to 5.7. Getting the following:
```
[ 97%] Linking CXX executable ../bin/pvserver
cd /builddir/build/BUILD/ParaView-v5.7.0/s390x-redhat-linux-gnu-openmpi/CommandLineExecutables && /usr/bin/cmake -E cmake_link_script CMakeFiles/pvserver.dir/link.txt --verbose=1
/usr/bin/c++ -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=zEC12 -mtune=z13 -fasynchronous-unwind-tables -fstack-clash-protection -O2 -g -DNDEBUG -Wl,-lc -Wl,-lc -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld CMakeFiles/pvserver.dir/pvserver.cxx.o -o ../bin/pvserver -Wl,-rpath,"\$ORIGIN/../lib64:/usr/lib64/openmpi/lib:" ../lib64/libvtkPVServerManagerApplication-pv5.7.so.5.7 ../lib64/libvtkUtilitiesPythonInitializer-pv5.7.so.5.7 ../lib64/libvtkPVServerManagerCore-pv5.7.so.5.7 ../lib64/libvtkPVServerImplementationCore-pv5.7.so.5.7 ../lib64/libvtkPVClientServerCoreCore-pv5.7.so.5.7 ../lib64/libvtkPVVTKExtensionsCore-pv5.7.so.5.7 ../lib64/libvtkPVCore-pv5.7.so.5.7 ../lib64/libvtkClientServer-pv5.7.so.5.7 ../lib64/libvtkPythonInterpreter-pv5.7.so.5.7 ../lib64/libvtkIOXMLParser-pv5.7.so.5.7 ../lib64/libvtkIOImage-pv5.7.so.5.7 ../lib64/libvtkPVVTKExtensionsSIL-pv5.7.so.5.7 ../lib64/libvtkFiltersParallel-pv5.7.so.5.7 ../lib64/libvtkFiltersExtraction-pv5.7.so.5.7 ../lib64/libvtkFiltersModeling-pv5.7.so.5.7 ../lib64/libvtkFiltersSources-pv5.7.so.5.7 ../lib64/libvtkFiltersGeneral-pv5.7.so.5.7 ../lib64/libvtkFiltersGeometry-pv5.7.so.5.7 ../lib64/libvtkFiltersCore-pv5.7.so.5.7 ../lib64/libvtkParallelCore-pv5.7.so.5.7 ../lib64/libvtkIOLegacy-pv5.7.so.5.7 ../lib64/libvtkIOCore-pv5.7.so.5.7 /usr/lib64/libprotobuf.so /usr/lib64/libjsoncpp.so ../lib64/libvtkCommonExecutionModel-pv5.7.so.5.7 ../lib64/libvtkCommonDataModel-pv5.7.so.5.7 ../lib64/libvtkCommonSystem-pv5.7.so.5.7 ../lib64/libvtkCommonMisc-pv5.7.so.5.7 ../lib64/libvtkCommonTransforms-pv5.7.so.5.7 ../lib64/libvtkCommonMath-pv5.7.so.5.7 ../lib64/libvtkCommonCore-pv5.7.so.5.7 -lpthread /usr/lib64/libpython3.8.so ../lib64/libvtksys-pv5.7.so.5.7 -ldl -Wl,-rpath-link,/builddir/build/BUILD/ParaView-v5.7.0/s390x-redhat-linux-gnu-openmpi/lib64:/usr/lib64/openmpi/lib
make[2]: Leaving directory '/builddir/build/BUILD/ParaView-v5.7.0/s390x-redhat-linux-gnu-openmpi'
/usr/bin/ld: /builddir/build/BUILD/ParaView-v5.7.0/s390x-redhat-linux-gnu-openmpi/lib64/libvtkIOXdmf2-pv5.7.so.1: undefined reference to `ompi_mpi_cxx_op_intercept'
/usr/bin/ld: /builddir/build/BUILD/ParaView-v5.7.0/s390x-redhat-linux-gnu-openmpi/lib64/libvtkIOXdmf2-pv5.7.so.1: undefined reference to `MPI::Win::Free()'
/usr/bin/ld: /builddir/build/BUILD/ParaView-v5.7.0/s390x-redhat-linux-gnu-openmpi/lib64/libvtkIOXdmf2-pv5.7.so.1: undefined reference to `MPI::Datatype::Free()'
/usr/bin/ld: /builddir/build/BUILD/ParaView-v5.7.0/s390x-redhat-linux-gnu-openmpi/lib64/libvtkIOXdmf2-pv5.7.so.1: undefined reference to `MPI::Comm::Comm()'
collect2: error: ld returned 1 exit status
make[2]: *** [CommandLineExecutables/CMakeFiles/pvserver.dir/build.make:120: bin/pvserver] Error 1
```
Full log: https://kojipkgs.fedoraproject.org//work/tasks/1379/39091379/build.log. See this on all arches.9.0Ben BoeckelBen Boeckelhttps://gitlab.kitware.com/vtk/vtk/-/issues/17748Java wrapping of external projects no longer works (VTK 8.90)2020-04-23T14:23:03-04:00David GobbiJava wrapping of external projects no longer works (VTK 8.90)In VTK 8.2 and earlier, vtkCommonCoreJava and the other Java targets were exported via `VTKTargets.cmake`. In VTK 8.90, the Java targets are no longer exported, which makes external Java wrapping impossible.
For this reason, I removed ...In VTK 8.2 and earlier, vtkCommonCoreJava and the other Java targets were exported via `VTKTargets.cmake`. In VTK 8.90, the Java targets are no longer exported, which makes external Java wrapping impossible.
For this reason, I removed the Java wrapping from the vtkMy example in !6247. The Java targets should be re-exported and the Java wrapping code should be re-inserted into vtkMy so that external wrapping can be tested.Ben BoeckelBen Boeckelhttps://gitlab.kitware.com/vtk/vtk/-/issues/17753libproj >= 62020-04-29T09:26:41-04:00Nico Schlömerlibproj >= 6While VTK itself ships libproj 4.9.3, it's compatible with versions 5.* as well. It's _not_ compatible with version 6.* though. There should probably be a test in `CMake/FindLibPROJ.cmake`.While VTK itself ships libproj 4.9.3, it's compatible with versions 5.* as well. It's _not_ compatible with version 6.* though. There should probably be a test in `CMake/FindLibPROJ.cmake`.https://gitlab.kitware.com/vtk/vtk/-/issues/17756Update vendored expat2020-07-08T15:49:28-04:00Ben BoeckelUpdate vendored expatExpat 2.2.9 is out, but we import 2.2.6. There was some issue with updating in !6340 that needs looked at.Expat 2.2.9 is out, but we import 2.2.6. There was some issue with updating in !6340 that needs looked at.Cory Quammencory.quammen@kitware.comCory Quammencory.quammen@kitware.comhttps://gitlab.kitware.com/vtk/vtk/-/issues/17810python wheel created on OS X leads to broken python module2020-03-20T13:34:45-04:00Noam Bernsteinpython wheel created on OS X leads to broken python moduleI'm trying to use the wheel creation process in the current master (pre-9.0) with macports python 3.8.2. There's also an ongoing discussion at [text](https://discourse.vtk.org/t/python-3-8-wheel-on-mac-os-x/2850/7). I can enable `VTK_BU...I'm trying to use the wheel creation process in the current master (pre-9.0) with macports python 3.8.2. There's also an ongoing discussion at [text](https://discourse.vtk.org/t/python-3-8-wheel-on-mac-os-x/2850/7). I can enable `VTK_BUILD_WHEEL` in cmake, compile, and do `python setup.py bdist_wheel` apparently successfully, but the resulting wheel leads to a broken module. When I try to `import vtk`, I get
```>>> import vtk
Traceback (most recent call last):
File "/Users/bernstei/Library/Python/3.8/lib/python/site-packages/vtkmodules/__init__.py", line 13, in <module>
from . import vtkCommonCore
ImportError: dlopen(/Users/bernstei/Library/Python/3.8/lib/python/site-packages/vtkmodules/vtkCommonCore.cpython-38-darwin.so, 2): Library not loaded: @rpath/libvtkWrappingPythonCore.1.dylib
Referenced from: /Users/bernstei/Library/Python/3.8/lib/python/site-packages/vtkmodules/vtkCommonCore.cpython-38-darwin.so
Reason: image not found
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "/Users/bernstei/Library/Python/3.8/lib/python/site-packages/vtk.py", line 30, in <module>
all_m = importlib.import_module('vtkmodules.all')
File "/opt/local/Library/Frameworks/Python.framework/Versions/3.8/lib/python3.8/importlib/__init__.py", line 127, in import_module
return _bootstrap._gcd_import(name[level:], package, level)
File "/Users/bernstei/Library/Python/3.8/lib/python/site-packages/vtkmodules/__init__.py", line 15, in <module>
import _vtkmodules_static
ModuleNotFoundError: No module named '_vtkmodules_static'
```
If I add `$HOME/Library/Python/3.8/lib/python/site-packages/vtkmodule` to DYLD_LIBRARY_PATH it works, suggesting to me that the libraries are not in the expected place (either in the wrong place, or not correctly indicating to python or the dyld loader where they are).9.0Ben BoeckelBen Boeckelhttps://gitlab.kitware.com/vtk/vtk/-/issues/17811FindNetCDF.cmake creates an unusable namespaced library2020-03-25T21:03:11-04:00Kyle BentleyFindNetCDF.cmake creates an unusable namespaced libraryI am using the CMake module for NetCDF in a different project, and I found what may be a small oversight in the CMake section of the NetCDF module provided by VTK.
Colleagues and myself were noticing that with the new release of netCDF,...I am using the CMake module for NetCDF in a different project, and I found what may be a small oversight in the CMake section of the NetCDF module provided by VTK.
Colleagues and myself were noticing that with the new release of netCDF, 4.7.3, that the namespaced version of the library, NetCDF::NetCDF, caused linking errors. It took us a moment to realize that while that imported target has the correct library name - netCDF, it doesn't provide any path information. This caused a situation where our build would find the locally compiled netCDF library, by name, but at link time would find an older system library in /usr/lib that didn't have the newer symbols. This happened even when using target_link_directories explicitly. When we hardcode the path to the correct library, all works as expected.
We were able to temporarily work around the issue by using the exported target netCDF_LIB_DIR from the lib/cmake/*config, and altering the target properties on the namespace to be SHARED instead of INTERFACE, and providing an IMPORTED_LOCATION based on the libname, and the netCDF_LIB_DIR above. The code below shows the changes we made (roughly). Is this an appropriate approach? I'm fairly well-versed in CMake, but I feel as if I'm missing something, or that it's not quite working as intended, compared to similarly namespaced targets. It'll work for us, on a single machine, but otherwise it goes against the 'create relocatable package' guidelines from CMake.
Any advice? Is there a way to get the path information using the Module as-is? Thanks in advance.
Old Section of code
```
# Try to find a CMake-built NetCDF.
find_package(netCDF CONFIG QUIET)
if (netCDF_FOUND)
# Forward the variables in a consistent way.
set(NetCDF_FOUND "${netCDF_FOUND}")
set(NetCDF_INCLUDE_DIRS "${netCDF_INCLUDE_DIR}")
set(NetCDF_LIBRARIES "${netCDF_LIBRARIES}")
set(NetCDF_VERSION "${NetCDFVersion}")
if (NOT TARGET NetCDF::NetCDF)
add_library(NetCDF::NetCDF INTERFACE IMPORTED)
set_target_properties(NetCDF::NetCDF PROPERTIES
INTERFACE_LINK_LIBRARIES "${NetCDF_LIBRARIES}")
endif ()
# Skip the rest of the logic in this file.
return ()
endif ()
```
New section of code
```
# Try to find a CMake-built NetCDF.
find_package(netCDF CONFIG QUIET)
if (netCDF_FOUND)
# Forward the variables in a consistent way.
set(NetCDF_FOUND "${netCDF_FOUND}")
set(NetCDF_INCLUDE_DIRS "${netCDF_INCLUDE_DIR}")
set(NetCDF_LIBRARIES "${netCDF_LIBRARIES}")
set(NetCDF_VERSION "${NetCDFVersion}")
set(NetCDF_LIBRARY_DIR "${netCDF_LIB_DIR}") <------------------- New
if (NOT TARGET NetCDF::NetCDF)
add_library(NetCDF::NetCDF SHARED IMPORTED) <------------------- Changed
set_target_properties(NetCDF::NetCDF PROPERTIES <------------------- Changed
IMPORTED_LOCATION "${NetCDF_LIBRARY_DIR}"/lib"${NetCDF_LIBRARIES}".so)
endif ()
# Skip the rest of the logic in this file.
return ()
endif ()
```9.0Ben BoeckelBen Boeckelhttps://gitlab.kitware.com/vtk/vtk/-/issues/17816VTK Wheel not working in Python3.82020-04-02T15:01:13-04:00ThiagoVTK Wheel not working in Python3.8Hi,
I've downloaded the VTK using git. I have the last commit (118d20aacadff5e3bba489d1ebb422f7858c72ca). I'm configuring and generating the Wheel this way:
```
cmake -GNinja -DVTK_BUILD_DOCUMENTATION=OFF -DVTK_BUILD_EXAMPLES=OFF -DBUI...Hi,
I've downloaded the VTK using git. I have the last commit (118d20aacadff5e3bba489d1ebb422f7858c72ca). I'm configuring and generating the Wheel this way:
```
cmake -GNinja -DVTK_BUILD_DOCUMENTATION=OFF -DVTK_BUILD_EXAMPLES=OFF -DBUILD_SHARED_LIBS=ON -DOpenGL_GL_PREFERENCE=GLVND -DVTK_USE_TK=OFF -DVTK_WRAP_JAVA=OFF -DVTK_WRAP_PYTHON=ON -DVTK_PYTHON_VERSION:STRING=3 -DVTK_WHEEL_BUILD=ON -DVTK_WRAP_TCL=OFF -DVTK_USE_CUDA=ON -DCMAKE_BUILD_TYPE=Release ../vtk/
ninja
python3 setup.py bdist_wheel
pip3 install ./dist/vtk-9.0.0-cp38-cp38-linux_x86_64.whl
```
I'm installing the wheel inside a virtualenv. When I try to import vtk that error that happens:
```
$ python
Python 3.8.2 (default, Mar 13 2020, 10:14:16)
[GCC 9.3.0] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>> import vtk
Traceback (most recent call last):
File "/home/thiago/.virtualenvs/vtk90/lib/python3.8/site-packages/vtkmodules/__init__.py", line 13, in <module>
from . import vtkCommonCore
ImportError: cannot import name 'vtkCommonCore' from partially initialized module 'vtkmodules' (most likely due to a circular import) (/home/thiago/.virtualenvs/vtk90/lib/python3.8/site-packages/vtkmodules/__init__.py)
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "/home/thiago/.virtualenvs/vtk90/lib/python3.8/site-packages/vtk.py", line 30, in <module>
all_m = importlib.import_module('vtkmodules.all')
File "/home/thiago/.virtualenvs/vtk90/lib/python3.8/importlib/__init__.py", line 127, in import_module
return _bootstrap._gcd_import(name[level:], package, level)
File "/home/thiago/.virtualenvs/vtk90/lib/python3.8/site-packages/vtkmodules/__init__.py", line 15, in <module>
import _vtkmodules_static
ModuleNotFoundError: No module named '_vtkmodules_static
```9.0Ben BoeckelBen Boeckelhttps://gitlab.kitware.com/vtk/vtk/-/issues/17823Show KWSys within VTK doc2020-03-31T08:31:41-04:00Mathieu Westphal (Kitware)Show KWSys within VTK docCurrently, KWSys doc is not visible anywhere, requiring to read the headers.
It would be nice to use doxygen and generate this doc within VTK.Currently, KWSys doc is not visible anywhere, requiring to read the headers.
It would be nice to use doxygen and generate this doc within VTK.https://gitlab.kitware.com/vtk/vtk/-/issues/17825Java wrappers aren't installed2020-04-09T13:01:05-04:00Kyle EdwardsJava wrappers aren't installedFrom [`Wrapping/Java/CMakeLists.txt`:229-232](https://gitlab.kitware.com/vtk/vtk/-/blob/2258f9fd069d0e5f8aacd34ab6b2db850df3f3ed/Wrapping/Java/CMakeLists.txt#L229):
```cmake
return ()
# Add the option to package VTK for custom Java pac...From [`Wrapping/Java/CMakeLists.txt`:229-232](https://gitlab.kitware.com/vtk/vtk/-/blob/2258f9fd069d0e5f8aacd34ab6b2db850df3f3ed/Wrapping/Java/CMakeLists.txt#L229):
```cmake
return ()
# Add the option to package VTK for custom Java packaging
option(VTK_JAVA_INSTALL "Use the Java rules to build the native libraries." OFF)
```
This seems to have been caused by f324194d279.Ben BoeckelBen Boeckelhttps://gitlab.kitware.com/vtk/vtk/-/issues/17826SOABI detection is incorrect on Windows2020-04-02T19:47:55-04:00Ben BoeckelSOABI detection is incorrect on WindowsPer @federico.miorelli in https://gitlab.kitware.com/vtk/vtk/-/issues/17816#note_720667
> I will add that when using this mechanism, the name of the pyd files that are generated is vtkCommonCore.None.pyd
Cc: @marc.chevrierPer @federico.miorelli in https://gitlab.kitware.com/vtk/vtk/-/issues/17816#note_720667
> I will add that when using this mechanism, the name of the pyd files that are generated is vtkCommonCore.None.pyd
Cc: @marc.chevrier9.0Ben BoeckelBen Boeckelhttps://gitlab.kitware.com/vtk/vtk/-/issues/17827Don't rely on the existence of execinfo2020-04-02T09:07:31-04:00Jürgen FuhrmannDon't rely on the existence of execinfoHi,
one more from the Julia BinaryBuilder:
```
Building CXX object ThirdParty/loguru/vtkloguru/CMakeFiles/loguru.dir/loguru.cpp.o
cd /workspace/srcdir/build/ThirdParty/loguru/vtkloguru && /opt/bin/aarch64-linux-musl-g++ --sysroot=/opt/a...Hi,
one more from the Julia BinaryBuilder:
```
Building CXX object ThirdParty/loguru/vtkloguru/CMakeFiles/loguru.dir/loguru.cpp.o
cd /workspace/srcdir/build/ThirdParty/loguru/vtkloguru && /opt/bin/aarch64-linux-musl-g++ --sysroot=/opt/aarch64-linux-musl/aarch64-linux-musl/sys-root/ -DVTK_IN_VTK -Dloguru_EXPORTS -I/workspace/srcdir/build/ThirdParty/loguru/vtkloguru -I/workspace/srcdir/vtk-496e01f755421cc12dc52d40d8143299af9c6325/ThirdParty/loguru/vtkloguru -isystem /workspace/srcdir/build/ThirdParty/loguru -isystem /workspace/srcdir/vtk-496e01f755421cc12dc52d40d8143299af9c6325/ThirdParty/loguru -O3 -DNDEBUG -fPIC -fvisibility=hidden -fvisibility-inlines-hidden -std=c++11 -o CMakeFiles/loguru.dir/loguru.cpp.o -c /workspace/srcdir/vtk-496e01f755421cc12dc52d40d8143299af9c6325/ThirdParty/loguru/vtkloguru/loguru.cpp
/workspace/srcdir/vtk-496e01f755421cc12dc52d40d8143299af9c6325/ThirdParty/loguru/vtkloguru/loguru.cpp:91:11: fatal error: execinfo.h: No such file or directory
91 | #include <execinfo.h> // for backtrace
| ^~~~~~~~~~~~
compilation terminated.
```
This comes out of cross compiling for a system with the musl libc . Googling of "execinfo.h musl" finds
a number of other such cases. As far as I understand it's not POSIX, so may be it can be #ifdef'ed out with a cmake check...https://gitlab.kitware.com/vtk/vtk/-/issues/17836Add ORDER_DEPENDS for modules2020-04-08T15:53:24-04:00Ben BoeckelAdd ORDER_DEPENDS for modulesSometimes a module must be built before another, but is not needed for linking. In #17835, it is due to CMake variables only guaranteed to be set in that module which end up being used elsewhere.
Cc: @utkarsh.ayachit @brad.king @robertm...Sometimes a module must be built before another, but is not needed for linking. In #17835, it is due to CMake variables only guaranteed to be set in that module which end up being used elsewhere.
Cc: @utkarsh.ayachit @brad.king @robertmaynardBen BoeckelBen Boeckelhttps://gitlab.kitware.com/vtk/vtk/-/issues/17848libxml2 compile error2021-05-15T15:13:51-04:00skn123libxml2 compile errorOS: Windows 10
Compiler: VS 2019 community edition
Error:
```
3>C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\MSBuild\Microsoft\VC\v160\Microsoft.CppCommon.targets(231,5): warning MSB8064: Custom build for item "C:\srcs\...OS: Windows 10
Compiler: VS 2019 community edition
Error:
```
3>C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\MSBuild\Microsoft\VC\v160\Microsoft.CppCommon.targets(231,5): warning MSB8064: Custom build for item "C:\srcs\VTK\ThirdParty\libxml2\vtklibxml2\CMakeLists.txt" succeeded, but specified dependency "c:\srcs\vtk\thirdparty\libxml2\vtklibxml2\cmakelists.txt" does not exist. This may cause incremental build to work incorrectly.
3>C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\MSBuild\Microsoft\VC\v160\Microsoft.CppCommon.targets(231,5): warning MSB8064: Custom build for item "C:\srcs\VTK\ThirdParty\libxml2\vtklibxml2\CMakeLists.txt" succeeded, but specified dependency "c:\srcs\vtk\thirdparty\libxml2\vtklibxml2\config_cmake.h.in" does not exist. This may cause incremental build to work incorrectly.
3>C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\MSBuild\Microsoft\VC\v160\Microsoft.CppCommon.targets(231,5): warning MSB8064: Custom build for item "C:\srcs\VTK\ThirdParty\libxml2\vtklibxml2\CMakeLists.txt" succeeded, but specified dependency "c:\srcs\vtk\thirdparty\libxml2\vtklibxml2\include\libxml\xmlversion.h.in" does not exist. This may cause incremental build to work incorrectly.
3>C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\MSBuild\Microsoft\VC\v160\Microsoft.CppCommon.targets(231,5): warning MSB8064: Custom build for item "C:\srcs\VTK\ThirdParty\libxml2\vtklibxml2\CMakeLists.txt" succeeded, but specified dependency "c:\srcs\vtk\thirdparty\libxml2\vtklibxml2\libxml2platformtests.cmake" does not exist. This may cause incremental build to work incorrectly.
3>DOCBparser.c
3>C:\srcs\VTK\ThirdParty\libxml2\vtklibxml2\libxml.h(92,71): error C2061: syntax error: identifier 'LIBXML_ATTR_FORMAT'
3>C:\srcs\VTK\ThirdParty\libxml2\vtklibxml2\libxml.h(92,71): error C2059: syntax error: ';'
```
I checked this file and could not find the offending piece of code 'LIBXML_ATTR_FORMAT' in older versions. Has something changed?https://gitlab.kitware.com/vtk/vtk/-/issues/17852Fix example PATH handling2021-04-14T16:11:53-04:00Ben BoeckelFix example PATH handlingIn the Examples code, `PATH` is set as a test property at configure time. Instead, the `TEST_INCLUDE_FILES` directory property should be used to augment the environment at test time. It looks like this is available in 3.12.
Cc: @tjcoron...In the Examples code, `PATH` is set as a test property at configure time. Instead, the `TEST_INCLUDE_FILES` directory property should be used to augment the environment at test time. It looks like this is available in 3.12.
Cc: @tjcorona @brad.kingBen BoeckelBen Boeckelhttps://gitlab.kitware.com/vtk/vtk/-/issues/17868Compile error 9.0RC3, VS 2017, Windows 10, snprintf2020-04-28T00:27:47-04:00Kathleen BiagasCompile error 9.0RC3, VS 2017, Windows 10, snprintfI am using CMake 3.12.2, VS 2017 15.9.22 on a Windows 10 machine.
When I compile, I get errors in libxml2 and tiff:
```
Macro redefinition of 'snprintf' conflicts with Standard Library definition.
```
I have traced it to ThirdParty/libxm...I am using CMake 3.12.2, VS 2017 15.9.22 on a Windows 10 machine.
When I compile, I get errors in libxml2 and tiff:
```
Macro redefinition of 'snprintf' conflicts with Standard Library definition.
```
I have traced it to ThirdParty/libxml2/vtklibxml/CMakeLists.txt, which calls
```
check_sybmol_exists(snprintf "${LIBXML_INCLUDES}" HAVE_SNPRINTF)
```
However, LIBXML_INCLUDES does not list stdio.h which is where snprint is defined, so HAVE_SNPRINTF is set to false.
when ThirdParty/tiff/vtktiff/CMakeLists also checks for snprintf with its call to
```
check_symbol_exists(snprintf "stdio.h" HAVE_SNPRINTF)
```
which should succeed, it doesn’t, because HAVE_SNPRINTF has already been set.
There is a build path where the check for ‘snprintf’ happens before libxml’s check, then things work.
I think that is when vtkhdf5 is included in the build. For my use case, I am not using vtkhdf5.Ben BoeckelBen Boeckelhttps://gitlab.kitware.com/vtk/vtk/-/issues/17875[VTK 9.0] Ninja build error with external vtk-m2020-05-04T08:41:31-04:00Alexander Neumann[VTK 9.0] Ninja build error with external vtk-mError:
`ninja: error: build.ninja:96011: unknown pool name 'vtkm_pool'`
Probable reason:
```
vtk_module_set_property(VTK::AcceleratorsVTKm
PROPERTY JOB_POOL_COMPILE
VALUE vtkm_pool)
```
Can I simply patch that out?Error:
`ninja: error: build.ninja:96011: unknown pool name 'vtkm_pool'`
Probable reason:
```
vtk_module_set_property(VTK::AcceleratorsVTKm
PROPERTY JOB_POOL_COMPILE
VALUE vtkm_pool)
```
Can I simply patch that out?https://gitlab.kitware.com/vtk/vtk/-/issues/17876[VTK 9.0] Building with external PEGTL not working.2021-05-15T15:29:23-04:00Alexander Neumann[VTK 9.0] Building with external PEGTL not working.`-- Found PEGTL: D:/qt2/installed/x64-windows/include/tao (found suitable version "3.0.0", minimum required is "2.0.0") `
Error:
```
FAILED: IO/MotionFX/CMakeFiles/IOMotionFX.dir/vtkMotionFXCFGReader.cxx.obj
C:\PROGRA~2\MIB055~1\2019\C...`-- Found PEGTL: D:/qt2/installed/x64-windows/include/tao (found suitable version "3.0.0", minimum required is "2.0.0") `
Error:
```
FAILED: IO/MotionFX/CMakeFiles/IOMotionFX.dir/vtkMotionFXCFGReader.cxx.obj
C:\PROGRA~2\MIB055~1\2019\COMMUN~1\VC\Tools\MSVC\1425~1.286\bin\Hostx64\x64\cl.exe /TP -DIOMotionFX_EXPORTS -DVTK_IN_VTK -D_CRT_NONSTDC_NO_DEPRECATE -D_CRT_SECURE_NO_DEPRECATE -D_CRT_SECURE_NO_WARNINGS -D_SCL_SECURE_NO_DEPRECATE -D_SCL_SECURE_NO_WARNINGS -IIO\MotionFX -ID:\qt2\buildtrees\vtk\src\a3ddafb3ad-6f3d1d5aad\IO\MotionFX -ICommon\ExecutionModel -ID:\qt2\buildtrees\vtk\src\a3ddafb3ad-6f3d1d5aad\Common\ExecutionModel -ICommon\Core -ID:\qt2\buildtrees\vtk\src\a3ddafb3ad-6f3d1d5aad\Common\Core -ICommon\DataModel -ID:\qt2\buildtrees\vtk\src\a3ddafb3ad-6f3d1d5aad\Common\DataModel -ICommon\Math -ID:\qt2\buildtrees\vtk\src\a3ddafb3ad-6f3d1d5aad\Common\Math -ICommon\Transforms -ID:\qt2\buildtrees\vtk\src\a3ddafb3ad-6f3d1d5aad\Common\Transforms -ICommon\Misc -ID:\qt2\buildtrees\vtk\src\a3ddafb3ad-6f3d1d5aad\Common\Misc -IIO\Geometry -ID:\qt2\buildtrees\vtk\src\a3ddafb3ad-6f3d1d5aad\IO\Geometry -IIO\Core -ID:\qt2\buildtrees\vtk\src\a3ddafb3ad-6f3d1d5aad\IO\Core -IIO\Legacy -ID:\qt2\buildtrees\vtk\src\a3ddafb3ad-6f3d1d5aad\IO\Legacy -IUtilities\KWIML -ID:\qt2\buildtrees\vtk\src\a3ddafb3ad-6f3d1d5aad\Utilities\KWIML -IUtilities\KWSys -ID:\qt2\buildtrees\vtk\src\a3ddafb3ad-6f3d1d5aad\Utilities\KWSys -IThirdParty\pegtl -ID:\qt2\buildtrees\vtk\src\a3ddafb3ad-6f3d1d5aad\ThirdParty\pegtl -ID:\qt2\installed\x64-windows\include\tao /nologo /DWIN32 /D_WINDOWS /W4 /utf-8 /GR /EHsc /MP /DVCPKG_IS_COOL /bigobj /D_DEBUG /MDd /Z7 /Ob0 /Od /RTC1 /DVCPKG_IS_COOL_DEBUG /showIncludes /FoIO\MotionFX\CMakeFiles\IOMotionFX.dir\vtkMotionFXCFGReader.cxx.obj /FdIO\MotionFX\CMakeFiles\IOMotionFX.dir\ /FS -c D:\qt2\buildtrees\vtk\src\a3ddafb3ad-6f3d1d5aad\IO\MotionFX\vtkMotionFXCFGReader.cxx
D:\qt2\buildtrees\vtk\x64-windows-dbg\ThirdParty\pegtl\vtk_pegtl.h(28): fatal error C1083: Cannot open include file: 'tao/pegtl.hpp': No such file or directory
```
Currently trying to figure out why it is not using the include folderhttps://gitlab.kitware.com/vtk/vtk/-/issues/17878[VTK 9.0] Fails with hdf5-config.cmake2021-06-01T15:35:05-04:00Alexander Neumann[VTK 9.0] Fails with hdf5-config.cmakeFirst error of many:
```
CMake Error at /mnt/d/qt2/scripts/buildsystems/vcpkg.cmake:250 (_add_library):
Target "exodusII" links to target "hdf5::hdf5-static" but the target was
not found. Perhaps a find_package() call is missing for...First error of many:
```
CMake Error at /mnt/d/qt2/scripts/buildsystems/vcpkg.cmake:250 (_add_library):
Target "exodusII" links to target "hdf5::hdf5-static" but the target was
not found. Perhaps a find_package() call is missing for an IMPORTED
target, or an ALIAS target is missing?
Call Stack (most recent call first):
CMake/vtkModule.cmake:3328 (add_library)
ThirdParty/exodusII/vtkexodusII/CMakeLists.txt:300 (vtk_module_add_module)
```
Output of configure:
```
-- Found HDF5 at /mnt/d/qt2/installed/x64-linux/share/hdf5 via NO_MODULE. Now trying to extract locations etc.
-- Trying to get properties of target hdf5::hdf5-static
-- Found imported configurations: DEBUG;RELEASE
-- Start search through imported configurations in the following order: Debug;RELWITHDEBINFO;RELEASE;DEBUG;DEBUG
-- Selected imported configuration: RELEASE
-- Found HDF5: hdf5::hdf5-static (found version "1.10.5") found components: C HL
-- HDF5_DIR: /mnt/d/qt2/installed/x64-linux/share/hdf5
-- HDF5_DEFINITIONS:
-- HDF5_INCLUDE_DIRS: /mnt/d/qt2/installed/x64-linux/include
-- HDF5_LIBRARIES: hdf5::hdf5-static
-- HDF5_HL_LIBRARIES: hdf5::hdf5_hl-static
-- HDF5_C_DEFINITIONS:
-- HDF5_C_INCLUDE_DIR:
-- HDF5_C_INCLUDE_DIRS: /mnt/d/qt2/installed/x64-linux/include
-- HDF5_C_LIBRARY: /mnt/d/qt2/installed/x64-linux/lib/libhdf5.a
-- HDF5_C_LIBRARIES: hdf5::hdf5-static
-- HDF5_C_HL_LIBRARY: /mnt/d/qt2/installed/x64-linux/lib/libhdf5_hl.a
-- HDF5_C_HL_LIBRARIES: hdf5::hdf5_hl-static
```
Probably needs to add `set_target_properties(hdf5::hdf5-(shared|static) PROPERTIES IMPORTED_GLOBAL TRUE)` and `set_target_properties(hdf5::hdf5_hl-(shared|static) PROPERTIES IMPORTED_GLOBAL TRUE)`https://gitlab.kitware.com/vtk/vtk/-/issues/17888RFE: Need to be able to define JNILIB_DESTINATION2020-05-11T12:51:25-04:00Orion PoplawskiRFE: Need to be able to define JNILIB_DESTINATIONFedora installs JNI libraries into %{_libdir}/%{name}. Currently VTK forces it to be:
```
JNILIB_DESTINATION "${CMAKE_INSTALL_LIBDIR}/java/vtk-${CMAKE_SYSTEM_NAME}-${CMAKE_SYSTEM_PROCESSOR}"
```
Please allow setting this via a build ...Fedora installs JNI libraries into %{_libdir}/%{name}. Currently VTK forces it to be:
```
JNILIB_DESTINATION "${CMAKE_INSTALL_LIBDIR}/java/vtk-${CMAKE_SYSTEM_NAME}-${CMAKE_SYSTEM_PROCESSOR}"
```
Please allow setting this via a build option.9.0.1Ben BoeckelBen Boeckelhttps://gitlab.kitware.com/vtk/vtk/-/issues/17889Inconsistent licenses install location2020-05-11T13:16:48-04:00Orion PoplawskiInconsistent licenses install locationVarious VTK module licenses are installed to /usr/share/licenses/VTK/<MODULE>, but the main VTK license is installed into /usr/share/doc/VTK. Also, module licenses install into "VTK" via CMAKE_PROJECT_NAME:
```
set(_vtk_build_LICENS...Various VTK module licenses are installed to /usr/share/licenses/VTK/<MODULE>, but the main VTK license is installed into /usr/share/doc/VTK. Also, module licenses install into "VTK" via CMAKE_PROJECT_NAME:
```
set(_vtk_build_LICENSE_DESTINATION "${CMAKE_INSTALL_DATAROOTDIR}/licenses/${CMAKE_PROJECT_NAME}")
```
but on Fedora the vtk rpm is named "vtk" and so the files would be better located in /usr/share/licenses/vtk. But I'm pretty sure we don't want to be messing with CMAKE_PROJECT_NAME.9.0.1Ben BoeckelBen Boeckelhttps://gitlab.kitware.com/vtk/vtk/-/issues/17893[VTK 9.0] Common/DataModel/vtkCompositeDataSetNodeReference.h not getting ins...2020-05-14T09:56:51-04:00Alexander Neumann[VTK 9.0] Common/DataModel/vtkCompositeDataSetNodeReference.h not getting installedRequired by `vtkDataObjectTreeRange.h` which gets installed. Discovered by building Paraview 5.8 with external VTKRequired by `vtkDataObjectTreeRange.h` which gets installed. Discovered by building Paraview 5.8 with external VTK9.0.1Ben BoeckelBen Boeckelhttps://gitlab.kitware.com/vtk/vtk/-/issues/17895[VTK 9.0] Find(LibHaru|LZMA).cmake cannot correctly handle finding both DEBUG...2020-05-14T09:56:05-04:00Alexander Neumann[VTK 9.0] Find(LibHaru|LZMA).cmake cannot correctly handle finding both DEBUG and RELEASE librariesError:
```
-- Found LibHaru: optimized;D:/para/installed/x64-windows/lib/libhpdf.lib;debug;D:/para/installed/x64-windows/debug/lib/libhpdfd.lib (found suitable version "2.4.0-dev", minimum required is "2.4.0")
CMake Error at CMake/vtkDe...Error:
```
-- Found LibHaru: optimized;D:/para/installed/x64-windows/lib/libhpdf.lib;debug;D:/para/installed/x64-windows/debug/lib/libhpdfd.lib (found suitable version "2.4.0-dev", minimum required is "2.4.0")
CMake Error at CMake/vtkDetectLibraryType.cmake:31 (message):
Unparsed arguments for vtk_detect_library_type:
D:/para/installed/x64-windows/lib/libhpdf.lib;debug;D:/para/installed/x64-windows/debug/lib/libhpdfd.lib
Call Stack (most recent call first):
CMake/FindLibHaru.cmake:48 (vtk_detect_library_type)
D:/para/scripts/buildsystems/vcpkg.cmake:329 (_find_package)
CMake/vtkModule.cmake:4134 (find_package)
CMake/vtkModule.cmake:4690 (vtk_module_find_package)
CMake/vtkModule.cmake:4564 (vtk_module_third_party_external)
ThirdParty/libharu/CMakeLists.txt:1 (vtk_module_third_party)
```Ben BoeckelBen Boeckelhttps://gitlab.kitware.com/vtk/vtk/-/issues/17896Follow-up from "FindLibHaru, FindFreeType: handle multi-config library variab...2020-05-13T16:33:44-04:00Ben BoeckelFollow-up from "FindLibHaru, FindFreeType: handle multi-config library variables"The following discussion from !6890 should be addressed:
- [ ] @Neumann-A started a [discussion](https://gitlab.kitware.com/vtk/vtk/-/merge_requests/6890#note_756249): (+9 comments)
> @ben.boeckel: I think you need to change `vtk_...The following discussion from !6890 should be addressed:
- [ ] @Neumann-A started a [discussion](https://gitlab.kitware.com/vtk/vtk/-/merge_requests/6890#note_756249): (+9 comments)
> @ben.boeckel: I think you need to change `vtk_detect_library_type` because it is fair game to pass any of those variables via the cmake command line and skip the find_library call in any FindModule.cmake9.1https://gitlab.kitware.com/vtk/vtk/-/issues/17898[VTK 9.0] Unable to pass Python3_LIBRARY_<CONFIG> or Python3_LIBRARIES via CMake2020-05-29T10:18:57-04:00Alexander Neumann[VTK 9.0] Unable to pass Python3_LIBRARY_<CONFIG> or Python3_LIBRARIES via CMakethe find module seems to simply ignore these. Would be nice if it did not do that or not use `_Python3_LIBRARY_RELEASE` as a hint for `_Python3_LIBRARY_DEBUG` and do a search with `NO_DEFAULT_PATH` on windows.the find module seems to simply ignore these. Would be nice if it did not do that or not use `_Python3_LIBRARY_RELEASE` as a hint for `_Python3_LIBRARY_DEBUG` and do a search with `NO_DEFAULT_PATH` on windows.https://gitlab.kitware.com/vtk/vtk/-/issues/17952Use dockcross for wheel builds2021-02-17T03:39:35-05:00Ben BoeckelUse dockcross for wheel buildsSee other discussion on !7058 for other changes.
The following discussion from !7058 should be addressed:
- [ ] @jcfr started a [discussion](https://gitlab.kitware.com/vtk/vtk/-/merge_requests/7058#note_787689): (+1 comment)
> ``...See other discussion on !7058 for other changes.
The following discussion from !7058 should be addressed:
- [ ] @jcfr started a [discussion](https://gitlab.kitware.com/vtk/vtk/-/merge_requests/7058#note_787689): (+1 comment)
> ```
> dockcross/manylinux2010-x64
> ```
>
> Let's use the dockcross image, @thewtex and I are maintaining them and they are updated to always have the latest CMake, ninja with jobserver support,
>
> See https://github.com/dockcross/dockcross
Cc: @tjcoronahttps://gitlab.kitware.com/vtk/vtk/-/issues/17994VTK_CUSTOM_LIBRARY_SUFFIX is not set to empty string on Linux2020-09-02T07:26:50-04:00JensgwVTK_CUSTOM_LIBRARY_SUFFIX is not set to empty string on LinuxWhen compiling VTK-9.0.1 (on debian/10) VTK_CUSTOM_LIBRARY_SUFFIX ist not set to an empty string when VTK_VERSIONED_INSTALL is false. This leads to the generation of libraries with version numbers. But that was not the intention with tur...When compiling VTK-9.0.1 (on debian/10) VTK_CUSTOM_LIBRARY_SUFFIX ist not set to an empty string when VTK_VERSIONED_INSTALL is false. This leads to the generation of libraries with version numbers. But that was not the intention with turning the versioned install off.https://gitlab.kitware.com/vtk/vtk/-/issues/18008Configuring with invalid value associated with VTK_BUILD_TESTING option incor...2020-09-16T16:44:09-04:00Jean-Christophe Fillion-RobinConfiguring with invalid value associated with VTK_BUILD_TESTING option incorrectly reports ENABLE_TESTSError message below should reported that argument for option `VTK_BUILD_TESTING` are incorrect and not option `ENABLE_TESTS`
Observed with https://gitlab.kitware.com/vtk/vtk/-/commit/a1625689667d769135ab71c2291c3fca672ad776
```
cmake -...Error message below should reported that argument for option `VTK_BUILD_TESTING` are incorrect and not option `ENABLE_TESTS`
Observed with https://gitlab.kitware.com/vtk/vtk/-/commit/a1625689667d769135ab71c2291c3fca672ad776
```
cmake -DVTK_BUILD_TESTING:STRING=YES .
CMake Error at CMake/vtkModule.cmake:563 (message):
The `ENABLE_TESTS` argument must be one of `ON`, `OFF`, `WANT`, or
`DEFAULT`. Received `YES`.
Call Stack (most recent call first):
CMakeLists.txt:270 (vtk_module_scan)
```https://gitlab.kitware.com/vtk/vtk/-/issues/18032Add VTK_USE_COCOA and VTK_USE_X to VTK config file2020-11-09T14:13:44-05:00Jean-Christophe Fillion-RobinAdd VTK_USE_COCOA and VTK_USE_X to VTK config fileWhen building LookingGlassVTKModule externally (thanks to [PR Kitware/LookingGlassVTKModule#9](https://github.com/Kitware/LookingGlassVTKModule/pull/9), it fails to include `vtkCocoaLookingGlassRenderWindow.mm` and `vtkCocoaLookingGlassR...When building LookingGlassVTKModule externally (thanks to [PR Kitware/LookingGlassVTKModule#9](https://github.com/Kitware/LookingGlassVTKModule/pull/9), it fails to include `vtkCocoaLookingGlassRenderWindow.mm` and `vtkCocoaLookingGlassRenderWindow.h` (see [here](https://github.com/Kitware/LookingGlassVTKModule/blob/f3b4c8928c002533337479733af4ec10282c7aa9/CMakeLists.txt#L13-L16) and issue [KitwareMedical/SlicerLookingGlass#2](https://github.com/KitwareMedical/SlicerLookingGlass/issues/2))
Moving forward, I would like to expose option like `VTK_USE_COCOA` and `VTK_USE_X` into a config file.
What is the CMake equivalent of `vtkRenderingOpenGLConfigure.h` ?Jean-Christophe Fillion-RobinJean-Christophe Fillion-Robinhttps://gitlab.kitware.com/vtk/vtk/-/issues/18033Provide or replace `FT_CALLBACK_DEF`2021-10-21T15:48:35-04:00ccornProvide or replace `FT_CALLBACK_DEF`freetype as of v2.10.3 [no longer exports `FT_CALLBACK_DEF`][1].
This breaks builds of VTK-8.2.0 when using the system's freetype:
/build/vtk/src/VTK-8.2.0/Rendering/FreeType/vtkFreeTypeTools.cxx:391:1: error: expected constructor, ...freetype as of v2.10.3 [no longer exports `FT_CALLBACK_DEF`][1].
This breaks builds of VTK-8.2.0 when using the system's freetype:
/build/vtk/src/VTK-8.2.0/Rendering/FreeType/vtkFreeTypeTools.cxx:391:1: error: expected constructor, destructor, or type conversion before ‘vtkFreeTypeToolsFaceRequester’
391 | vtkFreeTypeToolsFaceRequester(FTC_FaceID face_id,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/build/vtk/src/VTK-8.2.0/Rendering/FreeType/vtkFreeTypeTools.cxx: In member function ‘virtual FT_Error vtkFreeTypeTools::CreateFTCManager()’:
/build/vtk/src/VTK-8.2.0/Rendering/FreeType/vtkFreeTypeTools.cxx:1252:26: error: ‘vtkFreeTypeToolsFaceRequester’ was not declared in this scope; did you mean ‘vtkFreeTypeToolsCleanupCounter’?
Source files using `FT_CALLBACK_DEF` are:
- `Rendering/FreeType/vtkFreeTypeTools.cxx`
- `Rendering/FreeTypeFontConfig/vtkFontConfigFreeTypeTools.cxx`
The attached patch files (to be applied with `-p1`) each work around this error.
Each patch file is sufficient; you may want to think about their pros and contras.
1. Provide the (unchanged) definition of `FT_CALLBACK_DEF`,
unless already defined, in `ThirdParty/freetype/vtk_freetype.h.in`.
This eliminates the need to change the usage.
2. Explicitly eliminate the reference to `FT_CALLBACK_DEF` at the points
of usage. This basically means using `extern "C"` explicitly and seems
to match the intent of the freetype developers more closely, but the
freetype definition still notes the following caveat:
/* Some 16bit compilers have to redefine these macros to insert */
/* the infamous `_cdecl` or `__fastcall` declarations. */
If that flexibility is important to you, better stick with (1).
Note that `vtkFontConfigFreeTypeTools.cxx` wraps an anonymous namespace
around the `FT_CALLBACK_DEF`. The second patch removes that anonymous
namespace because its effect is undone by the `extern "C"` anyway.
[1]: https://git.savannah.gnu.org/cgit/freetype/freetype2.git/commit/?id=bb66c8d8cf1eb86309273d7c53c44522d35941d4
[vtk-freetype-2.10.3-provide-FT_CALLBACK_DEF.patch](/uploads/a5354808a4167e6fa9208c8c03ffd105/vtk-freetype-2.10.3-provide-FT_CALLBACK_DEF.patch)
[vtk-freetype-2.10.3-replace-FT_CALLBACK_DEF.patch](/uploads/c6fa799a1a028b8f8a728a40d26d3fec/vtk-freetype-2.10.3-replace-FT_CALLBACK_DEF.patch)https://gitlab.kitware.com/vtk/vtk/-/issues/18037High memory usage TUs2020-12-09T21:34:28-05:00Ben BoeckelHigh memory usage TUsI've been seeing OOM situations arise more and more recently of late with VTK-m. This issue aims to document the high-usage memory TUs. Note that I do not have CUDA enabled, and memory usage tends to be higher with its toolchain.
Config...I've been seeing OOM situations arise more and more recently of late with VTK-m. This issue aims to document the high-usage memory TUs. Note that I do not have CUDA enabled, and memory usage tends to be higher with its toolchain.
Configuration: RelWithDebInfo, no CUDA, GCC 10.2.1. Running the build with `systemd-run --user -p MemoryMax=$memory --setenv=CCACHE_DISABLE=1 --same-dir --pty ninja -j1 $target`
TUs that fail with `memory=4G`:
- [x] `Accelerators/Vtkm/Filters/CMakeFiles/AcceleratorsVTKmFilters.dir/vtkmClip.cxx.o`
- [x] `Accelerators/Vtkm/Filters/CMakeFiles/AcceleratorsVTKmFilters.dir/vtkmClipWithField.cxx.o`
- [x] `Accelerators/Vtkm/Filters/CMakeFiles/AcceleratorsVTKmFilters.dir/vtkmGradient.cxx.o`
Will update as things progress.
# EDITED (Nov 23rd 2020)
## Progress
- [x] [VTKm optimizations] in vtkm repo (https://gitlab.kitware.com/vtk/vtk/-/merge_requests/7390)
- [x] [vtkmClip optimizations] in vtk repo (https://gitlab.kitware.com/vtk/vtk/-/merge_requests/7397)
After the above tasks we were able to reduce the compilation memory usage in the following manner:
Version | Size sum of object files | Minimum memory to compile
--------|--------------------------|--------------------------
Before | 129M | 5GiB
1st MR | 74M | 4GiB
2nd MR | 107MiB | 3GiB
See: vtk-m#578
Cc: @vbolea @robertmaynardVicente Boleavicente.bolea@kitware.comVicente Boleavicente.bolea@kitware.comhttps://gitlab.kitware.com/vtk/vtk/-/issues/18041sqllite module in 9.0.1 missing libdl link2020-11-11T15:33:58-05:00Joseph Wangsqllite module in 9.0.1 missing libdl linksqlite module in 9.0.1 uses dlopen, but is missing a libdl link
should add CMAKE_DL_LIBS to the CMakeFile.txtsqlite module in 9.0.1 uses dlopen, but is missing a libdl link
should add CMAKE_DL_LIBS to the CMakeFile.txtBen BoeckelBen Boeckelhttps://gitlab.kitware.com/vtk/vtk/-/issues/18050vtkexodusII fails to build gcc 4.9.4 / gcc 4.8.52020-11-11T09:27:11-05:00chart3388vtkexodusII fails to build gcc 4.9.4 / gcc 4.8.5ParaView latest master fails to build with GCC-4.9.4 and GCC-4.8.5. This was using the superbuild with the following options:
```
cmake -G Ninja \
-DCMAKE_BUILD_TYPE=Release \
-DENABLE_python=ON \
-DENABLE_python3=ON \
-DENA...ParaView latest master fails to build with GCC-4.9.4 and GCC-4.8.5. This was using the superbuild with the following options:
```
cmake -G Ninja \
-DCMAKE_BUILD_TYPE=Release \
-DENABLE_python=ON \
-DENABLE_python3=ON \
-DENABLE_ffmpeg=ON \
-DENABLE_qt5=ON \
-Dqt5_SOURCE_SELECTION=5.12 \
-DENABLE_ospray=ON \
-Dparaview_SOURCE_SELECTION=git \
../paraview-superbuild
```
```
[22/11929] Building C object VTK/ThirdParty/exodu...CMakeFiles/exodusII.dir/src/ex_get_assemblies.c.
FAILED: VTK/ThirdParty/exodusII/vtkexodusII/CMakeFiles/exodusII.dir/src/ex_get_assemblies.c.o
/opt/jenkins/jenkins-tools/gcc-4.9.4/bin/gcc -DH5_BUILT_AS_DYNAMIC_LIB -DexoIIc_EXPORTS -DexodusII_EXPORTS -IVTK/ThirdParty/exodusII/vtkexodusII -I/opt/jenkins/workspace/GIE_AXION_171570_SLES-paraview-nightly/build1/superbuild/paraview/src/VTK/ThirdParty/exodusII/vtkexodusII -I/opt/jenkins/workspace/GIE_AXION_171570_SLES-paraview-nightly/build1/superbuild/paraview/src/VTK/ThirdParty/exodusII/vtkexodusII/include -IVTK/ThirdParty/exodusII/vtkexodusII/include -IVTK/ThirdParty/hdf5/vtkhdf5 -I/opt/jenkins/workspace/GIE_AXION_171570_SLES-paraview-nightly/build1/superbuild/paraview/src/VTK/ThirdParty/hdf5/vtkhdf5 -IVTK/ThirdParty/hdf5/vtkhdf5/src -I/opt/jenkins/workspace/GIE_AXION_171570_SLES-paraview-nightly/build1/superbuild/paraview/src/VTK/ThirdParty/hdf5/vtkhdf5/src -IVTK/ThirdParty/hdf5/vtkhdf5/hl/src -I/opt/jenkins/workspace/GIE_AXION_171570_SLES-paraview-nightly/build1/superbuild/paraview/src/VTK/ThirdParty/hdf5/vtkhdf5/hl/src -IVTK/ThirdParty/netcdf/vtknetcdf -I/opt/jenkins/workspace/GIE_AXION_171570_SLES-paraview-nightly/build1/superbuild/paraview/src/VTK/ThirdParty/netcdf/vtknetcdf -isystem VTK/ThirdParty/exodusII -isystem /opt/jenkins/workspace/GIE_AXION_171570_SLES-paraview-nightly/build1/superbuild/paraview/src/VTK/ThirdParty/exodusII -isystem VTK/ThirdParty/hdf5 -isystem /opt/jenkins/workspace/GIE_AXION_171570_SLES-paraview-nightly/build1/superbuild/paraview/src/VTK/ThirdParty/hdf5 -isystem VTK/ThirdParty/netcdf -isystem /opt/jenkins/workspace/GIE_AXION_171570_SLES-paraview-nightly/build1/superbuild/paraview/src/VTK/ThirdParty/netcdf -fPIC -O3 -DNDEBUG -fPIC -MD -MT VTK/ThirdParty/exodusII/vtkexodusII/CMakeFiles/exodusII.dir/src/ex_get_assemblies.c.o -MF VTK/ThirdParty/exodusII/vtkexodusII/CMakeFiles/exodusII.dir/src/ex_get_assemblies.c.o.d -o VTK/ThirdParty/exodusII/vtkexodusII/CMakeFiles/exodusII.dir/src/ex_get_assemblies.c.o -c /opt/jenkins/workspace/GIE_AXION_171570_SLES-paraview-nightly/build1/superbuild/paraview/src/VTK/ThirdParty/exodusII/vtkexodusII/src/ex_get_assemblies.c
/opt/jenkins/workspace/GIE_AXION_171570_SLES-paraview-nightly/build1/superbuild/paraview/src/VTK/ThirdParty/exodusII/vtkexodusII/src/ex_get_assemblies.c: In function ‘vtkexodusII_ex_get_assemblies’:
/opt/jenkins/workspace/GIE_AXION_171570_SLES-paraview-nightly/build1/superbuild/paraview/src/VTK/ThirdParty/exodusII/vtkexodusII/src/ex_get_assemblies.c:62:5: error: ‘for’ loop initial declarations are only allowed in C99 or C11 mode
for (int i = 0; i < num_assembly; i++) {
^
/opt/jenkins/workspace/GIE_AXION_171570_SLES-paraview-nightly/build1/superbuild/paraview/src/VTK/ThirdParty/exodusII/vtkexodusII/src/ex_get_assemblies.c:62:5: note: use option -std=c99, -std=gnu99, -std=c11 or -std=gnu11 to compile your code
/opt/jenkins/workspace/GIE_AXION_171570_SLES-paraview-nightly/build1/superbuild/paraview/src/VTK/ThirdParty/exodusII/vtkexodusII/src/ex_get_assemblies.c:70:5: error: ‘for’ loop initial declarations are only allowed in C99 or C11 mode
for (int i = 0; i < num_assembly; i++) {
^
/opt/jenkins/workspace/GIE_AXION_171570_SLES-paraview-nightly/build1/superbuild/paraview/src/VTK/ThirdParty/exodusII/vtkexodusII/src/ex_get_assemblies.c:76:3: error: ‘for’ loop initial declarations are only allowed in C99 or C11 mode
for (int i = 0; i < num_assembly; i++) {
^
[23/11929] Building C object VTK/ThirdParty/exodu...odusII/CMakeFiles/exodusII.dir/src/ex_get_ids.c.
FAILED: VTK/ThirdParty/exodusII/vtkexodusII/CMakeFiles/exodusII.dir/src/ex_get_ids.c.o
/opt/jenkins/jenkins-tools/gcc-4.9.4/bin/gcc -DH5_BUILT_AS_DYNAMIC_LIB -DexoIIc_EXPORTS -DexodusII_EXPORTS -IVTK/ThirdParty/exodusII/vtkexodusII -I/opt/jenkins/workspace/GIE_AXION_171570_SLES-paraview-nightly/build1/superbuild/paraview/src/VTK/ThirdParty/exodusII/vtkexodusII -I/opt/jenkins/workspace/GIE_AXION_171570_SLES-paraview-nightly/build1/superbuild/paraview/src/VTK/ThirdParty/exodusII/vtkexodusII/include -IVTK/ThirdParty/exodusII/vtkexodusII/include -IVTK/ThirdParty/hdf5/vtkhdf5 -I/opt/jenkins/workspace/GIE_AXION_171570_SLES-paraview-nightly/build1/superbuild/paraview/src/VTK/ThirdParty/hdf5/vtkhdf5 -IVTK/ThirdParty/hdf5/vtkhdf5/src -I/opt/jenkins/workspace/GIE_AXION_171570_SLES-paraview-nightly/build1/superbuild/paraview/src/VTK/ThirdParty/hdf5/vtkhdf5/src -IVTK/ThirdParty/hdf5/vtkhdf5/hl/src -I/opt/jenkins/workspace/GIE_AXION_171570_SLES-paraview-nightly/build1/superbuild/paraview/src/VTK/ThirdParty/hdf5/vtkhdf5/hl/src -IVTK/ThirdParty/netcdf/vtknetcdf -I/opt/jenkins/workspace/GIE_AXION_171570_SLES-paraview-nightly/build1/superbuild/paraview/src/VTK/ThirdParty/netcdf/vtknetcdf -isystem VTK/ThirdParty/exodusII -isystem /opt/jenkins/workspace/GIE_AXION_171570_SLES-paraview-nightly/build1/superbuild/paraview/src/VTK/ThirdParty/exodusII -isystem VTK/ThirdParty/hdf5 -isystem /opt/jenkins/workspace/GIE_AXION_171570_SLES-paraview-nightly/build1/superbuild/paraview/src/VTK/ThirdParty/hdf5 -isystem VTK/ThirdParty/netcdf -isystem /opt/jenkins/workspace/GIE_AXION_171570_SLES-paraview-nightly/build1/superbuild/paraview/src/VTK/ThirdParty/netcdf -fPIC -O3 -DNDEBUG -fPIC -MD -MT VTK/ThirdParty/exodusII/vtkexodusII/CMakeFiles/exodusII.dir/src/ex_get_ids.c.o -MF VTK/ThirdParty/exodusII/vtkexodusII/CMakeFiles/exodusII.dir/src/ex_get_ids.c.o.d -o VTK/ThirdParty/exodusII/vtkexodusII/CMakeFiles/exodusII.dir/src/ex_get_ids.c.o -c /opt/jenkins/workspace/GIE_AXION_171570_SLES-paraview-nightly/build1/superbuild/paraview/src/VTK/ThirdParty/exodusII/vtkexodusII/src/ex_get_ids.c
/opt/jenkins/workspace/GIE_AXION_171570_SLES-paraview-nightly/build1/superbuild/paraview/src/VTK/ThirdParty/exodusII/vtkexodusII/src/ex_get_ids.c: In function ‘ex_get_nonstandard_ids’:
/opt/jenkins/workspace/GIE_AXION_171570_SLES-paraview-nightly/build1/superbuild/paraview/src/VTK/ThirdParty/exodusII/vtkexodusII/src/ex_get_ids.c:87:5: error: ‘for’ loop initial declarations are only allowed in C99 or C11 mode
for (int varid = 0; varid < nvars; varid++) {
^
/opt/jenkins/workspace/GIE_AXION_171570_SLES-paraview-nightly/build1/superbuild/paraview/src/VTK/ThirdParty/exodusII/vtkexodusII/src/ex_get_ids.c:87:5: note: use option -std=c99, -std=gnu99, -std=c11 or -std=gnu11 to compile your code
[24/11929] Building C object VTK/ThirdParty/exodu...I/CMakeFiles/exodusII.dir/src/ex_get_init_ext.c.
FAILED: VTK/ThirdParty/exodusII/vtkexodusII/CMakeFiles/exodusII.dir/src/ex_get_init_ext.c.o
/opt/jenkins/jenkins-tools/gcc-4.9.4/bin/gcc -DH5_BUILT_AS_DYNAMIC_LIB -DexoIIc_EXPORTS -DexodusII_EXPORTS -IVTK/ThirdParty/exodusII/vtkexodusII -I/opt/jenkins/workspace/GIE_AXION_171570_SLES-paraview-nightly/build1/superbuild/paraview/src/VTK/ThirdParty/exodusII/vtkexodusII -I/opt/jenkins/workspace/GIE_AXION_171570_SLES-paraview-nightly/build1/superbuild/paraview/src/VTK/ThirdParty/exodusII/vtkexodusII/include -IVTK/ThirdParty/exodusII/vtkexodusII/include -IVTK/ThirdParty/hdf5/vtkhdf5 -I/opt/jenkins/workspace/GIE_AXION_171570_SLES-paraview-nightly/build1/superbuild/paraview/src/VTK/ThirdParty/hdf5/vtkhdf5 -IVTK/ThirdParty/hdf5/vtkhdf5/src -I/opt/jenkins/workspace/GIE_AXION_171570_SLES-paraview-nightly/build1/superbuild/paraview/src/VTK/ThirdParty/hdf5/vtkhdf5/src -IVTK/ThirdParty/hdf5/vtkhdf5/hl/src -I/opt/jenkins/workspace/GIE_AXION_171570_SLES-paraview-nightly/build1/superbuild/paraview/src/VTK/ThirdParty/hdf5/vtkhdf5/hl/src -IVTK/ThirdParty/netcdf/vtknetcdf -I/opt/jenkins/workspace/GIE_AXION_171570_SLES-paraview-nightly/build1/superbuild/paraview/src/VTK/ThirdParty/netcdf/vtknetcdf -isystem VTK/ThirdParty/exodusII -isystem /opt/jenkins/workspace/GIE_AXION_171570_SLES-paraview-nightly/build1/superbuild/paraview/src/VTK/ThirdParty/exodusII -isystem VTK/ThirdParty/hdf5 -isystem /opt/jenkins/workspace/GIE_AXION_171570_SLES-paraview-nightly/build1/superbuild/paraview/src/VTK/ThirdParty/hdf5 -isystem VTK/ThirdParty/netcdf -isystem /opt/jenkins/workspace/GIE_AXION_171570_SLES-paraview-nightly/build1/superbuild/paraview/src/VTK/ThirdParty/netcdf -fPIC -O3 -DNDEBUG -fPIC -MD -MT VTK/ThirdParty/exodusII/vtkexodusII/CMakeFiles/exodusII.dir/src/ex_get_init_ext.c.o -MF VTK/ThirdParty/exodusII/vtkexodusII/CMakeFiles/exodusII.dir/src/ex_get_init_ext.c.o.d -o VTK/ThirdParty/exodusII/vtkexodusII/CMakeFiles/exodusII.dir/src/ex_get_init_ext.c.o -c /opt/jenkins/workspace/GIE_AXION_171570_SLES-paraview-nightly/build1/superbuild/paraview/src/VTK/ThirdParty/exodusII/vtkexodusII/src/ex_get_init_ext.c
/opt/jenkins/workspace/GIE_AXION_171570_SLES-paraview-nightly/build1/superbuild/paraview/src/VTK/ThirdParty/exodusII/vtkexodusII/src/ex_get_init_ext.c: In function ‘ex__get_entity_count’:
/opt/jenkins/workspace/GIE_AXION_171570_SLES-paraview-nightly/build1/superbuild/paraview/src/VTK/ThirdParty/exodusII/vtkexodusII/src/ex_get_init_ext.c:58:3: error: ‘for’ loop initial declarations are only allowed in C99 or C11 mode
for (int dimid = 0; dimid < ndims; dimid++) {
^
/opt/jenkins/workspace/GIE_AXION_171570_SLES-paraview-nightly/build1/superbuild/paraview/src/VTK/ThirdParty/exodusII/vtkexodusII/src/ex_get_init_ext.c:58:3: note: use option -std=c99, -std=gnu99, -std=c11 or -std=gnu11 to compile your code
[25/11929] Building C object VTK/ThirdParty/exodu...dusII.dir/src/ex__put_homogenous_block_params.c.
FAILED: VTK/ThirdParty/exodusII/vtkexodusII/CMakeFiles/exodusII.dir/src/ex__put_homogenous_block_params.c.o
/opt/jenkins/jenkins-tools/gcc-4.9.4/bin/gcc -DH5_BUILT_AS_DYNAMIC_LIB -DexoIIc_EXPORTS -DexodusII_EXPORTS -IVTK/ThirdParty/exodusII/vtkexodusII -I/opt/jenkins/workspace/GIE_AXION_171570_SLES-paraview-nightly/build1/superbuild/paraview/src/VTK/ThirdParty/exodusII/vtkexodusII -I/opt/jenkins/workspace/GIE_AXION_171570_SLES-paraview-nightly/build1/superbuild/paraview/src/VTK/ThirdParty/exodusII/vtkexodusII/include -IVTK/ThirdParty/exodusII/vtkexodusII/include -IVTK/ThirdParty/hdf5/vtkhdf5 -I/opt/jenkins/workspace/GIE_AXION_171570_SLES-paraview-nightly/build1/superbuild/paraview/src/VTK/ThirdParty/hdf5/vtkhdf5 -IVTK/ThirdParty/hdf5/vtkhdf5/src -I/opt/jenkins/workspace/GIE_AXION_171570_SLES-paraview-nightly/build1/superbuild/paraview/src/VTK/ThirdParty/hdf5/vtkhdf5/src -IVTK/ThirdParty/hdf5/vtkhdf5/hl/src -I/opt/jenkins/workspace/GIE_AXION_171570_SLES-paraview-nightly/build1/superbuild/paraview/src/VTK/ThirdParty/hdf5/vtkhdf5/hl/src -IVTK/ThirdParty/netcdf/vtknetcdf -I/opt/jenkins/workspace/GIE_AXION_171570_SLES-paraview-nightly/build1/superbuild/paraview/src/VTK/ThirdParty/netcdf/vtknetcdf -isystem VTK/ThirdParty/exodusII -isystem /opt/jenkins/workspace/GIE_AXION_171570_SLES-paraview-nightly/build1/superbuild/paraview/src/VTK/ThirdParty/exodusII -isystem VTK/ThirdParty/hdf5 -isystem /opt/jenkins/workspace/GIE_AXION_171570_SLES-paraview-nightly/build1/superbuild/paraview/src/VTK/ThirdParty/hdf5 -isystem VTK/ThirdParty/netcdf -isystem /opt/jenkins/workspace/GIE_AXION_171570_SLES-paraview-nightly/build1/superbuild/paraview/src/VTK/ThirdParty/netcdf -fPIC -O3 -DNDEBUG -fPIC -MD -MT VTK/ThirdParty/exodusII/vtkexodusII/CMakeFiles/exodusII.dir/src/ex__put_homogenous_block_params.c.o -MF VTK/ThirdParty/exodusII/vtkexodusII/CMakeFiles/exodusII.dir/src/ex__put_homogenous_block_params.c.o.d -o VTK/ThirdParty/exodusII/vtkexodusII/CMakeFiles/exodusII.dir/src/ex__put_homogenous_block_params.c.o -c /opt/jenkins/workspace/GIE_AXION_171570_SLES-paraview-nightly/build1/superbuild/paraview/src/VTK/ThirdParty/exodusII/vtkexodusII/src/ex__put_homogenous_block_params.c
/opt/jenkins/workspace/GIE_AXION_171570_SLES-paraview-nightly/build1/superbuild/paraview/src/VTK/ThirdParty/exodusII/vtkexodusII/src/ex__put_homogenous_block_params.c: In function ‘vtkexodusII_ex__put_homogenous_block_params’:
/opt/jenkins/workspace/GIE_AXION_171570_SLES-paraview-nightly/build1/superbuild/paraview/src/VTK/ThirdParty/exodusII/vtkexodusII/src/ex__put_homogenous_block_params.c:89:5: error: ‘for’ loop initial declarations are only allowed in C99 or C11 mode
for (size_t i = 0; i < block_count; i++) {
^
/opt/jenkins/workspace/GIE_AXION_171570_SLES-paraview-nightly/build1/superbuild/paraview/src/VTK/ThirdParty/exodusII/vtkexodusII/src/ex__put_homogenous_block_params.c:89:5: note: use option -std=c99, -std=gnu99, -std=c11 or -std=gnu11 to compile your code
/opt/jenkins/workspace/GIE_AXION_171570_SLES-paraview-nightly/build1/superbuild/paraview/src/VTK/ThirdParty/exodusII/vtkexodusII/src/ex__put_homogenous_block_params.c:122:5: error: ‘for’ loop initial declarations are only allowed in C99 or C11 mode
for (size_t i = 0; i < block_count; i++) {
^
/opt/jenkins/workspace/GIE_AXION_171570_SLES-paraview-nightly/build1/superbuild/paraview/src/VTK/ThirdParty/exodusII/vtkexodusII/src/ex__put_homogenous_block_params.c:160:3: error: ‘for’ loop initial declarations are only allowed in C99 or C11 mode
for (size_t i = 0; i < block_count; i++) {
^
/opt/jenkins/workspace/GIE_AXION_171570_SLES-paraview-nightly/build1/superbuild/paraview/src/VTK/ThirdParty/exodusII/vtkexodusII/src/ex__put_homogenous_block_params.c:393:15: error: redefinition of ‘i’
for (size_t i = 0; i < block_count; i++) {
^
/opt/jenkins/workspace/GIE_AXION_171570_SLES-paraview-nightly/build1/superbuild/paraview/src/VTK/ThirdParty/exodusII/vtkexodusII/src/ex__put_homogenous_block_params.c:160:15: note: previous definition of ‘i’ was here
for (size_t i = 0; i < block_count; i++) {
^
/opt/jenkins/workspace/GIE_AXION_171570_SLES-paraview-nightly/build1/superbuild/paraview/src/VTK/ThirdParty/exodusII/vtkexodusII/src/ex__put_homogenous_block_params.c:393:3: error: ‘for’ loop initial declarations are only allowed in C99 or C11 mode
for (size_t i = 0; i < block_count; i++) {
^
/opt/jenkins/workspace/GIE_AXION_171570_SLES-paraview-nightly/build1/superbuild/paraview/src/VTK/ThirdParty/exodusII/vtkexodusII/src/ex__put_homogenous_block_params.c:416:7: error: ‘for’ loop initial declarations are only allowed in C99 or C11 mode
for (size_t j = 0; j < blocks[i].num_attribute; j++) {
^
[26/11929] Building C object VTK/ThirdParty/exodu...usII/CMakeFiles/exodusII.dir/src/ex_get_blobs.c.
FAILED: VTK/ThirdParty/exodusII/vtkexodusII/CMakeFiles/exodusII.dir/src/ex_get_blobs.c.o
/opt/jenkins/jenkins-tools/gcc-4.9.4/bin/gcc -DH5_BUILT_AS_DYNAMIC_LIB -DexoIIc_EXPORTS -DexodusII_EXPORTS -IVTK/ThirdParty/exodusII/vtkexodusII -I/opt/jenkins/workspace/GIE_AXION_171570_SLES-paraview-nightly/build1/superbuild/paraview/src/VTK/ThirdParty/exodusII/vtkexodusII -I/opt/jenkins/workspace/GIE_AXION_171570_SLES-paraview-nightly/build1/superbuild/paraview/src/VTK/ThirdParty/exodusII/vtkexodusII/include -IVTK/ThirdParty/exodusII/vtkexodusII/include -IVTK/ThirdParty/hdf5/vtkhdf5 -I/opt/jenkins/workspace/GIE_AXION_171570_SLES-paraview-nightly/build1/superbuild/paraview/src/VTK/ThirdParty/hdf5/vtkhdf5 -IVTK/ThirdParty/hdf5/vtkhdf5/src -I/opt/jenkins/workspace/GIE_AXION_171570_SLES-paraview-nightly/build1/superbuild/paraview/src/VTK/ThirdParty/hdf5/vtkhdf5/src -IVTK/ThirdParty/hdf5/vtkhdf5/hl/src -I/opt/jenkins/workspace/GIE_AXION_171570_SLES-paraview-nightly/build1/superbuild/paraview/src/VTK/ThirdParty/hdf5/vtkhdf5/hl/src -IVTK/ThirdParty/netcdf/vtknetcdf -I/opt/jenkins/workspace/GIE_AXION_171570_SLES-paraview-nightly/build1/superbuild/paraview/src/VTK/ThirdParty/netcdf/vtknetcdf -isystem VTK/ThirdParty/exodusII -isystem /opt/jenkins/workspace/GIE_AXION_171570_SLES-paraview-nightly/build1/superbuild/paraview/src/VTK/ThirdParty/exodusII -isystem VTK/ThirdParty/hdf5 -isystem /opt/jenkins/workspace/GIE_AXION_171570_SLES-paraview-nightly/build1/superbuild/paraview/src/VTK/ThirdParty/hdf5 -isystem VTK/ThirdParty/netcdf -isystem /opt/jenkins/workspace/GIE_AXION_171570_SLES-paraview-nightly/build1/superbuild/paraview/src/VTK/ThirdParty/netcdf -fPIC -O3 -DNDEBUG -fPIC -MD -MT VTK/ThirdParty/exodusII/vtkexodusII/CMakeFiles/exodusII.dir/src/ex_get_blobs.c.o -MF VTK/ThirdParty/exodusII/vtkexodusII/CMakeFiles/exodusII.dir/src/ex_get_blobs.c.o.d -o VTK/ThirdParty/exodusII/vtkexodusII/CMakeFiles/exodusII.dir/src/ex_get_blobs.c.o -c /opt/jenkins/workspace/GIE_AXION_171570_SLES-paraview-nightly/build1/superbuild/paraview/src/VTK/ThirdParty/exodusII/vtkexodusII/src/ex_get_blobs.c
/opt/jenkins/workspace/GIE_AXION_171570_SLES-paraview-nightly/build1/superbuild/paraview/src/VTK/ThirdParty/exodusII/vtkexodusII/src/ex_get_blobs.c: In function ‘vtkexodusII_ex_get_blobs’:
/opt/jenkins/workspace/GIE_AXION_171570_SLES-paraview-nightly/build1/superbuild/paraview/src/VTK/ThirdParty/exodusII/vtkexodusII/src/ex_get_blobs.c:59:5: error: ‘for’ loop initial declarations are only allowed in C99 or C11 mode
for (int i = 0; i < num_blob; i++) {
^
/opt/jenkins/workspace/GIE_AXION_171570_SLES-paraview-nightly/build1/superbuild/paraview/src/VTK/ThirdParty/exodusII/vtkexodusII/src/ex_get_blobs.c:59:5: note: use option -std=c99, -std=gnu99, -std=c11 or -std=gnu11 to compile your code
/opt/jenkins/workspace/GIE_AXION_171570_SLES-paraview-nightly/build1/superbuild/paraview/src/VTK/ThirdParty/exodusII/vtkexodusII/src/ex_get_blobs.c:67:5: error: ‘for’ loop initial declarations are only allowed in C99 or C11 mode
for (int i = 0; i < num_blob; i++) {
^
/opt/jenkins/workspace/GIE_AXION_171570_SLES-paraview-nightly/build1/superbuild/paraview/src/VTK/ThirdParty/exodusII/vtkexodusII/src/ex_get_blobs.c:73:3: error: ‘for’ loop initial declarations are only allowed in C99 or C11 mode
for (int i = 0; i < num_blob; i++) {
^
[27/11929] Building C object VTK/ThirdParty/exodu.../CMakeFiles/exodusII.dir/src/ex_get_attribute.c.
FAILED: VTK/ThirdParty/exodusII/vtkexodusII/CMakeFiles/exodusII.dir/src/ex_get_attribute.c.o
/opt/jenkins/jenkins-tools/gcc-4.9.4/bin/gcc -DH5_BUILT_AS_DYNAMIC_LIB -DexoIIc_EXPORTS -DexodusII_EXPORTS -IVTK/ThirdParty/exodusII/vtkexodusII -I/opt/jenkins/workspace/GIE_AXION_171570_SLES-paraview-nightly/build1/superbuild/paraview/src/VTK/ThirdParty/exodusII/vtkexodusII -I/opt/jenkins/workspace/GIE_AXION_171570_SLES-paraview-nightly/build1/superbuild/paraview/src/VTK/ThirdParty/exodusII/vtkexodusII/include -IVTK/ThirdParty/exodusII/vtkexodusII/include -IVTK/ThirdParty/hdf5/vtkhdf5 -I/opt/jenkins/workspace/GIE_AXION_171570_SLES-paraview-nightly/build1/superbuild/paraview/src/VTK/ThirdParty/hdf5/vtkhdf5 -IVTK/ThirdParty/hdf5/vtkhdf5/src -I/opt/jenkins/workspace/GIE_AXION_171570_SLES-paraview-nightly/build1/superbuild/paraview/src/VTK/ThirdParty/hdf5/vtkhdf5/src -IVTK/ThirdParty/hdf5/vtkhdf5/hl/src -I/opt/jenkins/workspace/GIE_AXION_171570_SLES-paraview-nightly/build1/superbuild/paraview/src/VTK/ThirdParty/hdf5/vtkhdf5/hl/src -IVTK/ThirdParty/netcdf/vtknetcdf -I/opt/jenkins/workspace/GIE_AXION_171570_SLES-paraview-nightly/build1/superbuild/paraview/src/VTK/ThirdParty/netcdf/vtknetcdf -isystem VTK/ThirdParty/exodusII -isystem /opt/jenkins/workspace/GIE_AXION_171570_SLES-paraview-nightly/build1/superbuild/paraview/src/VTK/ThirdParty/exodusII -isystem VTK/ThirdParty/hdf5 -isystem /opt/jenkins/workspace/GIE_AXION_171570_SLES-paraview-nightly/build1/superbuild/paraview/src/VTK/ThirdParty/hdf5 -isystem VTK/ThirdParty/netcdf -isystem /opt/jenkins/workspace/GIE_AXION_171570_SLES-paraview-nightly/build1/superbuild/paraview/src/VTK/ThirdParty/netcdf -fPIC -O3 -DNDEBUG -fPIC -MD -MT VTK/ThirdParty/exodusII/vtkexodusII/CMakeFiles/exodusII.dir/src/ex_get_attribute.c.o -MF VTK/ThirdParty/exodusII/vtkexodusII/CMakeFiles/exodusII.dir/src/ex_get_attribute.c.o.d -o VTK/ThirdParty/exodusII/vtkexodusII/CMakeFiles/exodusII.dir/src/ex_get_attribute.c.o -c /opt/jenkins/workspace/GIE_AXION_171570_SLES-paraview-nightly/build1/superbuild/paraview/src/VTK/ThirdParty/exodusII/vtkexodusII/src/ex_get_attribute.c
/opt/jenkins/workspace/GIE_AXION_171570_SLES-paraview-nightly/build1/superbuild/paraview/src/VTK/ThirdParty/exodusII/vtkexodusII/src/ex_get_attribute.c: In function ‘vtkexodusII_ex_get_attribute_count’:
/opt/jenkins/workspace/GIE_AXION_171570_SLES-paraview-nightly/build1/superbuild/paraview/src/VTK/ThirdParty/exodusII/vtkexodusII/src/ex_get_attribute.c:189:3: error: ‘for’ loop initial declarations are only allowed in C99 or C11 mode
for (int i = 0; i < count; i++) {
^
/opt/jenkins/workspace/GIE_AXION_171570_SLES-paraview-nightly/build1/superbuild/paraview/src/VTK/ThirdParty/exodusII/vtkexodusII/src/ex_get_attribute.c:189:3: note: use option -std=c99, -std=gnu99, -std=c11 or -std=gnu11 to compile your code
/opt/jenkins/workspace/GIE_AXION_171570_SLES-paraview-nightly/build1/superbuild/paraview/src/VTK/ThirdParty/exodusII/vtkexodusII/src/ex_get_attribute.c: In function ‘vtkexodusII_ex_get_attribute_param’:
/opt/jenkins/workspace/GIE_AXION_171570_SLES-paraview-nightly/build1/superbuild/paraview/src/VTK/ThirdParty/exodusII/vtkexodusII/src/ex_get_attribute.c:238:3: error: ‘for’ loop initial declarations are only allowed in C99 or C11 mode
for (int i = 0; i < att_count; i++) {
^
/opt/jenkins/workspace/GIE_AXION_171570_SLES-paraview-nightly/build1/superbuild/paraview/src/VTK/ThirdParty/exodusII/vtkexodusII/src/ex_get_attribute.c: In function ‘vtkexodusII_ex_get_attributes’:
/opt/jenkins/workspace/GIE_AXION_171570_SLES-paraview-nightly/build1/superbuild/paraview/src/VTK/ThirdParty/exodusII/vtkexodusII/src/ex_get_attribute.c:327:3: error: ‘for’ loop initial declarations are only allowed in C99 or C11 mode
for (size_t i = 0; i < attr_count; i++) {
^
[55/11929] Building CXX object CMakeFiles/vtkIOPa...llelXMLPython/vtkXMLPDataObjectWriterPython.cxx.
ninja: build stopped: subcommand failed.
```Ben BoeckelBen Boeckelhttps://gitlab.kitware.com/vtk/vtk/-/issues/18096macOS deprecation warnings2021-02-03T10:09:51-05:00Ben BoeckelmacOS deprecation warningsVTK is currently using some APIs which are deprecated in the newest macOS releases. Could these be resolved at some point?
```
../VTK/Rendering/OpenGL2/vtkCocoaRenderWindow.mm:391:22: warning: 'view' is deprecated: first deprecated in m...VTK is currently using some APIs which are deprecated in the newest macOS releases. Could these be resolved at some point?
```
../VTK/Rendering/OpenGL2/vtkCocoaRenderWindow.mm:391:22: warning: 'view' is deprecated: first deprecated in macOS 10.14 [-Wdeprecated-declarations]
bool ok = [context view] != nil;
^
/Applications/Xcode-12.3.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX11.1.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSOpenGL.h:193:36: note: property 'view' is declared deprecated here
@property (nullable, weak) NSView *view API_DEPRECATED("", macos(10.0,10.14));
^
/Applications/Xcode-12.3.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX11.1.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSOpenGL.h:193:36: note: 'view' has been explicitly marked deprecated here
../VTK/Rendering/OpenGL2/vtkCocoaRenderWindow.mm:862:15: warning: 'setWantsBestResolutionOpenGLSurface:' is deprecated: first deprecated in macOS 10.14 - Use NSOpenGLView instead. [-Wdeprecated-declarations]
[glView setWantsBestResolutionOpenGLSurface:wantsBest];
^
/Applications/Xcode-12.3.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX11.1.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSOpenGLView.h:47:16: note: property 'wantsBestResolutionOpenGLSurface' is declared deprecated here
@property BOOL wantsBestResolutionOpenGLSurface API_DEPRECATED("Use NSOpenGLView instead.", macos(10.7,10.14));
^
/Applications/Xcode-12.3.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX11.1.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSOpenGLView.h:47:16: note: 'setWantsBestResolutionOpenGLSurface:' has been explicitly marked deprecated here
../VTK/Rendering/OpenGL2/vtkCocoaRenderWindow.mm:882:15: warning: 'setWantsBestResolutionOpenGLSurface:' is deprecated: first deprecated in macOS 10.14 - Use NSOpenGLView instead. [-Wdeprecated-declarations]
[glView setWantsBestResolutionOpenGLSurface:wantsBest];
^
/Applications/Xcode-12.3.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX11.1.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSOpenGLView.h:47:16: note: property 'wantsBestResolutionOpenGLSurface' is declared deprecated here
@property BOOL wantsBestResolutionOpenGLSurface API_DEPRECATED("Use NSOpenGLView instead.", macos(10.7,10.14));
^
/Applications/Xcode-12.3.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX11.1.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSOpenGLView.h:47:16: note: 'setWantsBestResolutionOpenGLSurface:' has been explicitly marked deprecated here
../VTK/Rendering/OpenGL2/vtkCocoaRenderWindow.mm:903:14: warning: 'setView:' is deprecated: first deprecated in macOS 10.14 - Use NSOpenGLView to provide OpenGL content in a Cocoa app. [-Wdeprecated-declarations]
[context setView:view];
^
/Applications/Xcode-12.3.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX11.1.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSOpenGL.h:193:36: note: property 'view' is declared deprecated here
@property (nullable, weak) NSView *view API_DEPRECATED("", macos(10.0,10.14));
^
/Applications/Xcode-12.3.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX11.1.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSOpenGL.h:194:1: note: 'setView:' has been explicitly marked deprecated here
- (void)setView:(nullable NSView *)view API_DEPRECATED("Use NSOpenGLView to provide OpenGL content in a Cocoa app.", macos(10.0,10.14));
^
../VTK/Rendering/OpenGL2/vtkCocoaRenderWindow.mm:1025:42: warning: 'NSOpenGLCPSwapInterval' is deprecated: first deprecated in macOS 10.14 [-Wdeprecated-declarations]
[context setValues:&one forParameter:NSOpenGLCPSwapInterval];
^~~~~~~~~~~~~~~~~~~~~~
NSOpenGLContextParameterSwapInterval
/Applications/Xcode-12.3.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX11.1.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSOpenGL.h:258:39: note: 'NSOpenGLCPSwapInterval' has been explicitly marked deprecated here
static const NSOpenGLContextParameter NSOpenGLCPSwapInterval API_DEPRECATED_WITH_REPLACEMENT("NSOpenGLContextParameterSwapInterval", macos(10.5,10.14)) = NSOpenGLContextParameterSwapInterval;
^
../VTK/Rendering/OpenGL2/vtkCocoaRenderWindow.mm:1061:16: warning: 'setView:' is deprecated: first deprecated in macOS 10.14 - Use NSOpenGLView to provide OpenGL content in a Cocoa app. [-Wdeprecated-declarations]
[context setView:view];
^
/Applications/Xcode-12.3.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX11.1.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSOpenGL.h:193:36: note: property 'view' is declared deprecated here
@property (nullable, weak) NSView *view API_DEPRECATED("", macos(10.0,10.14));
^
/Applications/Xcode-12.3.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX11.1.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSOpenGL.h:194:1: note: 'setView:' has been explicitly marked deprecated here
- (void)setView:(nullable NSView *)view API_DEPRECATED("Use NSOpenGLView to provide OpenGL content in a Cocoa app.", macos(10.0,10.14));
^
6 warnings generated.
```
Cc: @seanm @cory.quammenSean McBrideSean McBridehttps://gitlab.kitware.com/vtk/vtk/-/issues/18098VTK Linux CI exclusions2022-07-08T04:36:07-04:00Ben BoeckelVTK Linux CI exclusionsThere are currently a host of tests being excluded on the "main" Linux build job due to some rendering quirks. It is unknown what the cause(s) of these problems are, but this issue is to track information about it. See `.gitlab/ci/ctest_...There are currently a host of tests being excluded on the "main" Linux build job due to some rendering quirks. It is unknown what the cause(s) of these problems are, but this issue is to track information about it. See `.gitlab/ci/ctest_test.cmake` (!7486) for the exclusion list.
Cc: @ken-martin @utkarsh.ayachit @sankheshhttps://gitlab.kitware.com/vtk/vtk/-/issues/18099Stop importing `vtk` in tests2023-01-18T21:19:32-05:00Ben BoeckelStop importing `vtk` in testsMany Python tests import the `vtk` module. This ends up importing *every* VTK module. If just one module has a problem, every Python test ends up failing. Instead, tests should import the module and class from the `vtkmodules` package.
...Many Python tests import the `vtk` module. This ends up importing *every* VTK module. If just one module has a problem, every Python test ends up failing. Instead, tests should import the module and class from the `vtkmodules` package.
@mwestphal Here's an idea for a hackathon
Cc: @utkarsh.ayachit @vboleaDavid GobbiDavid Gobbihttps://gitlab.kitware.com/vtk/vtk/-/issues/18100CI build configuration tracking2024-03-25T06:51:51-04:00Ben BoeckelCI build configuration trackingAdd Linux builds for the following:
- [ ] asan (!7575; reverted)
- [ ] ubsan (!7575; reverted)
- [ ] tsan
- [x] clang-tidy (!7598)
- [x] osmesa (!7855)
- [ ] 32bit ids
- [ ] egl
- [ ] cuda (!7876)
- [x] Doxygen nightly...Add Linux builds for the following:
- [ ] asan (!7575; reverted)
- [ ] ubsan (!7575; reverted)
- [ ] tsan
- [x] clang-tidy (!7598)
- [x] osmesa (!7855)
- [ ] 32bit ids
- [ ] egl
- [ ] cuda (!7876)
- [x] Doxygen nightly upload job
- [ ] icc + mpi (removed here because of SHM issues: https://gitlab.kitware.com/vtk/vtk/-/merge_requests/9747)
- [ ] coverage
- [ ] cross compiled android
- [ ] Debug
- [ ] cppcheck: https://gitlab.kitware.com/vtk/vtk/-/issues/18142
Additional dependencies (see `.gitlab/ci/configure_fedora_common.cmake`; these will need added to ParaView as well):
- [x] adios (@chuck.atkins, @caitlin.ross) (!7855)
- [x] openturns (@mwestphal) (!7855)
- [x] openvr (@ken-martin) (!7855)
- [ ] ospray (@utkarsh.ayachit)
- [ ] optix(?) (@ken-martin)
- [ ] visrtx (@ken-martin)
- [ ] open cascade (@spiros.tsalikis )
macOS builds (other than "all features"):
- [ ] nopython/python3
- [ ] aarch64 universal compilation (with tests on aarch64 and x86_64 hardware)
Most dependencies need downloaded here.
Windows builds (other than "all features"):
- [ ] nopython/python3
- [ ] mpi/nompi
- [ ] kits/nokits
- [ ] cuda
Most dependencies need downloaded here too.
Linux builds (other than "all features"):
- [ ] `VTK_PYTHON_FULL_THREADSAFE`
Python wheels (`master` only; MRs can unmask to test specifically):
- [x] manylinux2014/3.6 (!7898)
- [x] manylinux2014/3.7 (!7898)
- [x] manylinux2014/3.8 (!7898)
- [x] manylinux2014/3.9 (!7898)
- [x] macos/3.6 (!7898)
- [x] macos/3.7 (!7898)
- [x] macos/3.8 (!7898)
- [x] macos/3.9 (!7898)
- [x] win64/3.6 (!7898)
- [x] win64/3.7 (!7898)
- [x] win64/3.8 (!7898)
- [x] win64/3.9 (!7898)https://gitlab.kitware.com/vtk/vtk/-/issues/18107Support TBB 2021 version, which has backwards-incompatible changes2022-05-11T07:40:58-04:00Sean McBrideSupport TBB 2021 version, which has backwards-incompatible changesIt seems TBB from the 2020 version to the 2021 version made a bunch of backwards-incompatible changes. The installed result has moved headers around, renamed them, and god knows what more. Notably the `tbb_stddef.h` file that VTK looks...It seems TBB from the 2020 version to the 2021 version made a bunch of backwards-incompatible changes. The installed result has moved headers around, renamed them, and god knows what more. Notably the `tbb_stddef.h` file that VTK looks for is no longer there, and thus fails to build.
OpenCV had the same problem, recently fixed: https://github.com/opencv/opencv/issues/19358
The good news though is that TBB seems to have switched to using cmake, so that's nice at least!https://gitlab.kitware.com/vtk/vtk/-/issues/18108CUDA configuration with Kepler and >=cuda-11 fails in vtkm2021-02-03T17:06:59-05:00BerndCUDA configuration with Kepler and >=cuda-11 fails in vtkmHello,
when configuring the VTK project, version 9.0.1, with a Kepler CUDA compute arch using >=cuda-11 cmake isn't able to finish this step properly. In `ThirdParty/vtkm/vtkvtkm/vtk-m/CMake/VTKmDeviceAdapters.cmake` both, compute_30 an...Hello,
when configuring the VTK project, version 9.0.1, with a Kepler CUDA compute arch using >=cuda-11 cmake isn't able to finish this step properly. In `ThirdParty/vtkm/vtkvtkm/vtk-m/CMake/VTKmDeviceAdapters.cmake` both, compute_30 and compute_35 arches are set and passed to the `--generate-code` flag for nvcc.
However, starting with CUDA-11, the compute_30 arches are no longer supported, so the configuration fails. For Gentoo, I found the attached patch to solve this issue (see also https://github.com/gentoo/gentoo/blob/b4515ef3e96a9e3cdfe5723141fe0a0ca5fa4d56/sci-libs/vtk/files/vtk-9.0.1-0001-fix-kepler-compute_arch-if-CUDA-toolkit-11-is-used.patch).
I haven't tested with the master branch, but the code hasn't changed, so I assume, the issue will be present for current HEAD too.
[vtk-9.0.1-0001-fix-kepler-compute_arch-if-CUDA-toolkit-11-is-used.patch](/uploads/bd1c4d3ef1aecceec06bb630f865b36d/vtk-9.0.1-0001-fix-kepler-compute_arch-if-CUDA-toolkit-11-is-used.patch)https://gitlab.kitware.com/vtk/vtk/-/issues/18111clang-tidy CI check exclusions2022-07-08T03:48:46-04:00Ben Boeckelclang-tidy CI check exclusionsThere are currently a host of excluded checks in `.clang-tidy` and `ThirdParty/.clang-tidy`. The latter is likely *much* harder to fix. However, the former is (mostly) VTK code that we can fix. The only checks enabled for third party cod...There are currently a host of excluded checks in `.clang-tidy` and `ThirdParty/.clang-tidy`. The latter is likely *much* harder to fix. However, the former is (mostly) VTK code that we can fix. The only checks enabled for third party code are the `bugprone-*` checks, but we can enable others once we have VTK under control (as it will likely involve many changes pushed to the upstream projects).
### When fixing, please fix a *single* check per commit while removing the line from the `.clang-tidy` file.
A lot of the checks can be fixed automatically. To do so:
- configure with `-DCMAKE_{C,CXX}_CLANG_TIDY="$(which clang-tidy);--fix"`
- remove the fix you would like to fix from `.clang-tidy`
- build *without parallelization* (`make` or `ninja -j1`)
- commit changes
- the CI configuration for `clang-tidy` is almost certainly building more modules than you are locally, so fix what it finds and *squash* it into the commit fixing that check rather than doing multiple "and one more fix for $check"-style commits.
- repeat as you wish and make an MR with multiple fixed checks or an MR per check (up to you)
For those without `--fix` support, just rebuild and edit until warning-free.
Typical problem areas:
- generated code (should be fixed, but separately)
- code generated by VTK tools
- code generated by external tools (namely `flex`/`bison`)
- third party code
- fix it upstream and update the copy VTK ships; or
- add an exclusion for that project in a directory as close as possible (but still in VTK-land; the robot will tell you if you get "too close", but the general rule is "it should be beside the `update.sh` file for the import")
List of excluded checks:
- [ ] bugprone-argument-comment
- [ ] bugprone-branch-clone
- [ ] bugprone-fold-init-type
- [ ] bugprone-incorrect-roundings
- [ ] bugprone-infinite-loop
- [ ] bugprone-integer-division
- [ ] bugprone-macro-parentheses
- [ ] bugprone-misplaced-widening-cast
- [ ] bugprone-narrowing-conversions
- [ ] bugprone-not-null-terminated-result
- [x] bugprone-parent-virtual-call (!7673)
- [ ] bugprone-reserved-identifier
- [ ] bugprone-signed-char-misuse
- [x] bugprone-sizeof-expression (!7673)
- [x] bugprone-string-constructor (!7673)
- [x] bugprone-suspicious-include (!7673)
- [x] bugprone-suspicious-missing-comma (!7673)
- [x] bugprone-suspicious-semicolon (!7673)
- [x] bugprone-suspicious-string-compare (!7673)
- [x] bugprone-throw-keyword-missing (!7673)
- [ ] bugprone-unhandled-self-assignment
- [x] bugprone-unused-raii (!7673)
- [x] bugprone-unused-return-value (!7673)
- [x] bugprone-use-after-move (!7673)
- [ ] clang-analyzer-core.CallAndMessage
- [ ] clang-analyzer-core.DivideZero
- [ ] clang-analyzer-core.NonNullParamChecker
- [ ] clang-analyzer-core.NullDereference
- [ ] clang-analyzer-core.UndefinedBinaryOperatorResult
- [ ] clang-analyzer-core.VLASize
- [ ] clang-analyzer-core.uninitialized.ArraySubscript
- [ ] clang-analyzer-core.uninitialized.Assign
- [ ] clang-analyzer-core.uninitialized.Branch
- [ ] clang-analyzer-cplusplus.Move
- [ ] clang-analyzer-cplusplus.NewDelete
- [ ] clang-analyzer-cplusplus.NewDeleteLeaks
- [ ] clang-analyzer-cplusplus.PlacementNew
- [ ] clang-analyzer-deadcode.DeadStores
- [ ] clang-analyzer-optin.cplusplus.UninitializedObject
- [ ] clang-analyzer-optin.cplusplus.VirtualCall
- [ ] clang-analyzer-optin.mpi.MPI-Checker
- [ ] clang-analyzer-optin.portability.UnixAPI
- [ ] clang-analyzer-security.FloatLoopCounter
- [ ] clang-analyzer-security.insecureAPI.DeprecatedOrUnsafeBufferHandling
- [ ] clang-analyzer-security.insecureAPI.strcpy
- [ ] clang-analyzer-unix.Malloc
- [ ] clang-analyzer-unix.MallocSizeof
- [ ] clang-analyzer-unix.MismatchedDeallocator
- [ ] clang-analyzer-valist.Unterminated
- [ ] misc-no-recursion
- [ ] misc-non-private-member-variables-in-classes
- [ ] misc-redundant-expression
- [ ] misc-throw-by-value-catch-by-reference
- [ ] misc-unconventional-assign-operator (see #18119)
- [ ] misc-unused-parameters
- [ ] misc-unused-using-decls
- [ ] modernize-avoid-c-arrays
- [ ] modernize-deprecated-headers
- [ ] modernize-loop-convert
- [ ] modernize-pass-by-value
- [ ] modernize-raw-string-literal
- [x] modernize-redundant-void-arg (!7714)
- [ ] modernize-replace-random-shuffle
- [ ] modernize-return-braced-init-list
- [ ] modernize-use-auto
- [x] modernize-use-bool-literals (!7714)
- [ ] modernize-use-default-member-init
- [x] modernize-use-emplace (!7714)
- [x] modernize-use-equals-default (!7610)
- [ ] modernize-use-equals-delete (see #18119)
- [x] modernize-use-nullptr (!7610)
- [x] modernize-use-override (!7610)
- [ ] modernize-use-trailing-return-type
- [ ] modernize-use-using
- [x] performance-for-range-copy (!7714)
- [x] performance-inefficient-string-concatenation (!7714)
- [x] performance-inefficient-vector-operation (!7714)
- [x] performance-move-const-arg (!7714)
- [x] performance-no-automatic-move (!7714)
- [x] performance-noexcept-move-constructor (!7714)
- [ ] performance-type-promotion-in-math-fn
- [x] performance-unnecessary-copy-initialization (!7714)
- [ ] performance-unnecessary-value-param
- [x] readability-avoid-const-params-in-decls (!7610)
- [ ] readability-braces-around-statements
- [x] readability-container-size-empty (!7673)
- [ ] readability-convert-member-functions-to-static
- [x] readability-delete-null-pointer (!7673)
- [ ] readability-else-after-return
- [ ] readability-function-size
- [ ] readability-implicit-bool-conversion
- [x] readability-inconsistent-declaration-parameter-name (!7673)
- [ ] readability-isolate-declaration
- [ ] readability-magic-numbers
- [ ] readability-make-member-function-const
- [ ] readability-named-parameter
- [ ] readability-non-const-parameter
- [ ] readability-qualified-auto
- [x] readability-redundant-access-specifiers (!7714)
- [x] readability-redundant-control-flow (!7714)
- [ ] readability-redundant-declaration (was in !7673, but removed due to cmake/cmake!5856)
- [x] readability-redundant-member-init (!7673)
- [ ] readability-redundant-preprocessor
- [x] readability-redundant-smartptr-get (!7714)
- [x] readability-redundant-string-cstr (!7673)
- [x] readability-redundant-string-init (!7673)
- [ ] readability-simplify-boolean-expr (partly fixed in !7714; some instances make sense as-is)
- [x] readability-static-accessed-through-instance (!7714)
- [x] readability-static-definition-in-anonymous-namespace (!7673)
- [x] readability-string-compare (!7673)
- [ ] readability-uppercase-literal-suffix
- [ ] readability-use-anyofallof
Cc: @seanm @utkarsh.ayachithttps://gitlab.kitware.com/vtk/vtk/-/issues/18112FindTBB: support tbb-config.cmake2021-02-25T12:28:31-05:00Ben BoeckelFindTBB: support tbb-config.cmakeFindTBB currently always does searching on its own. Support for the new `tbb-config.cmake` (`find_package(TBB CONFIG)`) needs to be added when available, only falling back when it is not available.
Cc: @robertmaynard @jcfrFindTBB currently always does searching on its own. Support for the new `tbb-config.cmake` (`find_package(TBB CONFIG)`) needs to be added when available, only falling back when it is not available.
Cc: @robertmaynard @jcfrBen BoeckelBen Boeckelhttps://gitlab.kitware.com/vtk/vtk/-/issues/18113CI jobs for contract testing2022-12-09T13:32:25-05:00Ben BoeckelCI jobs for contract testingVTK has a complex API that breaks occasionally without warning. In addition, behaviors sometimes change without warning. In order to make VTK developers aware of when these changes matter to "significant" projects, VTK should run contrac...VTK has a complex API that breaks occasionally without warning. In addition, behaviors sometimes change without warning. In order to make VTK developers aware of when these changes matter to "significant" projects, VTK should run contract testing for these using a successful build of VTK itself.
Projects of note (can be expanded):
- [x] VTK's own test suite (see `Testing/External`) (!7653)
- [ ] ParaView (needs support for an external VTK to be in the repository, see paraview/paraview#14157)
- [ ] Slicer (IIRC, needs support for a pre-built VTK)
The process would be to take a VTK CI job that has passed testing, install it to a directory and upload it as an artifact. Then each project can take this artifact, extract it into an environment where the project-under-test is cloned, built, and tested against the installed VTK.
Projects should always build, but testing is harder to quantify in addition to taking a long time. CDash results can be uploaded to both VTK's CDash instance and the main project's instance (see [this file from SMTK](https://gitlab.kitware.com/cmb/smtk/-/blob/master/.gitlab/ci/ctest_submit_multi.cmake) for how to submit to multiple CDash instances). In order to subset the test suite of contract projects, tests can gain a CTest label which VTK can use to run that subset. If wanted, the full set can then be run and uploaded to the project's main CDash instance (excluding the tests already run for VTK).
Cc: @jcfr @utkarsh.ayachithttps://gitlab.kitware.com/vtk/vtk/-/issues/18114Reduce `try_compile` overhead2021-02-05T05:26:34-05:00Ben BoeckelReduce `try_compile` overheadThis is mainly an issue with third party projects, but there are many checks which are done at configure time that can instead just be deferred to compile time by the preprocessor. We should seek to reduce these as much as possible.
Tec...This is mainly an issue with third party projects, but there are many checks which are done at configure time that can instead just be deferred to compile time by the preprocessor. We should seek to reduce these as much as possible.
Techniques:
- consolidate checks for types to use the same variable name between third party packages (to use CMake's caching mechanisms)
- port to KWIML (`VTK::kwiml`) which provides most (all?) of the `sizeof(basic_type)` values via the preprocessor
- embed decisions that we know into the logic (e.g., `fork()` is just not going to exist on Windows, don't check for it; `memcpy` is in every platform VTK supports, etc.)
- upstream what we can (probably hard; KWIML is unlikely to be accepted, but we adapt its code for inclusion upstream)
A from-scratch configure for VTK currently takes about 89s on CI. We can probably get this to be under 15s.
Cc: @brad.king (who did this for much of CMake's third party projects)
Cc: @robertmaynard @utkarsh.ayachithttps://gitlab.kitware.com/vtk/vtk/-/issues/18126Failing CI tests2022-07-08T03:56:59-04:00Ben BoeckelFailing CI testsCI tests are currently failing:
### asan and "everything"
- [ ] VTK::FiltersModelingPython-TestImprintFilter2
- [ ] VTK::FiltersModelingPython-TestImprintFilter3
- [x] VTK::RenderingFreeTypeCxx-TestMathTextFonts (fixed in !7654 b...CI tests are currently failing:
### asan and "everything"
- [ ] VTK::FiltersModelingPython-TestImprintFilter2
- [ ] VTK::FiltersModelingPython-TestImprintFilter3
- [x] VTK::RenderingFreeTypeCxx-TestMathTextFonts (fixed in !7654 by installing matplotlib)
- [x] VTK::RenderingVolumePython-gaussian
- [x] VTK::IOChemistryPython-caffeine
- [x] VTK::IOChemistryPython-caffeine_notrailingwhitespaces
- [x] VTK::IOChemistryPython-TestXYZMol
### ubsan
- [ ] VTK::RenderingOpenGL2Cxx-TestGlyph3DMapperPickability
Help tracking down where these started showing up would be helpful. My guess is that the picking is related to !7606 (@paul.lafoix @mwestphal @LucasGandelKitware)
Imprint is likely !7616 (@will.schroeder @cory.quammen @charles.gueunet).
MathTextFonts might be a lack of matplotlib (being fixed in !7654, but the test should be avoided if matplotlib isn't available).
Cc: @utkarsh.ayachithttps://gitlab.kitware.com/vtk/vtk/-/issues/18130Fails to build with PROJ 8.0.0 (proj_api.h removed)2021-03-13T18:35:44-05:00Bas CouwenbergFails to build with PROJ 8.0.0 (proj_api.h removed)Follow up to #17554.
VTK fails to build with PROJ 8.0.0 which has removed `proj_api.h`.
While suppport for `proj.h` has been added, `proj_api.h` is also still used:
```c
#if VTK_MODULE_USE_EXTERNAL_vtklibproj
# if VTK_LibPROJ_MAJOR_VER...Follow up to #17554.
VTK fails to build with PROJ 8.0.0 which has removed `proj_api.h`.
While suppport for `proj.h` has been added, `proj_api.h` is also still used:
```c
#if VTK_MODULE_USE_EXTERNAL_vtklibproj
# if VTK_LibPROJ_MAJOR_VERSION >= 5
# include <proj.h>
# endif
# if VTK_LibPROJ_MAJOR_VERSION < 6
# include <projects.h>
# endif
# if VTK_LibPROJ_MAJOR_VERSION >= 6
# define ACCEPT_USE_OF_DEPRECATED_PROJ_API_H 1
# endif
# include <proj_api.h>
# include <geodesic.h>
#else
# include <vtklibproj/src/projects.h>
# include <vtklibproj/src/proj_api.h>
# include <vtklibproj/src/geodesic.h>
#endif
```
Restricting this to only use `proj.h` shows that the code still relies on `proj_api.h` features and has not been properly ported to the PROJ 6 API:
```cmake
/build/vtk9-9.0.1+dfsg1/Geovis/Core/vtkGeoProjection.cxx: In destructor 'virtual vtkGeoProjection::~vtkGeoProjection()':
/build/vtk9-9.0.1+dfsg1/Geovis/Core/vtkGeoProjection.cxx:124:5: error: 'pj_free' was not declared in this scope; did you mean 'free'?
124 | pj_free(this->Projection);
| ^~~~~~~
| free
/build/vtk9-9.0.1+dfsg1/Geovis/Core/vtkGeoProjection.cxx: In member function 'virtual int vtkGeoProjection::UpdateProjection()':
/build/vtk9-9.0.1+dfsg1/Geovis/Core/vtkGeoProjection.cxx:188:5: error: 'pj_free' was not declared in this scope; did you mean 'free'?
188 | pj_free(this->Projection);
| ^~~~~~~
| free
/build/vtk9-9.0.1+dfsg1/Geovis/Core/vtkGeoProjection.cxx:194:24: error: 'pj_init_plus' was not declared in this scope
194 | this->Projection = pj_init_plus(this->PROJ4String);
| ^~~~~~~~~~~~
/build/vtk9-9.0.1+dfsg1/Geovis/Core/vtkGeoProjection.cxx:234:24: error: 'pj_init' was not declared in this scope; did you mean 'u_int'?
234 | this->Projection = pj_init(argSize, const_cast<char**>(pjArgs));
| ^~~~~~~
| u_int
make[4]: *** [Geovis/Core/CMakeFiles/GeovisCore.dir/build.make:111: Geovis/Core/CMakeFiles/GeovisCore.dir/vtkGeoProjection.cxx.o] Error 1
```
The following patch was used to test the build with PROJ 8.0.0:
```patch
--- a/ThirdParty/libproj/vtk_libproj.h.in
+++ b/ThirdParty/libproj/vtk_libproj.h.in
@@ -32,10 +32,10 @@
# if VTK_LibPROJ_MAJOR_VERSION < 6
# include <projects.h>
# endif
-# if VTK_LibPROJ_MAJOR_VERSION >= 6
+# if VTK_LibPROJ_MAJOR_VERSION >= 6 && VTK_LibPROJ_MAJOR_VERSION < 8
# define ACCEPT_USE_OF_DEPRECATED_PROJ_API_H 1
+# include <proj_api.h>
# endif
-# include <proj_api.h>
# include <geodesic.h>
#else
# include <vtklibproj/src/projects.h>
```https://gitlab.kitware.com/vtk/vtk/-/issues/18138error C2079: 'rusage' uses undefined struct 'rusage'2021-05-15T15:24:04-04:00al-sabrerror C2079: 'rusage' uses undefined struct 'rusage'Link to existing ticket : https://github.com/InsightSoftwareConsortium/ITK/issues/2363
error C2079: 'rusage' uses undefined struct 'rusage'Link to existing ticket : https://github.com/InsightSoftwareConsortium/ITK/issues/2363
error C2079: 'rusage' uses undefined struct 'rusage'https://gitlab.kitware.com/vtk/vtk/-/issues/18144VTK::FiltersCorePython-QuadricDecimation2 test exclusion2021-09-02T21:03:13-04:00Ben BoeckelVTK::FiltersCorePython-QuadricDecimation2 test exclusionThe `VTK::FiltersCorePython-QuadricDecimation2` test is currently excluded on Windows CI. See the failure [here](https://open.cdash.org/test/360245245). The test passed on the CI Windows branch based off of 64c97df4874be90b63e5fad4350928...The `VTK::FiltersCorePython-QuadricDecimation2` test is currently excluded on Windows CI. See the failure [here](https://open.cdash.org/test/360245245). The test passed on the CI Windows branch based off of 64c97df4874be90b63e5fad43509284de6d97026, so presumably something in that range is to blame.
Cc: @cory.quammenBen BoeckelBen Boeckelhttps://gitlab.kitware.com/vtk/vtk/-/issues/18151PEGTL 3.0 support2023-09-12T21:49:26-04:00Bruno PaganiPEGTL 3.0 supportWhen trying to build against our PEGTL version on Arch Linux, it fails with the following message at first:
```
VTK/ThirdParty/pegtl/vtk_pegtl.h:22:23: fatal error: tao/pegtl/contrib/tracer.hpp: No such file or directory
```
Indeed the f...When trying to build against our PEGTL version on Arch Linux, it fails with the following message at first:
```
VTK/ThirdParty/pegtl/vtk_pegtl.h:22:23: fatal error: tao/pegtl/contrib/tracer.hpp: No such file or directory
```
Indeed the file was renamed upstream in https://github.com/taocpp/PEGTL/commit/08831810479803762f0da60efe84955a1aaa3dde
But actually, I’ve seen that the [3.0.0 release](https://github.com/taocpp/PEGTL/releases/tag/3.0.0) changed a lot of things, so there is some work required before supporting it. Blindly switching the file name in `IO/MotionFX/vtkMotionFXCFGGrammar.h` obviously does not work (log below in case it could be interesting).
<details>
<summary>Log of failure after patching the header name.</summary>
```
In file included from /usr/include/tao/pegtl/normal.hpp:17,
from /usr/include/tao/pegtl/parse.hpp:12,
from /usr/include/tao/pegtl.hpp:8,
from VTK/ThirdParty/pegtl/vtk_pegtl.h:28,
from /build/paraview/src/ParaView-v5.9.0/VTK/IO/MotionFX/vtkMotionFXCFGGrammar.h:22,
from /build/paraview/src/ParaView-v5.9.0/VTK/IO/MotionFX/vtkMotionFXCFGReader.cxx:40:
/usr/include/tao/pegtl/demangle.hpp:84:33: error: ‘string_view’ in namespace ‘std’ does not name a type
84 | [[nodiscard]] constexpr std::string_view demangle() noexcept
| ^~~~~~~~~~~
/usr/include/tao/pegtl/demangle.hpp:84:28: note: ‘std::string_view’ is only available from C++17 onwards
84 | [[nodiscard]] constexpr std::string_view demangle() noexcept
| ^~~
In file included from /usr/include/tao/pegtl/normal.hpp:18,
from /usr/include/tao/pegtl/parse.hpp:12,
from /usr/include/tao/pegtl.hpp:8,
from VTK/ThirdParty/pegtl/vtk_pegtl.h:28,
from /build/paraview/src/ParaView-v5.9.0/VTK/IO/MotionFX/vtkMotionFXCFGGrammar.h:22,
from /build/paraview/src/ParaView-v5.9.0/VTK/IO/MotionFX/vtkMotionFXCFGReader.cxx:40:
/usr/include/tao/pegtl/match.hpp:71:21: error: ‘match_control_unwind’ function uses ‘auto’ type specifier without trailing return type
71 | [[nodiscard]] auto match_control_unwind( ParseInput& in, States&&... st )
| ^~~~
/usr/include/tao/pegtl/match.hpp:71:21: note: deduced return type only available with ‘-std=c++14’ or ‘-std=gnu++14’
/usr/include/tao/pegtl/match.hpp:102:18: error: ‘match’ function uses ‘auto’ type specifier without trailing return type
102 | [[nodiscard]] auto match( ParseInput& in, States&&... st )
| ^~~~
/usr/include/tao/pegtl/match.hpp:102:18: note: deduced return type only available with ‘-std=c++14’ or ‘-std=gnu++14’
In file included from /usr/include/tao/pegtl/normal.hpp:18,
from /usr/include/tao/pegtl/parse.hpp:12,
from /usr/include/tao/pegtl.hpp:8,
from VTK/ThirdParty/pegtl/vtk_pegtl.h:28,
from /build/paraview/src/ParaView-v5.9.0/VTK/IO/MotionFX/vtkMotionFXCFGGrammar.h:22,
from /build/paraview/src/ParaView-v5.9.0/VTK/IO/MotionFX/vtkMotionFXCFGReader.cxx:40:
/usr/include/tao/pegtl/match.hpp: In function ‘auto tao::pegtl::match(ParseInput&, States&& ...)’:
/usr/include/tao/pegtl/match.hpp:121:43: error: ‘is_base_of_v’ is not a member of ‘std’; did you mean ‘is_base_of’?
121 | constexpr bool is_nothing = std::is_base_of_v< nothing< Rule >, Action< Rule > >;
| ^~~~~~~~~~~~
| is_base_of
/usr/include/tao/pegtl/match.hpp:121:72: error: expected primary-expression before ‘,’ token
121 | constexpr bool is_nothing = std::is_base_of_v< nothing< Rule >, Action< Rule > >;
| ^
/usr/include/tao/pegtl/match.hpp:125:43: error: ‘is_base_of_v’ is not a member of ‘std’; did you mean ‘is_base_of’?
125 | if constexpr( !has_apply && std::is_base_of_v< require_apply, Action< Rule > > ) {
| ^~~~~~~~~~~~
| is_base_of
/usr/include/tao/pegtl/match.hpp:125:70: error: expected primary-expression before ‘,’ token
125 | if constexpr( !has_apply && std::is_base_of_v< require_apply, Action< Rule > > ) {
| ^
/usr/include/tao/pegtl/match.hpp:125:87: error: expected primary-expression before ‘>’ token
125 | if constexpr( !has_apply && std::is_base_of_v< require_apply, Action< Rule > > ) {
| ^
/usr/include/tao/pegtl/match.hpp:125:89: error: expected primary-expression before ‘)’ token
125 | if constexpr( !has_apply && std::is_base_of_v< require_apply, Action< Rule > > ) {
| ^
/usr/include/tao/pegtl/match.hpp:129:44: error: ‘is_base_of_v’ is not a member of ‘std’; did you mean ‘is_base_of’?
129 | if constexpr( !has_apply0 && std::is_base_of_v< require_apply0, Action< Rule > > ) {
| ^~~~~~~~~~~~
| is_base_of
/usr/include/tao/pegtl/match.hpp:129:72: error: expected primary-expression before ‘,’ token
129 | if constexpr( !has_apply0 && std::is_base_of_v< require_apply0, Action< Rule > > ) {
| ^
/usr/include/tao/pegtl/match.hpp:129:89: error: expected primary-expression before ‘>’ token
129 | if constexpr( !has_apply0 && std::is_base_of_v< require_apply0, Action< Rule > > ) {
| ^
/usr/include/tao/pegtl/match.hpp:129:91: error: expected primary-expression before ‘)’ token
129 | if constexpr( !has_apply0 && std::is_base_of_v< require_apply0, Action< Rule > > ) {
| ^
/usr/include/tao/pegtl/match.hpp:133:49: error: ‘is_base_of_v’ is not a member of ‘std’; did you mean ‘is_base_of’?
133 | constexpr bool validate_nothing = std::is_base_of_v< maybe_nothing, Action< void > >;
| ^~~~~~~~~~~~
| is_base_of
/usr/include/tao/pegtl/match.hpp:133:76: error: expected primary-expression before ‘,’ token
133 | constexpr bool validate_nothing = std::is_base_of_v< maybe_nothing, Action< void > >;
| ^
/usr/include/tao/pegtl/match.hpp:134:49: error: ‘is_base_of_v’ is not a member of ‘std’; did you mean ‘is_base_of’?
134 | constexpr bool is_maybe_nothing = std::is_base_of_v< maybe_nothing, Action< Rule > >;
| ^~~~~~~~~~~~
| is_base_of
/usr/include/tao/pegtl/match.hpp:134:76: error: expected primary-expression before ‘,’ token
134 | constexpr bool is_maybe_nothing = std::is_base_of_v< maybe_nothing, Action< Rule > >;
| ^
In file included from /usr/include/tao/pegtl/normal.hpp:19,
from /usr/include/tao/pegtl/parse.hpp:12,
from /usr/include/tao/pegtl.hpp:8,
from VTK/ThirdParty/pegtl/vtk_pegtl.h:28,
from /build/paraview/src/ParaView-v5.9.0/VTK/IO/MotionFX/vtkMotionFXCFGGrammar.h:22,
from /build/paraview/src/ParaView-v5.9.0/VTK/IO/MotionFX/vtkMotionFXCFGReader.cxx:40:
/usr/include/tao/pegtl/parse_error.hpp: At global scope:
/usr/include/tao/pegtl/parse_error.hpp:39:29: error: ‘string_view’ in namespace ‘std’ does not name a type
39 | [[nodiscard]] std::string_view message() const noexcept
| ^~~~~~~~~~~
/usr/include/tao/pegtl/parse_error.hpp:39:24: note: ‘std::string_view’ is only available from C++17 onwards
39 | [[nodiscard]] std::string_view message() const noexcept
| ^~~
/usr/include/tao/pegtl/parse_error.hpp:93:26: error: ‘string_view’ in namespace ‘std’ does not name a type
93 | [[nodiscard]] std::string_view message() const noexcept
| ^~~~~~~~~~~
/usr/include/tao/pegtl/parse_error.hpp:93:21: note: ‘std::string_view’ is only available from C++17 onwards
93 | [[nodiscard]] std::string_view message() const noexcept
| ^~~
In file included from /usr/include/tao/pegtl/parse.hpp:12,
from /usr/include/tao/pegtl.hpp:8,
from VTK/ThirdParty/pegtl/vtk_pegtl.h:28,
from /build/paraview/src/ParaView-v5.9.0/VTK/IO/MotionFX/vtkMotionFXCFGGrammar.h:22,
from /build/paraview/src/ParaView-v5.9.0/VTK/IO/MotionFX/vtkMotionFXCFGReader.cxx:40:
/usr/include/tao/pegtl/normal.hpp: In static member function ‘static void tao::pegtl::normal<Rule>::raise(const ParseInput&, States&& ...)’:
/usr/include/tao/pegtl/normal.hpp:49:68: error: ‘demangle’ was not declared in this scope
49 | throw parse_error( "parse error matching " + std::string( demangle< Rule >() ), in );
| ^~~~~~~~
/usr/include/tao/pegtl/normal.hpp:49:27: error: expected primary-expression before ‘(’ token
49 | throw parse_error( "parse error matching " + std::string( demangle< Rule >() ), in );
| ^
/usr/include/tao/pegtl/normal.hpp:49:66: error: expected primary-expression before ‘(’ token
49 | throw parse_error( "parse error matching " + std::string( demangle< Rule >() ), in );
| ^
/usr/include/tao/pegtl/normal.hpp:49:83: error: expected primary-expression before ‘>’ token
49 | throw parse_error( "parse error matching " + std::string( demangle< Rule >() ), in );
| ^
/usr/include/tao/pegtl/normal.hpp:49:85: error: expected primary-expression before ‘)’ token
49 | throw parse_error( "parse error matching " + std::string( demangle< Rule >() ), in );
| ^
In file included from /usr/include/tao/pegtl.hpp:8,
from VTK/ThirdParty/pegtl/vtk_pegtl.h:28,
from /build/paraview/src/ParaView-v5.9.0/VTK/IO/MotionFX/vtkMotionFXCFGGrammar.h:22,
from /build/paraview/src/ParaView-v5.9.0/VTK/IO/MotionFX/vtkMotionFXCFGReader.cxx:40:
/usr/include/tao/pegtl/parse.hpp: At global scope:
/usr/include/tao/pegtl/parse.hpp:27:4: error: ‘parse’ function uses ‘auto’ type specifier without trailing return type
27 | auto parse( ParseInput&& in, States&&... st )
| ^~~~
/usr/include/tao/pegtl/parse.hpp:27:4: note: deduced return type only available with ‘-std=c++14’ or ‘-std=gnu++14’
/usr/include/tao/pegtl/parse.hpp:39:4: error: ‘parse_nested’ function uses ‘auto’ type specifier without trailing return type
39 | auto parse_nested( position op, ParseInput&& in, States&&... st )
| ^~~~
/usr/include/tao/pegtl/parse.hpp:39:4: note: deduced return type only available with ‘-std=c++14’ or ‘-std=gnu++14’
/usr/include/tao/pegtl/parse.hpp:67:4: error: ‘parse_nested’ function uses ‘auto’ type specifier without trailing return type
67 | auto parse_nested( const OuterInput& oi, ParseInput&& in, States&&... st )
| ^~~~
/usr/include/tao/pegtl/parse.hpp:67:4: note: deduced return type only available with ‘-std=c++14’ or ‘-std=gnu++14’
In file included from /usr/include/tao/pegtl/internal/apply.hpp:9,
from /usr/include/tao/pegtl/internal/rules.hpp:9,
from /usr/include/tao/pegtl/ascii.hpp:10,
from /usr/include/tao/pegtl.hpp:11,
from VTK/ThirdParty/pegtl/vtk_pegtl.h:28,
from /build/paraview/src/ParaView-v5.9.0/VTK/IO/MotionFX/vtkMotionFXCFGGrammar.h:22,
from /build/paraview/src/ParaView-v5.9.0/VTK/IO/MotionFX/vtkMotionFXCFGReader.cxx:40:
/usr/include/tao/pegtl/internal/apply_single.hpp:18:18: error: ‘enable_if_t’ in namespace ‘std’ does not name a template type
18 | -> std::enable_if_t< std::is_same_v< decltype( Action::apply( in, st... ) ), void >, bool >
| ^~~~~~~~~~~
/usr/include/tao/pegtl/internal/apply_single.hpp:18:13: note: ‘std::enable_if_t’ is only available from C++14 onwards
18 | -> std::enable_if_t< std::is_same_v< decltype( Action::apply( in, st... ) ), void >, bool >
| ^~~
/usr/include/tao/pegtl/internal/apply_single.hpp:18:29: error: expected initializer before ‘<’ token
18 | -> std::enable_if_t< std::is_same_v< decltype( Action::apply( in, st... ) ), void >, bool >
| ^
/usr/include/tao/pegtl/internal/apply_single.hpp:26:18: error: ‘enable_if_t’ in namespace ‘std’ does not name a template type
26 | -> std::enable_if_t< std::is_same_v< decltype( Action::apply( in, st... ) ), bool >, bool >
| ^~~~~~~~~~~
/usr/include/tao/pegtl/internal/apply_single.hpp:26:13: note: ‘std::enable_if_t’ is only available from C++14 onwards
26 | -> std::enable_if_t< std::is_same_v< decltype( Action::apply( in, st... ) ), bool >, bool >
| ^~~
/usr/include/tao/pegtl/internal/apply_single.hpp:26:29: error: expected initializer before ‘<’ token
26 | -> std::enable_if_t< std::is_same_v< decltype( Action::apply( in, st... ) ), bool >, bool >
| ^
In file included from /usr/include/tao/pegtl/internal/apply0.hpp:9,
from /usr/include/tao/pegtl/internal/rules.hpp:10,
from /usr/include/tao/pegtl/ascii.hpp:10,
from /usr/include/tao/pegtl.hpp:11,
from VTK/ThirdParty/pegtl/vtk_pegtl.h:28,
from /build/paraview/src/ParaView-v5.9.0/VTK/IO/MotionFX/vtkMotionFXCFGGrammar.h:22,
from /build/paraview/src/ParaView-v5.9.0/VTK/IO/MotionFX/vtkMotionFXCFGReader.cxx:40:
/usr/include/tao/pegtl/internal/apply0_single.hpp:18:18: error: ‘enable_if_t’ in namespace ‘std’ does not name a template type
18 | -> std::enable_if_t< std::is_same_v< decltype( Action::apply0( st... ) ), void >, bool >
| ^~~~~~~~~~~
/usr/include/tao/pegtl/internal/apply0_single.hpp:18:13: note: ‘std::enable_if_t’ is only available from C++14 onwards
18 | -> std::enable_if_t< std::is_same_v< decltype( Action::apply0( st... ) ), void >, bool >
| ^~~
/usr/include/tao/pegtl/internal/apply0_single.hpp:18:29: error: expected initializer before ‘<’ token
18 | -> std::enable_if_t< std::is_same_v< decltype( Action::apply0( st... ) ), void >, bool >
| ^
/usr/include/tao/pegtl/internal/apply0_single.hpp:26:18: error: ‘enable_if_t’ in namespace ‘std’ does not name a template type
26 | -> std::enable_if_t< std::is_same_v< decltype( Action::apply0( st... ) ), bool >, bool >
| ^~~~~~~~~~~
/usr/include/tao/pegtl/internal/apply0_single.hpp:26:13: note: ‘std::enable_if_t’ is only available from C++14 onwards
26 | -> std::enable_if_t< std::is_same_v< decltype( Action::apply0( st... ) ), bool >, bool >
| ^~~
/usr/include/tao/pegtl/internal/apply0_single.hpp:26:29: error: expected initializer before ‘<’ token
26 | -> std::enable_if_t< std::is_same_v< decltype( Action::apply0( st... ) ), bool >, bool >
| ^
In file included from /usr/include/tao/pegtl/internal/if_then_else.hpp:12,
from /usr/include/tao/pegtl/internal/rules.hpp:26,
from /usr/include/tao/pegtl/ascii.hpp:10,
from /usr/include/tao/pegtl.hpp:11,
from VTK/ThirdParty/pegtl/vtk_pegtl.h:28,
from /build/paraview/src/ParaView-v5.9.0/VTK/IO/MotionFX/vtkMotionFXCFGGrammar.h:22,
from /build/paraview/src/ParaView-v5.9.0/VTK/IO/MotionFX/vtkMotionFXCFGReader.cxx:40:
/usr/include/tao/pegtl/internal/sor.hpp:43:45: error: ‘std::index_sequence’ has not been declared
43 | [[nodiscard]] static bool match( std::index_sequence< Indices... > /*unused*/, ParseInput& in, States&&... st )
| ^~~~~~~~~~~~~~
/usr/include/tao/pegtl/internal/sor.hpp:43:59: error: expected ‘,’ or ‘...’ before ‘<’ token
43 | [[nodiscard]] static bool match( std::index_sequence< Indices... > /*unused*/, ParseInput& in, States&&... st )
| ^
In file included from /usr/include/tao/pegtl/internal/if_then_else.hpp:12,
from /usr/include/tao/pegtl/internal/rules.hpp:26,
from /usr/include/tao/pegtl/ascii.hpp:10,
from /usr/include/tao/pegtl.hpp:11,
from VTK/ThirdParty/pegtl/vtk_pegtl.h:28,
from /build/paraview/src/ParaView-v5.9.0/VTK/IO/MotionFX/vtkMotionFXCFGGrammar.h:22,
from /build/paraview/src/ParaView-v5.9.0/VTK/IO/MotionFX/vtkMotionFXCFGReader.cxx:40:
/usr/include/tao/pegtl/internal/sor.hpp: In static member function ‘static bool tao::pegtl::internal::sor<Rules>::match(int)’:
/usr/include/tao/pegtl/internal/sor.hpp:45:150: error: ‘in’ was not declared in this scope; did you mean ‘yn’?
45 | return ( Control< Rules >::template match< A, ( ( Indices == ( sizeof...( Rules ) - 1 ) ) ? M : rewind_mode::required ), Action, Control >( in, st... ) || ... );
| ^~
| yn
/usr/include/tao/pegtl/internal/sor.hpp:45:154: error: ‘st’ was not declared in this scope; did you mean ‘at’?
45 | return ( Control< Rules >::template match< A, ( ( Indices == ( sizeof...( Rules ) - 1 ) ) ? M : rewind_mode::required ), Action, Control >( in, st... ) || ... );
| ^~
| at
/usr/include/tao/pegtl/internal/sor.hpp: In static member function ‘static bool tao::pegtl::internal::sor<Rules>::match(ParseInput&, States&& ...)’:
/usr/include/tao/pegtl/internal/sor.hpp:58:54: error: ‘index_sequence_for’ is not a member of ‘std’
58 | return match< A, M, Action, Control >( std::index_sequence_for< Rules... >(), in, st... );
| ^~~~~~~~~~~~~~~~~~
/usr/include/tao/pegtl/internal/sor.hpp:58:79: error: expected primary-expression before ‘...’ token
58 | return match< A, M, Action, Control >( std::index_sequence_for< Rules... >(), in, st... );
| ^~~
In file included from /usr/include/tao/pegtl/memory_input.hpp:23,
from /usr/include/tao/pegtl/internal/rematch.hpp:12,
from /usr/include/tao/pegtl/internal/minus.hpp:11,
from /usr/include/tao/pegtl/internal/rules.hpp:31,
from /usr/include/tao/pegtl/ascii.hpp:10,
from /usr/include/tao/pegtl.hpp:11,
from VTK/ThirdParty/pegtl/vtk_pegtl.h:28,
from /build/paraview/src/ParaView-v5.9.0/VTK/IO/MotionFX/vtkMotionFXCFGGrammar.h:22,
from /build/paraview/src/ParaView-v5.9.0/VTK/IO/MotionFX/vtkMotionFXCFGReader.cxx:40:
/usr/include/tao/pegtl/internal/action_input.hpp: At global scope:
/usr/include/tao/pegtl/internal/action_input.hpp:79:26: error: ‘string_view’ in namespace ‘std’ does not name a type
79 | [[nodiscard]] std::string_view string_view() const noexcept
| ^~~~~~~~~~~
/usr/include/tao/pegtl/internal/action_input.hpp:79:21: note: ‘std::string_view’ is only available from C++17 onwards
79 | [[nodiscard]] std::string_view string_view() const noexcept
| ^~~
/usr/include/tao/pegtl/internal/action_input.hpp: In member function ‘const char* tao::pegtl::internal::action_input<ParseInput>::begin() const’:
/usr/include/tao/pegtl/internal/action_input.hpp:51:29: error: ‘is_same_v’ is not a member of ‘std’; did you mean ‘is_same’?
51 | if constexpr( std::is_same_v< iterator_t, const char* > ) {
| ^~~~~~~~~
| is_same
/usr/include/tao/pegtl/internal/action_input.hpp:51:50: error: expected primary-expression before ‘,’ token
51 | if constexpr( std::is_same_v< iterator_t, const char* > ) {
| ^
/usr/include/tao/pegtl/internal/action_input.hpp:51:52: error: expected primary-expression before ‘const’
51 | if constexpr( std::is_same_v< iterator_t, const char* > ) {
| ^~~~~
/usr/include/tao/pegtl/internal/action_input.hpp:51:51: error: expected ‘)’ before ‘const’
51 | if constexpr( std::is_same_v< iterator_t, const char* > ) {
| ~ ^~~~~~
| )
In file included from /usr/include/tao/pegtl/internal/rematch.hpp:12,
from /usr/include/tao/pegtl/internal/minus.hpp:11,
from /usr/include/tao/pegtl/internal/rules.hpp:31,
from /usr/include/tao/pegtl/ascii.hpp:10,
from /usr/include/tao/pegtl.hpp:11,
from VTK/ThirdParty/pegtl/vtk_pegtl.h:28,
from /build/paraview/src/ParaView-v5.9.0/VTK/IO/MotionFX/vtkMotionFXCFGGrammar.h:22,
from /build/paraview/src/ParaView-v5.9.0/VTK/IO/MotionFX/vtkMotionFXCFGReader.cxx:40:
/usr/include/tao/pegtl/memory_input.hpp: At global scope:
/usr/include/tao/pegtl/memory_input.hpp:45:108: error: ‘is_nothrow_constructible_v’ is not a member of ‘std’; did you mean ‘is_nothrow_constructible’?
45 | memory_input_base( const iterator_t& in_begin, const char* in_end, T&& in_source ) noexcept( std::is_nothrow_constructible_v< Source, T&& > )
| ^~~~~~~~~~~~~~~~~~~~~~~~~~
| is_nothrow_constructible
In file included from /usr/include/tao/pegtl/internal/rematch.hpp:12,
from /usr/include/tao/pegtl/internal/minus.hpp:11,
from /usr/include/tao/pegtl/internal/rules.hpp:31,
from /usr/include/tao/pegtl/ascii.hpp:10,
from /usr/include/tao/pegtl.hpp:11,
from VTK/ThirdParty/pegtl/vtk_pegtl.h:28,
from /build/paraview/src/ParaView-v5.9.0/VTK/IO/MotionFX/vtkMotionFXCFGGrammar.h:22,
from /build/paraview/src/ParaView-v5.9.0/VTK/IO/MotionFX/vtkMotionFXCFGReader.cxx:40:
/usr/include/tao/pegtl/memory_input.hpp:45:142: error: expected primary-expression before ‘,’ token
45 | memory_input_base( const iterator_t& in_begin, const char* in_end, T&& in_source ) noexcept( std::is_nothrow_constructible_v< Source, T&& > )
| ^
/usr/include/tao/pegtl/memory_input.hpp:45:142: error: expected ‘)’ before ‘,’ token
45 | memory_input_base( const iterator_t& in_begin, const char* in_end, T&& in_source ) noexcept( std::is_nothrow_constructible_v< Source, T&& > )
| ~ ^
| )
/usr/include/tao/pegtl/memory_input.hpp:45:142: error: expected ‘;’ before ‘,’ token
45 | memory_input_base( const iterator_t& in_begin, const char* in_end, T&& in_source ) noexcept( std::is_nothrow_constructible_v< Source, T&& > )
| ^
| ;
/usr/include/tao/pegtl/memory_input.hpp:53:102: error: ‘is_nothrow_constructible_v’ is not a member of ‘std’; did you mean ‘is_nothrow_constructible’?
53 | memory_input_base( const char* in_begin, const char* in_end, T&& in_source ) noexcept( std::is_nothrow_constructible_v< Source, T&& > )
| ^~~~~~~~~~~~~~~~~~~~~~~~~~
| is_nothrow_constructible
/usr/include/tao/pegtl/memory_input.hpp:53:136: error: expected primary-expression before ‘,’ token
53 | memory_input_base( const char* in_begin, const char* in_end, T&& in_source ) noexcept( std::is_nothrow_constructible_v< Source, T&& > )
| ^
/usr/include/tao/pegtl/memory_input.hpp:53:136: error: expected ‘)’ before ‘,’ token
53 | memory_input_base( const char* in_begin, const char* in_end, T&& in_source ) noexcept( std::is_nothrow_constructible_v< Source, T&& > )
| ~ ^
| )
/usr/include/tao/pegtl/memory_input.hpp:53:136: error: expected ‘;’ before ‘,’ token
53 | memory_input_base( const char* in_begin, const char* in_end, T&& in_source ) noexcept( std::is_nothrow_constructible_v< Source, T&& > )
| ^
| ;
/usr/include/tao/pegtl/memory_input.hpp:143:116: error: ‘is_nothrow_constructible_v’ is not a member of ‘std’; did you mean ‘is_nothrow_constructible’?
143 | memory_input_base( const internal::iterator& in_begin, const char* in_end, T&& in_source ) noexcept( std::is_nothrow_constructible_v< Source, T&& > )
| ^~~~~~~~~~~~~~~~~~~~~~~~~~
| is_nothrow_constructible
/usr/include/tao/pegtl/memory_input.hpp:143:150: error: expected primary-expression before ‘,’ token
143 | memory_input_base( const internal::iterator& in_begin, const char* in_end, T&& in_source ) noexcept( std::is_nothrow_constructible_v< Source, T&& > )
| ^
/usr/include/tao/pegtl/memory_input.hpp:143:150: error: expected ‘)’ before ‘,’ token
143 | memory_input_base( const internal::iterator& in_begin, const char* in_end, T&& in_source ) noexcept( std::is_nothrow_constructible_v< Source, T&& > )
| ~ ^
| )
/usr/include/tao/pegtl/memory_input.hpp:143:150: error: expected ‘;’ before ‘,’ token
143 | memory_input_base( const internal::iterator& in_begin, const char* in_end, T&& in_source ) noexcept( std::is_nothrow_constructible_v< Source, T&& > )
| ^
| ;
/usr/include/tao/pegtl/memory_input.hpp:151:102: error: ‘is_nothrow_constructible_v’ is not a member of ‘std’; did you mean ‘is_nothrow_constructible’?
151 | memory_input_base( const char* in_begin, const char* in_end, T&& in_source ) noexcept( std::is_nothrow_constructible_v< Source, T&& > )
| ^~~~~~~~~~~~~~~~~~~~~~~~~~
| is_nothrow_constructible
/usr/include/tao/pegtl/memory_input.hpp:151:136: error: expected primary-expression before ‘,’ token
151 | memory_input_base( const char* in_begin, const char* in_end, T&& in_source ) noexcept( std::is_nothrow_constructible_v< Source, T&& > )
| ^
/usr/include/tao/pegtl/memory_input.hpp:151:136: error: expected ‘)’ before ‘,’ token
151 | memory_input_base( const char* in_begin, const char* in_end, T&& in_source ) noexcept( std::is_nothrow_constructible_v< Source, T&& > )
| ~ ^
| )
/usr/include/tao/pegtl/memory_input.hpp:151:136: error: expected ‘;’ before ‘,’ token
151 | memory_input_base( const char* in_begin, const char* in_end, T&& in_source ) noexcept( std::is_nothrow_constructible_v< Source, T&& > )
| ^
| ;
/usr/include/tao/pegtl/memory_input.hpp:239:101: error: ‘is_nothrow_constructible_v’ is not a member of ‘std’; did you mean ‘is_nothrow_constructible’?
239 | memory_input( const char* in_begin, const std::size_t in_size, T&& in_source ) noexcept( std::is_nothrow_constructible_v< Source, T&& > )
| ^~~~~~~~~~~~~~~~~~~~~~~~~~
| is_nothrow_constructible
/usr/include/tao/pegtl/memory_input.hpp:239:135: error: expected primary-expression before ‘,’ token
239 | memory_input( const char* in_begin, const std::size_t in_size, T&& in_source ) noexcept( std::is_nothrow_constructible_v< Source, T&& > )
| ^
/usr/include/tao/pegtl/memory_input.hpp:239:135: error: expected ‘)’ before ‘,’ token
239 | memory_input( const char* in_begin, const std::size_t in_size, T&& in_source ) noexcept( std::is_nothrow_constructible_v< Source, T&& > )
| ~ ^
| )
/usr/include/tao/pegtl/memory_input.hpp:239:135: error: expected ‘;’ before ‘,’ token
239 | memory_input( const char* in_begin, const std::size_t in_size, T&& in_source ) noexcept( std::is_nothrow_constructible_v< Source, T&& > )
| ^
| ;
/usr/include/tao/pegtl/memory_input.hpp:244:82: error: ‘is_nothrow_constructible_v’ is not a member of ‘std’; did you mean ‘is_nothrow_constructible’?
244 | memory_input( const std::string& in_string, T&& in_source ) noexcept( std::is_nothrow_constructible_v< Source, T&& > )
| ^~~~~~~~~~~~~~~~~~~~~~~~~~
| is_nothrow_constructible
/usr/include/tao/pegtl/memory_input.hpp:244:116: error: expected primary-expression before ‘,’ token
244 | memory_input( const std::string& in_string, T&& in_source ) noexcept( std::is_nothrow_constructible_v< Source, T&& > )
| ^
/usr/include/tao/pegtl/memory_input.hpp:244:116: error: expected ‘)’ before ‘,’ token
244 | memory_input( const std::string& in_string, T&& in_source ) noexcept( std::is_nothrow_constructible_v< Source, T&& > )
| ~ ^
| )
/usr/include/tao/pegtl/memory_input.hpp:244:116: error: expected ‘;’ before ‘,’ token
244 | memory_input( const std::string& in_string, T&& in_source ) noexcept( std::is_nothrow_constructible_v< Source, T&& > )
| ^
| ;
/usr/include/tao/pegtl/memory_input.hpp:249:32: error: ‘string_view’ in namespace ‘std’ does not name a type
249 | memory_input( const std::string_view in_string, T&& in_source ) noexcept( std::is_nothrow_constructible_v< Source, T&& > )
| ^~~~~~~~~~~
/usr/include/tao/pegtl/memory_input.hpp:249:27: note: ‘std::string_view’ is only available from C++17 onwards
249 | memory_input( const std::string_view in_string, T&& in_source ) noexcept( std::is_nothrow_constructible_v< Source, T&& > )
| ^~~
/usr/include/tao/pegtl/memory_input.hpp:249:86: error: ‘is_nothrow_constructible_v’ is not a member of ‘std’; did you mean ‘is_nothrow_constructible’?
249 | memory_input( const std::string_view in_string, T&& in_source ) noexcept( std::is_nothrow_constructible_v< Source, T&& > )
| ^~~~~~~~~~~~~~~~~~~~~~~~~~
| is_nothrow_constructible
/usr/include/tao/pegtl/memory_input.hpp:249:120: error: expected primary-expression before ‘,’ token
249 | memory_input( const std::string_view in_string, T&& in_source ) noexcept( std::is_nothrow_constructible_v< Source, T&& > )
| ^
/usr/include/tao/pegtl/memory_input.hpp:249:120: error: expected ‘)’ before ‘,’ token
249 | memory_input( const std::string_view in_string, T&& in_source ) noexcept( std::is_nothrow_constructible_v< Source, T&& > )
| ~ ^
| )
/usr/include/tao/pegtl/memory_input.hpp:249:120: error: expected ‘;’ before ‘,’ token
249 | memory_input( const std::string_view in_string, T&& in_source ) noexcept( std::is_nothrow_constructible_v< Source, T&& > )
| ^
| ;
/usr/include/tao/pegtl/memory_input.hpp:257:74: error: ‘is_nothrow_constructible_v’ is not a member of ‘std’; did you mean ‘is_nothrow_constructible’?
257 | memory_input( const char* in_begin, T&& in_source ) noexcept( std::is_nothrow_constructible_v< Source, T&& > )
| ^~~~~~~~~~~~~~~~~~~~~~~~~~
| is_nothrow_constructible
/usr/include/tao/pegtl/memory_input.hpp:257:108: error: expected primary-expression before ‘,’ token
257 | memory_input( const char* in_begin, T&& in_source ) noexcept( std::is_nothrow_constructible_v< Source, T&& > )
| ^
/usr/include/tao/pegtl/memory_input.hpp:257:108: error: expected ‘)’ before ‘,’ token
257 | memory_input( const char* in_begin, T&& in_source ) noexcept( std::is_nothrow_constructible_v< Source, T&& > )
| ~ ^
| )
/usr/include/tao/pegtl/memory_input.hpp:257:108: error: expected ‘;’ before ‘,’ token
257 | memory_input( const char* in_begin, T&& in_source ) noexcept( std::is_nothrow_constructible_v< Source, T&& > )
| ^
| ;
/usr/include/tao/pegtl/memory_input.hpp:262:177: error: ‘is_nothrow_constructible_v’ is not a member of ‘std’; did you mean ‘is_nothrow_constructible’?
262 | memory_input( const char* in_begin, const char* in_end, T&& in_source, const std::size_t in_byte, const std::size_t in_line, const std::size_t in_column ) noexcept( std::is_nothrow_constructible_v< Source, T&& > )
| ^~~~~~~~~~~~~~~~~~~~~~~~~~
| is_nothrow_constructible
/usr/include/tao/pegtl/memory_input.hpp:262:211: error: expected primary-expression before ‘,’ token
262 | memory_input( const char* in_begin, const char* in_end, T&& in_source, const std::size_t in_byte, const std::size_t in_line, const std::size_t in_column ) noexcept( std::is_nothrow_constructible_v< Source, T&& > )
| ^
/usr/include/tao/pegtl/memory_input.hpp:262:211: error: expected ‘)’ before ‘,’ token
262 | memory_input( const char* in_begin, const char* in_end, T&& in_source, const std::size_t in_byte, const std::size_t in_line, const std::size_t in_column ) noexcept( std::is_nothrow_constructible_v< Source, T&& > )
| ~ ^
| )
/usr/include/tao/pegtl/memory_input.hpp:262:211: error: expected ‘;’ before ‘,’ token
262 | memory_input( const char* in_begin, const char* in_end, T&& in_source, const std::size_t in_byte, const std::size_t in_line, const std::size_t in_column ) noexcept( std::is_nothrow_constructible_v< Source, T&& > )
| ^
| ;
/usr/include/tao/pegtl/memory_input.hpp:263:67: error: expected unqualified-id before ‘,’ token
263 | : memory_input( { in_begin, in_byte, in_line, in_column }, in_end, std::forward< T >( in_source ) )
| ^
/usr/include/tao/pegtl/memory_input.hpp:353:26: error: ‘string_view’ in namespace ‘std’ does not name a type
353 | [[nodiscard]] std::string_view line_at( const TAO_PEGTL_NAMESPACE::position& p ) const noexcept
| ^~~~~~~~~~~
/usr/include/tao/pegtl/memory_input.hpp:353:21: note: ‘std::string_view’ is only available from C++17 onwards
353 | [[nodiscard]] std::string_view line_at( const TAO_PEGTL_NAMESPACE::position& p ) const noexcept
| ^~~
/usr/include/tao/pegtl/memory_input.hpp:361:45: error: expected constructor, destructor, or type conversion before ‘;’ token
361 | memory_input( Ts&&... ) -> memory_input<>;
| ^
In file included from /usr/include/tao/pegtl.hpp:15,
from VTK/ThirdParty/pegtl/vtk_pegtl.h:28,
from /build/paraview/src/ParaView-v5.9.0/VTK/IO/MotionFX/vtkMotionFXCFGGrammar.h:22,
from /build/paraview/src/ParaView-v5.9.0/VTK/IO/MotionFX/vtkMotionFXCFGReader.cxx:40:
/usr/include/tao/pegtl/argv_input.hpp:45:41: error: expected constructor, destructor, or type conversion before ‘;’ token
45 | argv_input( Ts&&... ) -> argv_input<>;
| ^
In file included from /usr/include/tao/pegtl.hpp:17,
from VTK/ThirdParty/pegtl/vtk_pegtl.h:28,
from /build/paraview/src/ParaView-v5.9.0/VTK/IO/MotionFX/vtkMotionFXCFGGrammar.h:22,
from /build/paraview/src/ParaView-v5.9.0/VTK/IO/MotionFX/vtkMotionFXCFGReader.cxx:40:
/usr/include/tao/pegtl/cstream_input.hpp:28:47: error: expected constructor, destructor, or type conversion before ‘;’ token
28 | cstream_input( Ts&&... ) -> cstream_input<>;
| ^
In file included from /usr/include/tao/pegtl.hpp:18,
from VTK/ThirdParty/pegtl/vtk_pegtl.h:28,
from /build/paraview/src/ParaView-v5.9.0/VTK/IO/MotionFX/vtkMotionFXCFGGrammar.h:22,
from /build/paraview/src/ParaView-v5.9.0/VTK/IO/MotionFX/vtkMotionFXCFGReader.cxx:40:
/usr/include/tao/pegtl/istream_input.hpp:28:47: error: expected constructor, destructor, or type conversion before ‘;’ token
28 | istream_input( Ts&&... ) -> istream_input<>;
| ^
In file included from /usr/include/tao/pegtl/read_input.hpp:11,
from /usr/include/tao/pegtl.hpp:20,
from VTK/ThirdParty/pegtl/vtk_pegtl.h:28,
from /build/paraview/src/ParaView-v5.9.0/VTK/IO/MotionFX/vtkMotionFXCFGGrammar.h:22,
from /build/paraview/src/ParaView-v5.9.0/VTK/IO/MotionFX/vtkMotionFXCFGReader.cxx:40:
/usr/include/tao/pegtl/string_input.hpp:60:40: error: ‘string_input’ function with trailing return type not declared with ‘auto’ type specifier
60 | explicit string_input( Ts&&... ) -> string_input<>;
| ^~~~~~~~~~~~~~
In file included from /usr/include/tao/pegtl/internal/file_reader.hpp:18,
from /usr/include/tao/pegtl/read_input.hpp:14,
from /usr/include/tao/pegtl.hpp:20,
from VTK/ThirdParty/pegtl/vtk_pegtl.h:28,
from /build/paraview/src/ParaView-v5.9.0/VTK/IO/MotionFX/vtkMotionFXCFGGrammar.h:22,
from /build/paraview/src/ParaView-v5.9.0/VTK/IO/MotionFX/vtkMotionFXCFGReader.cxx:40:
/usr/include/tao/pegtl/internal/filesystem.hpp:51:34: error: ‘filesystem’ is not a namespace-name
51 | namespace filesystem = ::std::filesystem;
| ^~~~~~~~~~
/usr/include/tao/pegtl/internal/filesystem.hpp:55:11: error: ‘system_category’ function uses ‘auto’ type specifier without trailing return type
55 | inline const auto& system_category() noexcept
| ^~~~~
/usr/include/tao/pegtl/internal/filesystem.hpp:55:11: note: deduced return type only available with ‘-std=c++14’ or ‘-std=gnu++14’
In file included from /usr/include/tao/pegtl/read_input.hpp:14,
from /usr/include/tao/pegtl.hpp:20,
from VTK/ThirdParty/pegtl/vtk_pegtl.h:28,
from /build/paraview/src/ParaView-v5.9.0/VTK/IO/MotionFX/vtkMotionFXCFGGrammar.h:22,
from /build/paraview/src/ParaView-v5.9.0/VTK/IO/MotionFX/vtkMotionFXCFGReader.cxx:40:
/usr/include/tao/pegtl/internal/file_reader.hpp:22:63: error: ‘filesystem’ in namespace ‘tao::pegtl::internal’ does not name a type
22 | [[nodiscard]] inline std::FILE* file_open( const internal::filesystem::path& path )
| ^~~~~~~~~~
/usr/include/tao/pegtl/internal/file_reader.hpp:22:79: error: expected unqualified-id before ‘&’ token
22 | [[nodiscard]] inline std::FILE* file_open( const internal::filesystem::path& path )
| ^
/usr/include/tao/pegtl/internal/file_reader.hpp:22:79: error: expected ‘)’ before ‘&’ token
22 | [[nodiscard]] inline std::FILE* file_open( const internal::filesystem::path& path )
| ~ ^
| )
/usr/include/tao/pegtl/internal/file_reader.hpp:22:81: error: expected initializer before ‘path’
22 | [[nodiscard]] inline std::FILE* file_open( const internal::filesystem::path& path )
| ^~~~
/usr/include/tao/pegtl/internal/file_reader.hpp:67:45: error: ‘filesystem’ in namespace ‘tao::pegtl::internal’ does not name a type
67 | explicit file_reader( const internal::filesystem::path& path )
| ^~~~~~~~~~
/usr/include/tao/pegtl/internal/file_reader.hpp:67:61: error: expected unqualified-id before ‘&’ token
67 | explicit file_reader( const internal::filesystem::path& path )
| ^
/usr/include/tao/pegtl/internal/file_reader.hpp:67:61: error: expected ‘)’ before ‘&’ token
67 | explicit file_reader( const internal::filesystem::path& path )
| ~ ^
| )
/usr/include/tao/pegtl/internal/file_reader.hpp:67:61: error: constructors may not be ref-qualified
/usr/include/tao/pegtl/internal/file_reader.hpp:67:61: error: expected ‘;’ at end of member declaration
67 | explicit file_reader( const internal::filesystem::path& path )
| ^
| ;
/usr/include/tao/pegtl/internal/file_reader.hpp:67:63: error: ‘path’ does not name a type
67 | explicit file_reader( const internal::filesystem::path& path )
| ^~~~
/usr/include/tao/pegtl/internal/file_reader.hpp:71:48: error: ‘filesystem’ in namespace ‘tao::pegtl::internal’ does not name a type
71 | file_reader( FILE* file, const internal::filesystem::path& path ) // NOLINT(modernize-pass-by-value)
| ^~~~~~~~~~
/usr/include/tao/pegtl/internal/file_reader.hpp:71:64: error: expected unqualified-id before ‘&’ token
71 | file_reader( FILE* file, const internal::filesystem::path& path ) // NOLINT(modernize-pass-by-value)
| ^
/usr/include/tao/pegtl/internal/file_reader.hpp:71:64: error: expected ‘)’ before ‘&’ token
71 | file_reader( FILE* file, const internal::filesystem::path& path ) // NOLINT(modernize-pass-by-value)
| ~ ^
| )
/usr/include/tao/pegtl/internal/file_reader.hpp:71:64: error: constructors may not be ref-qualified
/usr/include/tao/pegtl/internal/file_reader.hpp:71:64: error: expected ‘;’ at end of member declaration
71 | file_reader( FILE* file, const internal::filesystem::path& path ) // NOLINT(modernize-pass-by-value)
| ^
| ;
/usr/include/tao/pegtl/internal/file_reader.hpp:71:7: error: ‘tao::pegtl::internal::file_reader::file_reader(...)’ cannot be overloaded with ‘tao::pegtl::internal::file_reader::file_reader(...)’
71 | file_reader( FILE* file, const internal::filesystem::path& path ) // NOLINT(modernize-pass-by-value)
| ^~~~~~~~~~~
/usr/include/tao/pegtl/internal/file_reader.hpp:67:16: note: previous declaration ‘tao::pegtl::internal::file_reader::file_reader(...)’
67 | explicit file_reader( const internal::filesystem::path& path )
| ^~~~~~~~~~~
/usr/include/tao/pegtl/internal/file_reader.hpp:71:66: error: ‘path’ does not name a type
71 | file_reader( FILE* file, const internal::filesystem::path& path ) // NOLINT(modernize-pass-by-value)
| ^~~~
/usr/include/tao/pegtl/internal/file_reader.hpp:146:23: error: ‘filesystem’ in namespace ‘tao::pegtl::internal’ does not name a type
146 | const internal::filesystem::path m_path;
| ^~~~~~~~~~
/usr/include/tao/pegtl/internal/file_reader.hpp: In member function ‘std::size_t tao::pegtl::internal::file_reader::size() const’:
/usr/include/tao/pegtl/internal/file_reader.hpp:91:29: error: ‘tao::pegtl::internal::filesystem’ has not been declared
91 | throw internal::filesystem::filesystem_error( "std::fseek() failed [SEEK_END]", m_path, ec );
| ^~~~~~~~~~
/usr/include/tao/pegtl/internal/file_reader.hpp:91:93: error: ‘m_path’ was not declared in this scope
91 | throw internal::filesystem::filesystem_error( "std::fseek() failed [SEEK_END]", m_path, ec );
| ^~~~~~
/usr/include/tao/pegtl/internal/file_reader.hpp:104:29: error: ‘tao::pegtl::internal::filesystem’ has not been declared
104 | throw internal::filesystem::filesystem_error( "std::ftell() failed", m_path, ec );
| ^~~~~~~~~~
/usr/include/tao/pegtl/internal/file_reader.hpp:104:82: error: ‘m_path’ was not declared in this scope
104 | throw internal::filesystem::filesystem_error( "std::ftell() failed", m_path, ec );
| ^~~~~~
/usr/include/tao/pegtl/internal/file_reader.hpp:116:29: error: ‘tao::pegtl::internal::filesystem’ has not been declared
116 | throw internal::filesystem::filesystem_error( "std::fseek() failed [SEEK_SET]", m_path, ec );
| ^~~~~~~~~~
/usr/include/tao/pegtl/internal/file_reader.hpp:116:93: error: ‘m_path’ was not declared in this scope
116 | throw internal::filesystem::filesystem_error( "std::fseek() failed [SEEK_SET]", m_path, ec );
| ^~~~~~
/usr/include/tao/pegtl/internal/file_reader.hpp: In member function ‘std::string tao::pegtl::internal::file_reader::read() const’:
/usr/include/tao/pegtl/internal/file_reader.hpp:135:29: error: ‘tao::pegtl::internal::filesystem’ has not been declared
135 | throw internal::filesystem::filesystem_error( "std::fread() failed", m_path, ec );
| ^~~~~~~~~~
/usr/include/tao/pegtl/internal/file_reader.hpp:135:82: error: ‘m_path’ was not declared in this scope
135 | throw internal::filesystem::filesystem_error( "std::fread() failed", m_path, ec );
| ^~~~~~
In file included from /usr/include/tao/pegtl/read_input.hpp:16,
from /usr/include/tao/pegtl.hpp:20,
from VTK/ThirdParty/pegtl/vtk_pegtl.h:28,
from /build/paraview/src/ParaView-v5.9.0/VTK/IO/MotionFX/vtkMotionFXCFGGrammar.h:22,
from /build/paraview/src/ParaView-v5.9.0/VTK/IO/MotionFX/vtkMotionFXCFGReader.cxx:40:
/usr/include/tao/pegtl/internal/path_to_string.hpp: At global scope:
/usr/include/tao/pegtl/internal/path_to_string.hpp:14:69: error: ‘filesystem’ in namespace ‘tao::pegtl::internal’ does not name a type
14 | [[nodiscard]] inline std::string path_to_string( const internal::filesystem::path& path )
| ^~~~~~~~~~
/usr/include/tao/pegtl/internal/path_to_string.hpp:14:85: error: expected unqualified-id before ‘&’ token
14 | [[nodiscard]] inline std::string path_to_string( const internal::filesystem::path& path )
| ^
/usr/include/tao/pegtl/internal/path_to_string.hpp:14:85: error: expected ‘)’ before ‘&’ token
14 | [[nodiscard]] inline std::string path_to_string( const internal::filesystem::path& path )
| ~ ^
| )
/usr/include/tao/pegtl/internal/path_to_string.hpp:14:87: error: expected initializer before ‘path’
14 | [[nodiscard]] inline std::string path_to_string( const internal::filesystem::path& path )
| ^~~~
In file included from /usr/include/tao/pegtl.hpp:20,
from VTK/ThirdParty/pegtl/vtk_pegtl.h:28,
from /build/paraview/src/ParaView-v5.9.0/VTK/IO/MotionFX/vtkMotionFXCFGGrammar.h:22,
from /build/paraview/src/ParaView-v5.9.0/VTK/IO/MotionFX/vtkMotionFXCFGReader.cxx:40:
/usr/include/tao/pegtl/read_input.hpp:24:35: error: ‘filesystem’ in namespace ‘tao::pegtl::internal’ does not name a type
24 | read_input( const internal::filesystem::path& path, const std::string& source )
| ^~~~~~~~~~
/usr/include/tao/pegtl/read_input.hpp:24:51: error: expected unqualified-id before ‘&’ token
24 | read_input( const internal::filesystem::path& path, const std::string& source )
| ^
/usr/include/tao/pegtl/read_input.hpp:24:51: error: expected ‘)’ before ‘&’ token
24 | read_input( const internal::filesystem::path& path, const std::string& source )
| ~ ^
| )
/usr/include/tao/pegtl/read_input.hpp:24:51: error: constructors may not be ref-qualified
/usr/include/tao/pegtl/read_input.hpp:24:51: error: expected ‘;’ at end of member declaration
24 | read_input( const internal::filesystem::path& path, const std::string& source )
| ^
| ;
/usr/include/tao/pegtl/read_input.hpp:24:53: error: ‘path’ does not name a type
24 | read_input( const internal::filesystem::path& path, const std::string& source )
| ^~~~
/usr/include/tao/pegtl/read_input.hpp:28:44: error: ‘filesystem’ in namespace ‘tao::pegtl::internal’ does not name a type
28 | explicit read_input( const internal::filesystem::path& path )
| ^~~~~~~~~~
/usr/include/tao/pegtl/read_input.hpp:28:60: error: expected unqualified-id before ‘&’ token
28 | explicit read_input( const internal::filesystem::path& path )
| ^
/usr/include/tao/pegtl/read_input.hpp:28:60: error: expected ‘)’ before ‘&’ token
28 | explicit read_input( const internal::filesystem::path& path )
| ~ ^
| )
/usr/include/tao/pegtl/read_input.hpp:28:60: error: constructors may not be ref-qualified
/usr/include/tao/pegtl/read_input.hpp:28:60: error: expected ‘;’ at end of member declaration
28 | explicit read_input( const internal::filesystem::path& path )
| ^
| ;
/usr/include/tao/pegtl/read_input.hpp:28:16: error: ‘tao::pegtl::read_input<P, Eol>::read_input(...)’ cannot be overloaded with ‘tao::pegtl::read_input<P, Eol>::read_input(...)’
28 | explicit read_input( const internal::filesystem::path& path )
| ^~~~~~~~~~
/usr/include/tao/pegtl/read_input.hpp:24:7: note: previous declaration ‘tao::pegtl::read_input<P, Eol>::read_input(...)’
24 | read_input( const internal::filesystem::path& path, const std::string& source )
| ^~~~~~~~~~
/usr/include/tao/pegtl/read_input.hpp:28:62: error: ‘path’ does not name a type
28 | explicit read_input( const internal::filesystem::path& path )
| ^~~~
/usr/include/tao/pegtl/read_input.hpp:32:47: error: ‘filesystem’ in namespace ‘tao::pegtl::internal’ does not name a type
32 | read_input( FILE* file, const internal::filesystem::path& path, const std::string& source )
| ^~~~~~~~~~
/usr/include/tao/pegtl/read_input.hpp:32:63: error: expected unqualified-id before ‘&’ token
32 | read_input( FILE* file, const internal::filesystem::path& path, const std::string& source )
| ^
/usr/include/tao/pegtl/read_input.hpp:32:63: error: expected ‘)’ before ‘&’ token
32 | read_input( FILE* file, const internal::filesystem::path& path, const std::string& source )
| ~ ^
| )
/usr/include/tao/pegtl/read_input.hpp:32:63: error: constructors may not be ref-qualified
/usr/include/tao/pegtl/read_input.hpp:32:63: error: expected ‘;’ at end of member declaration
32 | read_input( FILE* file, const internal::filesystem::path& path, const std::string& source )
| ^
| ;
/usr/include/tao/pegtl/read_input.hpp:32:7: error: ‘tao::pegtl::read_input<P, Eol>::read_input(...)’ cannot be overloaded with ‘tao::pegtl::read_input<P, Eol>::read_input(...)’
32 | read_input( FILE* file, const internal::filesystem::path& path, const std::string& source )
| ^~~~~~~~~~
/usr/include/tao/pegtl/read_input.hpp:24:7: note: previous declaration ‘tao::pegtl::read_input<P, Eol>::read_input(...)’
24 | read_input( const internal::filesystem::path& path, const std::string& source )
| ^~~~~~~~~~
/usr/include/tao/pegtl/read_input.hpp:32:65: error: ‘path’ does not name a type
32 | read_input( FILE* file, const internal::filesystem::path& path, const std::string& source )
| ^~~~
/usr/include/tao/pegtl/read_input.hpp:36:47: error: ‘filesystem’ in namespace ‘tao::pegtl::internal’ does not name a type
36 | read_input( FILE* file, const internal::filesystem::path& path )
| ^~~~~~~~~~
/usr/include/tao/pegtl/read_input.hpp:36:63: error: expected unqualified-id before ‘&’ token
36 | read_input( FILE* file, const internal::filesystem::path& path )
| ^
/usr/include/tao/pegtl/read_input.hpp:36:63: error: expected ‘)’ before ‘&’ token
36 | read_input( FILE* file, const internal::filesystem::path& path )
| ~ ^
| )
/usr/include/tao/pegtl/read_input.hpp:36:63: error: constructors may not be ref-qualified
/usr/include/tao/pegtl/read_input.hpp:36:63: error: expected ‘;’ at end of member declaration
36 | read_input( FILE* file, const internal::filesystem::path& path )
| ^
| ;
/usr/include/tao/pegtl/read_input.hpp:36:7: error: ‘tao::pegtl::read_input<P, Eol>::read_input(...)’ cannot be overloaded with ‘tao::pegtl::read_input<P, Eol>::read_input(...)’
36 | read_input( FILE* file, const internal::filesystem::path& path )
| ^~~~~~~~~~
/usr/include/tao/pegtl/read_input.hpp:24:7: note: previous declaration ‘tao::pegtl::read_input<P, Eol>::read_input(...)’
24 | read_input( const internal::filesystem::path& path, const std::string& source )
| ^~~~~~~~~~
/usr/include/tao/pegtl/read_input.hpp:36:65: error: ‘path’ does not name a type
36 | read_input( FILE* file, const internal::filesystem::path& path )
| ^~~~
/usr/include/tao/pegtl/read_input.hpp:50:38: error: ‘read_input’ function with trailing return type not declared with ‘auto’ type specifier
50 | explicit read_input( Ts&&... ) -> read_input<>;
| ^~~~~~~~~~~~
In file included from /usr/include/tao/pegtl/mmap_input.hpp:22,
from /usr/include/tao/pegtl/file_input.hpp:16,
from /usr/include/tao/pegtl.hpp:25,
from VTK/ThirdParty/pegtl/vtk_pegtl.h:28,
from /build/paraview/src/ParaView-v5.9.0/VTK/IO/MotionFX/vtkMotionFXCFGGrammar.h:22,
from /build/paraview/src/ParaView-v5.9.0/VTK/IO/MotionFX/vtkMotionFXCFGReader.cxx:40:
/usr/include/tao/pegtl/internal/file_mapper_posix.hpp:28:45: error: ‘filesystem’ in namespace ‘tao::pegtl::internal’ does not name a type
28 | explicit file_opener( const internal::filesystem::path& path ) // NOLINT(modernize-pass-by-value)
| ^~~~~~~~~~
/usr/include/tao/pegtl/internal/file_mapper_posix.hpp:28:61: error: expected unqualified-id before ‘&’ token
28 | explicit file_opener( const internal::filesystem::path& path ) // NOLINT(modernize-pass-by-value)
| ^
/usr/include/tao/pegtl/internal/file_mapper_posix.hpp:28:61: error: expected ‘)’ before ‘&’ token
28 | explicit file_opener( const internal::filesystem::path& path ) // NOLINT(modernize-pass-by-value)
| ~ ^
| )
/usr/include/tao/pegtl/internal/file_mapper_posix.hpp:28:61: error: constructors may not be ref-qualified
/usr/include/tao/pegtl/internal/file_mapper_posix.hpp:28:61: error: expected ‘;’ at end of member declaration
28 | explicit file_opener( const internal::filesystem::path& path ) // NOLINT(modernize-pass-by-value)
| ^
| ;
/usr/include/tao/pegtl/internal/file_mapper_posix.hpp:28:63: error: ‘path’ does not name a type
28 | explicit file_opener( const internal::filesystem::path& path ) // NOLINT(modernize-pass-by-value)
| ^~~~
/usr/include/tao/pegtl/internal/file_mapper_posix.hpp:62:23: error: ‘filesystem’ in namespace ‘tao::pegtl::internal’ does not name a type
62 | const internal::filesystem::path m_path;
| ^~~~~~~~~~
/usr/include/tao/pegtl/internal/file_mapper_posix.hpp: In member function ‘std::size_t tao::pegtl::internal::file_opener::size() const’:
/usr/include/tao/pegtl/internal/file_mapper_posix.hpp:52:29: error: ‘tao::pegtl::internal::filesystem’ has not been declared
52 | throw internal::filesystem::filesystem_error( "fstat() failed", m_path, ec );
| ^~~~~~~~~~
/usr/include/tao/pegtl/internal/file_mapper_posix.hpp:52:77: error: ‘m_path’ was not declared in this scope
52 | throw internal::filesystem::filesystem_error( "fstat() failed", m_path, ec );
| ^~~~~~
/usr/include/tao/pegtl/internal/file_mapper_posix.hpp: In member function ‘int tao::pegtl::internal::file_opener::open() const’:
/usr/include/tao/pegtl/internal/file_mapper_posix.hpp:69:33: error: ‘m_path’ was not declared in this scope
69 | const int fd = ::open( m_path.c_str(),
| ^~~~~~
/usr/include/tao/pegtl/internal/file_mapper_posix.hpp:80:26: error: ‘tao::pegtl::internal::filesystem’ has not been declared
80 | throw internal::filesystem::filesystem_error( "open() failed", m_path, ec );
| ^~~~~~~~~~
/usr/include/tao/pegtl/internal/file_mapper_posix.hpp: At global scope:
/usr/include/tao/pegtl/internal/file_mapper_posix.hpp:91:45: error: ‘filesystem’ in namespace ‘tao::pegtl::internal’ does not name a type
91 | explicit file_mapper( const internal::filesystem::path& path )
| ^~~~~~~~~~
/usr/include/tao/pegtl/internal/file_mapper_posix.hpp:91:61: error: expected unqualified-id before ‘&’ token
91 | explicit file_mapper( const internal::filesystem::path& path )
| ^
/usr/include/tao/pegtl/internal/file_mapper_posix.hpp:91:61: error: expected ‘)’ before ‘&’ token
91 | explicit file_mapper( const internal::filesystem::path& path )
| ~ ^
| )
/usr/include/tao/pegtl/internal/file_mapper_posix.hpp:91:61: error: constructors may not be ref-qualified
/usr/include/tao/pegtl/internal/file_mapper_posix.hpp:91:61: error: expected ‘;’ at end of member declaration
91 | explicit file_mapper( const internal::filesystem::path& path )
| ^
| ;
/usr/include/tao/pegtl/internal/file_mapper_posix.hpp:91:63: error: ‘path’ does not name a type
91 | explicit file_mapper( const internal::filesystem::path& path )
| ^~~~
/usr/include/tao/pegtl/internal/file_mapper_posix.hpp: In constructor ‘tao::pegtl::internal::file_mapper::file_mapper(const tao::pegtl::internal::file_opener&)’:
/usr/include/tao/pegtl/internal/file_mapper_posix.hpp:103:29: error: ‘tao::pegtl::internal::filesystem’ has not been declared
103 | throw internal::filesystem::filesystem_error( "mmap() failed", reader.m_path, ec );
| ^~~~~~~~~~
/usr/include/tao/pegtl/internal/file_mapper_posix.hpp:103:83: error: ‘const struct tao::pegtl::internal::file_opener’ has no member named ‘m_path’
103 | throw internal::filesystem::filesystem_error( "mmap() failed", reader.m_path, ec );
| ^~~~~~
In file included from /usr/include/tao/pegtl/file_input.hpp:16,
from /usr/include/tao/pegtl.hpp:25,
from VTK/ThirdParty/pegtl/vtk_pegtl.h:28,
from /build/paraview/src/ParaView-v5.9.0/VTK/IO/MotionFX/vtkMotionFXCFGGrammar.h:22,
from /build/paraview/src/ParaView-v5.9.0/VTK/IO/MotionFX/vtkMotionFXCFGReader.cxx:40:
/usr/include/tao/pegtl/mmap_input.hpp: At global scope:
/usr/include/tao/pegtl/mmap_input.hpp:36:48: error: ‘filesystem’ in namespace ‘tao::pegtl::internal’ does not name a type
36 | explicit mmap_holder( const internal::filesystem::path& path )
| ^~~~~~~~~~
/usr/include/tao/pegtl/mmap_input.hpp:36:64: error: expected unqualified-id before ‘&’ token
36 | explicit mmap_holder( const internal::filesystem::path& path )
| ^
/usr/include/tao/pegtl/mmap_input.hpp:36:64: error: expected ‘)’ before ‘&’ token
36 | explicit mmap_holder( const internal::filesystem::path& path )
| ~ ^
| )
/usr/include/tao/pegtl/mmap_input.hpp:36:64: error: constructors may not be ref-qualified
/usr/include/tao/pegtl/mmap_input.hpp:36:64: error: expected ‘;’ at end of member declaration
36 | explicit mmap_holder( const internal::filesystem::path& path )
| ^
| ;
/usr/include/tao/pegtl/mmap_input.hpp:36:66: error: ‘path’ does not name a type
36 | explicit mmap_holder( const internal::filesystem::path& path )
| ^~~~
/usr/include/tao/pegtl/mmap_input.hpp:56:35: error: ‘filesystem’ in namespace ‘tao::pegtl::internal’ does not name a type
56 | mmap_input( const internal::filesystem::path& path, const std::string& source )
| ^~~~~~~~~~
/usr/include/tao/pegtl/mmap_input.hpp:56:51: error: expected unqualified-id before ‘&’ token
56 | mmap_input( const internal::filesystem::path& path, const std::string& source )
| ^
/usr/include/tao/pegtl/mmap_input.hpp:56:51: error: expected ‘)’ before ‘&’ token
56 | mmap_input( const internal::filesystem::path& path, const std::string& source )
| ~ ^
| )
/usr/include/tao/pegtl/mmap_input.hpp:56:51: error: constructors may not be ref-qualified
/usr/include/tao/pegtl/mmap_input.hpp:56:51: error: expected ‘;’ at end of member declaration
56 | mmap_input( const internal::filesystem::path& path, const std::string& source )
| ^
| ;
/usr/include/tao/pegtl/mmap_input.hpp:56:53: error: ‘path’ does not name a type
56 | mmap_input( const internal::filesystem::path& path, const std::string& source )
| ^~~~
/usr/include/tao/pegtl/mmap_input.hpp:61:44: error: ‘filesystem’ in namespace ‘tao::pegtl::internal’ does not name a type
61 | explicit mmap_input( const internal::filesystem::path& path )
| ^~~~~~~~~~
/usr/include/tao/pegtl/mmap_input.hpp:61:60: error: expected unqualified-id before ‘&’ token
61 | explicit mmap_input( const internal::filesystem::path& path )
| ^
/usr/include/tao/pegtl/mmap_input.hpp:61:60: error: expected ‘)’ before ‘&’ token
61 | explicit mmap_input( const internal::filesystem::path& path )
| ~ ^
| )
/usr/include/tao/pegtl/mmap_input.hpp:61:60: error: constructors may not be ref-qualified
/usr/include/tao/pegtl/mmap_input.hpp:61:60: error: expected ‘;’ at end of member declaration
61 | explicit mmap_input( const internal::filesystem::path& path )
| ^
| ;
/usr/include/tao/pegtl/mmap_input.hpp:61:16: error: ‘tao::pegtl::mmap_input<P, Eol>::mmap_input(...)’ cannot be overloaded with ‘tao::pegtl::mmap_input<P, Eol>::mmap_input(...)’
61 | explicit mmap_input( const internal::filesystem::path& path )
| ^~~~~~~~~~
/usr/include/tao/pegtl/mmap_input.hpp:56:7: note: previous declaration ‘tao::pegtl::mmap_input<P, Eol>::mmap_input(...)’
56 | mmap_input( const internal::filesystem::path& path, const std::string& source )
| ^~~~~~~~~~
/usr/include/tao/pegtl/mmap_input.hpp:61:62: error: ‘path’ does not name a type
61 | explicit mmap_input( const internal::filesystem::path& path )
| ^~~~
/usr/include/tao/pegtl/mmap_input.hpp:75:38: error: ‘mmap_input’ function with trailing return type not declared with ‘auto’ type specifier
75 | explicit mmap_input( Ts&&... ) -> mmap_input<>;
| ^~~~~~~~~~~~
In file included from /usr/include/tao/pegtl.hpp:25,
from VTK/ThirdParty/pegtl/vtk_pegtl.h:28,
from /build/paraview/src/ParaView-v5.9.0/VTK/IO/MotionFX/vtkMotionFXCFGGrammar.h:22,
from /build/paraview/src/ParaView-v5.9.0/VTK/IO/MotionFX/vtkMotionFXCFGReader.cxx:40:
/usr/include/tao/pegtl/file_input.hpp:40:38: error: ‘file_input’ function with trailing return type not declared with ‘auto’ type specifier
40 | explicit file_input( Ts&&... ) -> file_input<>;
| ^~~~~~~~~~~~
In file included from /usr/include/tao/pegtl.hpp:27,
from VTK/ThirdParty/pegtl/vtk_pegtl.h:28,
from /build/paraview/src/ParaView-v5.9.0/VTK/IO/MotionFX/vtkMotionFXCFGGrammar.h:22,
from /build/paraview/src/ParaView-v5.9.0/VTK/IO/MotionFX/vtkMotionFXCFGReader.cxx:40:
/usr/include/tao/pegtl/change_action.hpp: In static member function ‘static bool tao::pegtl::change_action<NewAction>::match(ParseInput&, States&& ...)’:
/usr/include/tao/pegtl/change_action.hpp:31:31: error: ‘is_same_v’ is not a member of ‘std’; did you mean ‘is_same’?
31 | static_assert( !std::is_same_v< Action< void >, NewAction< void > >, "old and new action class templates are identical" );
| ^~~~~~~~~
| is_same
/usr/include/tao/pegtl/change_action.hpp:31:56: error: expected primary-expression before ‘,’ token
31 | static_assert( !std::is_same_v< Action< void >, NewAction< void > >, "old and new action class templates are identical" );
| ^
/usr/include/tao/pegtl/change_action.hpp:31:58: error: expected string-literal before ‘NewAction’
31 | static_assert( !std::is_same_v< Action< void >, NewAction< void > >, "old and new action class templates are identical" );
| ^~~~~~~~~
/usr/include/tao/pegtl/change_action.hpp:31:57: error: expected ‘)’ before ‘NewAction’
31 | static_assert( !std::is_same_v< Action< void >, NewAction< void > >, "old and new action class templates are identical" );
| ~ ^~~~~~~~~~
| )
In file included from /usr/include/tao/pegtl.hpp:28,
from VTK/ThirdParty/pegtl/vtk_pegtl.h:28,
from /build/paraview/src/ParaView-v5.9.0/VTK/IO/MotionFX/vtkMotionFXCFGGrammar.h:22,
from /build/paraview/src/ParaView-v5.9.0/VTK/IO/MotionFX/vtkMotionFXCFGReader.cxx:40:
/usr/include/tao/pegtl/change_action_and_state.hpp: In static member function ‘static bool tao::pegtl::change_action_and_state<NewAction, NewState>::match(ParseInput&, States&& ...)’:
/usr/include/tao/pegtl/change_action_and_state.hpp:32:31: error: ‘is_same_v’ is not a member of ‘std’; did you mean ‘is_same’?
32 | static_assert( !std::is_same_v< Action< void >, NewAction< void > >, "old and new action class templates are identical" );
| ^~~~~~~~~
| is_same
/usr/include/tao/pegtl/change_action_and_state.hpp:32:56: error: expected primary-expression before ‘,’ token
32 | static_assert( !std::is_same_v< Action< void >, NewAction< void > >, "old and new action class templates are identical" );
| ^
/usr/include/tao/pegtl/change_action_and_state.hpp:32:58: error: expected string-literal before ‘NewAction’
32 | static_assert( !std::is_same_v< Action< void >, NewAction< void > >, "old and new action class templates are identical" );
| ^~~~~~~~~
/usr/include/tao/pegtl/change_action_and_state.hpp:32:57: error: expected ‘)’ before ‘NewAction’
32 | static_assert( !std::is_same_v< Action< void >, NewAction< void > >, "old and new action class templates are identical" );
| ~ ^~~~~~~~~~
| )
In file included from /usr/include/tao/pegtl.hpp:29,
from VTK/ThirdParty/pegtl/vtk_pegtl.h:28,
from /build/paraview/src/ParaView-v5.9.0/VTK/IO/MotionFX/vtkMotionFXCFGGrammar.h:22,
from /build/paraview/src/ParaView-v5.9.0/VTK/IO/MotionFX/vtkMotionFXCFGReader.cxx:40:
/usr/include/tao/pegtl/change_action_and_states.hpp: At global scope:
/usr/include/tao/pegtl/change_action_and_states.hpp:32:45: error: ‘std::index_sequence’ has not been declared
32 | [[nodiscard]] static bool match( std::index_sequence< Ns... > /*unused*/, ParseInput& in, States&&... st )
| ^~~~~~~~~~~~~~
/usr/include/tao/pegtl/change_action_and_states.hpp:32:59: error: expected ‘,’ or ‘...’ before ‘<’ token
32 | [[nodiscard]] static bool match( std::index_sequence< Ns... > /*unused*/, ParseInput& in, States&&... st )
| ^
/usr/include/tao/pegtl/change_action_and_states.hpp: In static member function ‘static bool tao::pegtl::change_action_and_states<NewAction, NewStates>::match(int)’:
/usr/include/tao/pegtl/change_action_and_states.hpp:34:29: error: ‘st’ was not declared in this scope; did you mean ‘at’?
34 | auto t = std::tie( st... );
| ^~
| at
/usr/include/tao/pegtl/change_action_and_states.hpp:35:75: error: ‘in’ was not declared in this scope; did you mean ‘yn’?
35 | if( Control< Rule >::template match< A, M, NewAction, Control >( in, std::get< Ns >( t )... ) ) {
| ^~
| yn
/usr/include/tao/pegtl/change_action_and_states.hpp:37:83: error: expansion pattern ‘st’ contains no parameter packs
37 | Action< Rule >::success( static_cast< const ParseInput& >( in ), st... );
| ^~~
/usr/include/tao/pegtl/change_action_and_states.hpp: In static member function ‘static bool tao::pegtl::change_action_and_states<NewAction, NewStates>::match(ParseInput&, States&& ...)’:
/usr/include/tao/pegtl/change_action_and_states.hpp:55:31: error: ‘is_same_v’ is not a member of ‘std’; did you mean ‘is_same’?
55 | static_assert( !std::is_same_v< Action< void >, NewAction< void > >, "old and new action class templates are identical" );
| ^~~~~~~~~
| is_same
/usr/include/tao/pegtl/change_action_and_states.hpp:55:56: error: expected primary-expression before ‘,’ token
55 | static_assert( !std::is_same_v< Action< void >, NewAction< void > >, "old and new action class templates are identical" );
| ^
/usr/include/tao/pegtl/change_action_and_states.hpp:55:58: error: expected string-literal before ‘NewAction’
55 | static_assert( !std::is_same_v< Action< void >, NewAction< void > >, "old and new action class templates are identical" );
| ^~~~~~~~~
/usr/include/tao/pegtl/change_action_and_states.hpp:55:57: error: expected ‘)’ before ‘NewAction’
55 | static_assert( !std::is_same_v< Action< void >, NewAction< void > >, "old and new action class templates are identical" );
| ~ ^~~~~~~~~~
| )
In file included from /usr/include/tao/pegtl.hpp:29,
from VTK/ThirdParty/pegtl/vtk_pegtl.h:28,
from /build/paraview/src/ParaView-v5.9.0/VTK/IO/MotionFX/vtkMotionFXCFGGrammar.h:22,
from /build/paraview/src/ParaView-v5.9.0/VTK/IO/MotionFX/vtkMotionFXCFGReader.cxx:40:
/usr/include/tao/pegtl/change_action_and_states.hpp:56:60: error: ‘index_sequence_for’ is not a member of ‘std’
56 | return match< Rule, A, M, Action, Control >( std::index_sequence_for< NewStates... >(), in, NewStates()..., st... );
| ^~~~~~~~~~~~~~~~~~
/usr/include/tao/pegtl/change_action_and_states.hpp:56:89: error: expected primary-expression before ‘...’ token
56 | return match< Rule, A, M, Action, Control >( std::index_sequence_for< NewStates... >(), in, NewStates()..., st... );
| ^~~
In file included from /usr/include/tao/pegtl.hpp:32,
from VTK/ThirdParty/pegtl/vtk_pegtl.h:28,
from /build/paraview/src/ParaView-v5.9.0/VTK/IO/MotionFX/vtkMotionFXCFGGrammar.h:22,
from /build/paraview/src/ParaView-v5.9.0/VTK/IO/MotionFX/vtkMotionFXCFGReader.cxx:40:
/usr/include/tao/pegtl/change_states.hpp: At global scope:
/usr/include/tao/pegtl/change_states.hpp:32:45: error: ‘std::index_sequence’ has not been declared
32 | [[nodiscard]] static bool match( std::index_sequence< Ns... > /*unused*/, ParseInput& in, States&&... st )
| ^~~~~~~~~~~~~~
/usr/include/tao/pegtl/change_states.hpp:32:59: error: expected ‘,’ or ‘...’ before ‘<’ token
32 | [[nodiscard]] static bool match( std::index_sequence< Ns... > /*unused*/, ParseInput& in, States&&... st )
| ^
/usr/include/tao/pegtl/change_states.hpp: In static member function ‘static bool tao::pegtl::change_states<NewStates>::match(int)’:
/usr/include/tao/pegtl/change_states.hpp:34:29: error: ‘st’ was not declared in this scope; did you mean ‘at’?
34 | auto t = std::tie( st... );
| ^~
| at
/usr/include/tao/pegtl/change_states.hpp:35:73: error: ‘in’ was not declared in this scope; did you mean ‘yn’?
35 | if( TAO_PEGTL_NAMESPACE::match< Rule, A, M, Action, Control >( in, std::get< Ns >( t )... ) ) {
| ^~
| yn
/usr/include/tao/pegtl/change_states.hpp:37:83: error: expansion pattern ‘st’ contains no parameter packs
37 | Action< Rule >::success( static_cast< const ParseInput& >( in ), st... );
| ^~~
/usr/include/tao/pegtl/change_states.hpp: In static member function ‘static bool tao::pegtl::change_states<NewStates>::match(ParseInput&, States&& ...)’:
/usr/include/tao/pegtl/change_states.hpp:55:60: error: ‘index_sequence_for’ is not a member of ‘std’
55 | return match< Rule, A, M, Action, Control >( std::index_sequence_for< NewStates... >(), in, NewStates()..., st... );
| ^~~~~~~~~~~~~~~~~~
/usr/include/tao/pegtl/change_states.hpp:55:89: error: expected primary-expression before ‘...’ token
55 | return match< Rule, A, M, Action, Control >( std::index_sequence_for< NewStates... >(), in, NewStates()..., st... );
| ^~~
In file included from /usr/include/tao/pegtl.hpp:41,
from VTK/ThirdParty/pegtl/vtk_pegtl.h:28,
from /build/paraview/src/ParaView-v5.9.0/VTK/IO/MotionFX/vtkMotionFXCFGGrammar.h:22,
from /build/paraview/src/ParaView-v5.9.0/VTK/IO/MotionFX/vtkMotionFXCFGReader.cxx:40:
/usr/include/tao/pegtl/visit.hpp: At global scope:
/usr/include/tao/pegtl/visit.hpp:17:47: error: ‘is_same_v’ is not a member of ‘std’; did you mean ‘is_same’?
17 | inline constexpr bool contains = ( std::is_same_v< Type, Types > || ... );
| ^~~~~~~~~
| is_same
/usr/include/tao/pegtl/visit.hpp:17:62: error: expected primary-expression before ‘,’ token
17 | inline constexpr bool contains = ( std::is_same_v< Type, Types > || ... );
| ^
/usr/include/tao/pegtl/visit.hpp:17:70: error: expected primary-expression before ‘>’ token
17 | inline constexpr bool contains = ( std::is_same_v< Type, Types > || ... );
| ^
/usr/include/tao/pegtl/visit.hpp:17:72: error: expected primary-expression before ‘||’ token
17 | inline constexpr bool contains = ( std::is_same_v< Type, Types > || ... );
| ^~
/usr/include/tao/pegtl/visit.hpp:17:75: error: operand of fold expression has no unexpanded parameter packs
17 | inline constexpr bool contains = ( std::is_same_v< Type, Types > || ... );
| ^~~
/usr/include/tao/pegtl/visit.hpp:27:48: error: ‘conditional_t’ is not a member of ‘std’; did you mean ‘conditional’?
27 | : filter< type_list< Rules... >, std::conditional_t< contains< Rule, Todo..., Done... >, type_list< Todo... >, type_list< Rule, Todo... > >, type_list< Done... > >
| ^~~~~~~~~~~~~
| conditional
/usr/include/tao/pegtl/visit.hpp:27:48: error: ‘conditional_t’ is not a member of ‘std’; did you mean ‘conditional’?
27 | : filter< type_list< Rules... >, std::conditional_t< contains< Rule, Todo..., Done... >, type_list< Todo... >, type_list< Rule, Todo... > >, type_list< Done... > >
| ^~~~~~~~~~~~~
| conditional
In file included from /usr/include/tao/pegtl.hpp:41,
from VTK/ThirdParty/pegtl/vtk_pegtl.h:28,
from /build/paraview/src/ParaView-v5.9.0/VTK/IO/MotionFX/vtkMotionFXCFGGrammar.h:22,
from /build/paraview/src/ParaView-v5.9.0/VTK/IO/MotionFX/vtkMotionFXCFGReader.cxx:40:
/usr/include/tao/pegtl/visit.hpp:27:148: error: wrong number of template arguments (4, should be 3)
27 | : filter< type_list< Rules... >, std::conditional_t< contains< Rule, Todo..., Done... >, type_list< Todo... >, type_list< Rule, Todo... > >, type_list< Done... > >
| ^
In file included from /usr/include/tao/pegtl.hpp:41,
from VTK/ThirdParty/pegtl/vtk_pegtl.h:28,
from /build/paraview/src/ParaView-v5.9.0/VTK/IO/MotionFX/vtkMotionFXCFGGrammar.h:22,
from /build/paraview/src/ParaView-v5.9.0/VTK/IO/MotionFX/vtkMotionFXCFGReader.cxx:40:
/usr/include/tao/pegtl/visit.hpp:20:14: note: provided for ‘template<class Rules, class Todo, class Done> struct tao::pegtl::internal::filter’
20 | struct filter
| ^~~~~~
In file included from /usr/include/tao/pegtl.hpp:41,
from VTK/ThirdParty/pegtl/vtk_pegtl.h:28,
from /build/paraview/src/ParaView-v5.9.0/VTK/IO/MotionFX/vtkMotionFXCFGGrammar.h:22,
from /build/paraview/src/ParaView-v5.9.0/VTK/IO/MotionFX/vtkMotionFXCFGReader.cxx:40:
/usr/include/tao/pegtl/visit.hpp:27:172: error: expected ‘{’ before ‘>’ token
27 | : filter< type_list< Rules... >, std::conditional_t< contains< Rule, Todo..., Done... >, type_list< Todo... >, type_list< Rule, Todo... > >, type_list< Done... > >
| ^
/usr/include/tao/pegtl/visit.hpp: In static member function ‘static void tao::pegtl::internal::visitor<Func, Done, Rules>::visit(Args&& ...)’:
/usr/include/tao/pegtl/visit.hpp:43:33: error: ‘is_same_v’ is not a member of ‘std’; did you mean ‘is_same’?
43 | if constexpr( !std::is_same_v< NextTodo, empty_list > ) {
| ^~~~~~~~~
| is_same
/usr/include/tao/pegtl/visit.hpp:43:52: error: expected primary-expression before ‘,’ token
43 | if constexpr( !std::is_same_v< NextTodo, empty_list > ) {
| ^
/usr/include/tao/pegtl/visit.hpp:43:65: error: expected primary-expression before ‘>’ token
43 | if constexpr( !std::is_same_v< NextTodo, empty_list > ) {
| ^
/usr/include/tao/pegtl/visit.hpp:43:67: error: expected primary-expression before ‘)’ token
43 | if constexpr( !std::is_same_v< NextTodo, empty_list > ) {
| ^
In file included from /usr/include/tao/pegtl.hpp:44,
from VTK/ThirdParty/pegtl/vtk_pegtl.h:28,
from /build/paraview/src/ParaView-v5.9.0/VTK/IO/MotionFX/vtkMotionFXCFGGrammar.h:22,
from /build/paraview/src/ParaView-v5.9.0/VTK/IO/MotionFX/vtkMotionFXCFGReader.cxx:40:
/usr/include/tao/pegtl/must_if.hpp: At global scope:
/usr/include/tao/pegtl/must_if.hpp:26:66: error: ‘void_t’ is not a member of ‘std’
26 | inline constexpr bool raise_on_failure< Errors, Rule, std::void_t< decltype( Errors::template raise_on_failure< Rule > ) > > = Errors::template raise_on_failure< Rule >;
| ^~~~~~
/usr/include/tao/pegtl/must_if.hpp:26:66: note: ‘std::void_t’ is only available from C++17 onwards
/usr/include/tao/pegtl/must_if.hpp:26:66: error: ‘void_t’ is not a member of ‘std’
/usr/include/tao/pegtl/must_if.hpp:26:66: note: ‘std::void_t’ is only available from C++17 onwards
/usr/include/tao/pegtl/must_if.hpp:26:29: error: parse error in template argument list
26 | inline constexpr bool raise_on_failure< Errors, Rule, std::void_t< decltype( Errors::template raise_on_failure< Rule > ) > > = Errors::template raise_on_failure< Rule >;
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /usr/include/tao/pegtl.hpp:44,
from VTK/ThirdParty/pegtl/vtk_pegtl.h:28,
from /build/paraview/src/ParaView-v5.9.0/VTK/IO/MotionFX/vtkMotionFXCFGGrammar.h:22,
from /build/paraview/src/ParaView-v5.9.0/VTK/IO/MotionFX/vtkMotionFXCFGReader.cxx:40:
/usr/include/tao/pegtl/must_if.hpp:26:130: error: expected initializer before ‘>’ token
26 | inline constexpr bool raise_on_failure< Errors, Rule, std::void_t< decltype( Errors::template raise_on_failure< Rule > ) > > = Errors::template raise_on_failure< Rule >;
| ^
In file included from /usr/include/tao/pegtl/contrib/state_control.hpp:9,
from /usr/include/tao/pegtl/contrib/trace.hpp:13,
from /build/paraview/src/ParaView-v5.9.0/VTK/IO/MotionFX/vtkMotionFXCFGGrammar.h:26,
from /build/paraview/src/ParaView-v5.9.0/VTK/IO/MotionFX/vtkMotionFXCFGReader.cxx:40:
/usr/include/tao/pegtl/contrib/shuffle_states.hpp:47:74: error: ‘std::index_sequence’ has not been declared
47 | static void start_impl( const ParseInput& in, const Tuple& t, std::index_sequence< Is... > /*unused*/ ) noexcept( noexcept( Base::start( in, std::get< Shuffle::template value< Is, sizeof...( Is ) > >( t )... ) ) )
| ^~~~~~~~~~~~~~
/usr/include/tao/pegtl/contrib/shuffle_states.hpp:47:88: error: expected ‘,’ or ‘...’ before ‘<’ token
47 | static void start_impl( const ParseInput& in, const Tuple& t, std::index_sequence< Is... > /*unused*/ ) noexcept( noexcept( Base::start( in, std::get< Shuffle::template value< Is, sizeof...( Is ) > >( t )... ) ) )
| ^
In file included from /usr/include/tao/pegtl/contrib/state_control.hpp:9,
from /usr/include/tao/pegtl/contrib/trace.hpp:13,
from /build/paraview/src/ParaView-v5.9.0/VTK/IO/MotionFX/vtkMotionFXCFGGrammar.h:26,
from /build/paraview/src/ParaView-v5.9.0/VTK/IO/MotionFX/vtkMotionFXCFGReader.cxx:40:
/usr/include/tao/pegtl/contrib/shuffle_states.hpp:53:125: error: ‘make_index_sequence’ is not a member of ‘std’; did you mean ‘tbb::internal::make_index_sequence’?
53 | static void start( const ParseInput& in, States&&... st ) noexcept( noexcept( start_impl( in, std::tie( st... ), std::make_index_sequence< sizeof...( st ) >() ) ) )
| ^~~~~~~~~~~~~~~~~~~
In file included from /usr/include/tbb/enumerable_thread_specific.h:29,
from VTK/Common/Core/vtkSMPThreadLocal.h:81,
from /build/paraview/src/ParaView-v5.9.0/VTK/Common/Core/vtkSMPTools.h:32,
from /build/paraview/src/ParaView-v5.9.0/VTK/IO/MotionFX/vtkMotionFXCFGReader.cxx:28:
/usr/include/tbb/internal/_template_helpers.h:209:7: note: ‘tbb::internal::make_index_sequence’ declared here
209 | using make_index_sequence = typename tbb::internal::make_index_sequence_impl<N>::type;
| ^~~~~~~~~~~~~~~~~~~
In file included from /usr/include/tao/pegtl/contrib/state_control.hpp:9,
from /usr/include/tao/pegtl/contrib/trace.hpp:13,
from /build/paraview/src/ParaView-v5.9.0/VTK/IO/MotionFX/vtkMotionFXCFGGrammar.h:26,
from /build/paraview/src/ParaView-v5.9.0/VTK/IO/MotionFX/vtkMotionFXCFGReader.cxx:40:
/usr/include/tao/pegtl/contrib/shuffle_states.hpp:53:164: error: expected primary-expression before ‘)’ token
53 | static void start( const ParseInput& in, States&&... st ) noexcept( noexcept( start_impl( in, std::tie( st... ), std::make_index_sequence< sizeof...( st ) >() ) ) )
| ^
/usr/include/tao/pegtl/contrib/shuffle_states.hpp:65:76: error: ‘std::index_sequence’ has not been declared
65 | static void success_impl( const ParseInput& in, const Tuple& t, std::index_sequence< Is... > /*unused*/ ) noexcept( noexcept( Base::success( in, std::get< Shuffle::template value< Is, sizeof...( Is ) > >( t )... ) ) )
| ^~~~~~~~~~~~~~
/usr/include/tao/pegtl/contrib/shuffle_states.hpp:65:90: error: expected ‘,’ or ‘...’ before ‘<’ token
65 | static void success_impl( const ParseInput& in, const Tuple& t, std::index_sequence< Is... > /*unused*/ ) noexcept( noexcept( Base::success( in, std::get< Shuffle::template value< Is, sizeof...( Is ) > >( t )... ) ) )
| ^
/usr/include/tao/pegtl/contrib/shuffle_states.hpp:71:129: error: ‘make_index_sequence’ is not a member of ‘std’; did you mean ‘tbb::internal::make_index_sequence’?
71 | static void success( const ParseInput& in, States&&... st ) noexcept( noexcept( success_impl( in, std::tie( st... ), std::make_index_sequence< sizeof...( st ) >() ) ) )
| ^~~~~~~~~~~~~~~~~~~
In file included from /usr/include/tbb/enumerable_thread_specific.h:29,
from VTK/Common/Core/vtkSMPThreadLocal.h:81,
from /build/paraview/src/ParaView-v5.9.0/VTK/Common/Core/vtkSMPTools.h:32,
from /build/paraview/src/ParaView-v5.9.0/VTK/IO/MotionFX/vtkMotionFXCFGReader.cxx:28:
/usr/include/tbb/internal/_template_helpers.h:209:7: note: ‘tbb::internal::make_index_sequence’ declared here
209 | using make_index_sequence = typename tbb::internal::make_index_sequence_impl<N>::type;
| ^~~~~~~~~~~~~~~~~~~
In file included from /usr/include/tao/pegtl/contrib/state_control.hpp:9,
from /usr/include/tao/pegtl/contrib/trace.hpp:13,
from /build/paraview/src/ParaView-v5.9.0/VTK/IO/MotionFX/vtkMotionFXCFGGrammar.h:26,
from /build/paraview/src/ParaView-v5.9.0/VTK/IO/MotionFX/vtkMotionFXCFGReader.cxx:40:
/usr/include/tao/pegtl/contrib/shuffle_states.hpp:71:168: error: expected primary-expression before ‘)’ token
71 | static void success( const ParseInput& in, States&&... st ) noexcept( noexcept( success_impl( in, std::tie( st... ), std::make_index_sequence< sizeof...( st ) >() ) ) )
| ^
/usr/include/tao/pegtl/contrib/shuffle_states.hpp:83:76: error: ‘std::index_sequence’ has not been declared
83 | static void failure_impl( const ParseInput& in, const Tuple& t, std::index_sequence< Is... > /*unused*/ ) noexcept( noexcept( Base::failure( in, std::get< Shuffle::template value< Is, sizeof...( Is ) > >( t )... ) ) )
| ^~~~~~~~~~~~~~
/usr/include/tao/pegtl/contrib/shuffle_states.hpp:83:90: error: expected ‘,’ or ‘...’ before ‘<’ token
83 | static void failure_impl( const ParseInput& in, const Tuple& t, std::index_sequence< Is... > /*unused*/ ) noexcept( noexcept( Base::failure( in, std::get< Shuffle::template value< Is, sizeof...( Is ) > >( t )... ) ) )
| ^
/usr/include/tao/pegtl/contrib/shuffle_states.hpp:89:129: error: ‘make_index_sequence’ is not a member of ‘std’; did you mean ‘tbb::internal::make_index_sequence’?
89 | static void failure( const ParseInput& in, States&&... st ) noexcept( noexcept( failure_impl( in, std::tie( st... ), std::make_index_sequence< sizeof...( st ) >() ) ) )
| ^~~~~~~~~~~~~~~~~~~
In file included from /usr/include/tbb/enumerable_thread_specific.h:29,
from VTK/Common/Core/vtkSMPThreadLocal.h:81,
from /build/paraview/src/ParaView-v5.9.0/VTK/Common/Core/vtkSMPTools.h:32,
from /build/paraview/src/ParaView-v5.9.0/VTK/IO/MotionFX/vtkMotionFXCFGReader.cxx:28:
/usr/include/tbb/internal/_template_helpers.h:209:7: note: ‘tbb::internal::make_index_sequence’ declared here
209 | using make_index_sequence = typename tbb::internal::make_index_sequence_impl<N>::type;
| ^~~~~~~~~~~~~~~~~~~
In file included from /usr/include/tao/pegtl/contrib/state_control.hpp:9,
from /usr/include/tao/pegtl/contrib/trace.hpp:13,
from /build/paraview/src/ParaView-v5.9.0/VTK/IO/MotionFX/vtkMotionFXCFGGrammar.h:26,
from /build/paraview/src/ParaView-v5.9.0/VTK/IO/MotionFX/vtkMotionFXCFGReader.cxx:40:
/usr/include/tao/pegtl/contrib/shuffle_states.hpp:89:168: error: expected primary-expression before ‘)’ token
89 | static void failure( const ParseInput& in, States&&... st ) noexcept( noexcept( failure_impl( in, std::tie( st... ), std::make_index_sequence< sizeof...( st ) >() ) ) )
| ^
/usr/include/tao/pegtl/contrib/shuffle_states.hpp:101:87: error: ‘std::index_sequence’ has not been declared
101 | [[noreturn]] static void raise_impl( const ParseInput& in, const Tuple& t, std::index_sequence< Is... > /*unused*/ )
| ^~~~~~~~~~~~~~
/usr/include/tao/pegtl/contrib/shuffle_states.hpp:101:101: error: expected ‘,’ or ‘...’ before ‘<’ token
101 | [[noreturn]] static void raise_impl( const ParseInput& in, const Tuple& t, std::index_sequence< Is... > /*unused*/ )
| ^
/usr/include/tao/pegtl/contrib/shuffle_states.hpp:119:75: error: ‘std::index_sequence’ has not been declared
119 | static auto unwind_impl( const ParseInput& in, const Tuple& t, std::index_sequence< Is... > /*unused*/ )
| ^~~~~~~~~~~~~~
/usr/include/tao/pegtl/contrib/shuffle_states.hpp:119:89: error: expected ‘,’ or ‘...’ before ‘<’ token
119 | static auto unwind_impl( const ParseInput& in, const Tuple& t, std::index_sequence< Is... > /*unused*/ )
| ^
/usr/include/tao/pegtl/contrib/shuffle_states.hpp:120:18: error: ‘enable_if_t’ in namespace ‘std’ does not name a template type
120 | -> std::enable_if_t< internal::has_unwind< Base, void, const ParseInput&, std::tuple_element_t< Shuffle::template value< Is, sizeof...( Is ) >, Tuple >... > >
| ^~~~~~~~~~~
/usr/include/tao/pegtl/contrib/shuffle_states.hpp:120:13: note: ‘std::enable_if_t’ is only available from C++14 onwards
120 | -> std::enable_if_t< internal::has_unwind< Base, void, const ParseInput&, std::tuple_element_t< Shuffle::template value< Is, sizeof...( Is ) >, Tuple >... > >
| ^~~
/usr/include/tao/pegtl/contrib/shuffle_states.hpp:120:29: error: expected initializer before ‘<’ token
120 | -> std::enable_if_t< internal::has_unwind< Base, void, const ParseInput&, std::tuple_element_t< Shuffle::template value< Is, sizeof...( Is ) >, Tuple >... > >
| ^
/usr/include/tao/pegtl/contrib/shuffle_states.hpp:127:64: error: ‘make_index_sequence’ is not a member of ‘std’; did you mean ‘tbb::internal::make_index_sequence’?
127 | -> decltype( unwind_impl( in, std::tie( st... ), std::make_index_sequence< sizeof...( st ) >() ) )
| ^~~~~~~~~~~~~~~~~~~
In file included from /usr/include/tbb/enumerable_thread_specific.h:29,
from VTK/Common/Core/vtkSMPThreadLocal.h:81,
from /build/paraview/src/ParaView-v5.9.0/VTK/Common/Core/vtkSMPTools.h:32,
from /build/paraview/src/ParaView-v5.9.0/VTK/IO/MotionFX/vtkMotionFXCFGReader.cxx:28:
/usr/include/tbb/internal/_template_helpers.h:209:7: note: ‘tbb::internal::make_index_sequence’ declared here
209 | using make_index_sequence = typename tbb::internal::make_index_sequence_impl<N>::type;
| ^~~~~~~~~~~~~~~~~~~
In file included from /usr/include/tao/pegtl/contrib/state_control.hpp:9,
from /usr/include/tao/pegtl/contrib/trace.hpp:13,
from /build/paraview/src/ParaView-v5.9.0/VTK/IO/MotionFX/vtkMotionFXCFGGrammar.h:26,
from /build/paraview/src/ParaView-v5.9.0/VTK/IO/MotionFX/vtkMotionFXCFGReader.cxx:40:
/usr/include/tao/pegtl/contrib/shuffle_states.hpp:127:64: error: ‘make_index_sequence’ is not a member of ‘std’; did you mean ‘tbb::internal::make_index_sequence’?
127 | -> decltype( unwind_impl( in, std::tie( st... ), std::make_index_sequence< sizeof...( st ) >() ) )
| ^~~~~~~~~~~~~~~~~~~
In file included from /usr/include/tbb/enumerable_thread_specific.h:29,
from VTK/Common/Core/vtkSMPThreadLocal.h:81,
from /build/paraview/src/ParaView-v5.9.0/VTK/Common/Core/vtkSMPTools.h:32,
from /build/paraview/src/ParaView-v5.9.0/VTK/IO/MotionFX/vtkMotionFXCFGReader.cxx:28:
/usr/include/tbb/internal/_template_helpers.h:209:7: note: ‘tbb::internal::make_index_sequence’ declared here
209 | using make_index_sequence = typename tbb::internal::make_index_sequence_impl<N>::type;
| ^~~~~~~~~~~~~~~~~~~
In file included from /usr/include/tao/pegtl/contrib/state_control.hpp:9,
from /usr/include/tao/pegtl/contrib/trace.hpp:13,
from /build/paraview/src/ParaView-v5.9.0/VTK/IO/MotionFX/vtkMotionFXCFGGrammar.h:26,
from /build/paraview/src/ParaView-v5.9.0/VTK/IO/MotionFX/vtkMotionFXCFGReader.cxx:40:
/usr/include/tao/pegtl/contrib/shuffle_states.hpp:127:103: error: expected primary-expression before ‘)’ token
127 | -> decltype( unwind_impl( in, std::tie( st... ), std::make_index_sequence< sizeof...( st ) >() ) )
| ^
/usr/include/tao/pegtl/contrib/shuffle_states.hpp:134:18: error: ‘enable_if_t’ in namespace ‘std’ does not name a template type
134 | -> std::enable_if_t< internal::has_unwind< Base, void, const ParseInput&, State > >
| ^~~~~~~~~~~
/usr/include/tao/pegtl/contrib/shuffle_states.hpp:134:13: note: ‘std::enable_if_t’ is only available from C++14 onwards
134 | -> std::enable_if_t< internal::has_unwind< Base, void, const ParseInput&, State > >
| ^~~
/usr/include/tao/pegtl/contrib/shuffle_states.hpp:134:29: error: expected initializer before ‘<’ token
134 | -> std::enable_if_t< internal::has_unwind< Base, void, const ParseInput&, State > >
| ^
/usr/include/tao/pegtl/contrib/shuffle_states.hpp:140:97: error: ‘std::index_sequence’ has not been declared
140 | static auto apply_impl( const Iterator& begin, const ParseInput& in, const Tuple& t, std::index_sequence< Is... > /*unused*/ ) noexcept( noexcept( Base::template apply< Action >( begin, in, std::get< Shuffle::template value< Is, sizeof...( Is ) > >( t )... ) ) )
| ^~~~~~~~~~~~~~
/usr/include/tao/pegtl/contrib/shuffle_states.hpp:140:111: error: expected ‘,’ or ‘...’ before ‘<’ token
140 | static auto apply_impl( const Iterator& begin, const ParseInput& in, const Tuple& t, std::index_sequence< Is... > /*unused*/ ) noexcept( noexcept( Base::template apply< Action >( begin, in, std::get< Shuffle::template value< Is, sizeof...( Is ) > >( t )... ) ) )
| ^
In file included from /usr/include/tao/pegtl/contrib/state_control.hpp:9,
from /usr/include/tao/pegtl/contrib/trace.hpp:13,
from /build/paraview/src/ParaView-v5.9.0/VTK/IO/MotionFX/vtkMotionFXCFGGrammar.h:26,
from /build/paraview/src/ParaView-v5.9.0/VTK/IO/MotionFX/vtkMotionFXCFGReader.cxx:40:
/usr/include/tao/pegtl/contrib/shuffle_states.hpp:147:165: error: ‘make_index_sequence’ is not a member of ‘std’; did you mean ‘tbb::internal::make_index_sequence’?
147 | static auto apply( const Iterator& begin, const ParseInput& in, States&&... st ) noexcept( noexcept( apply_impl< Action >( begin, in, std::tie( st... ), std::make_index_sequence< sizeof...( st ) >() ) ) )
| ^~~~~~~~~~~~~~~~~~~
In file included from /usr/include/tbb/enumerable_thread_specific.h:29,
from VTK/Common/Core/vtkSMPThreadLocal.h:81,
from /build/paraview/src/ParaView-v5.9.0/VTK/Common/Core/vtkSMPTools.h:32,
from /build/paraview/src/ParaView-v5.9.0/VTK/IO/MotionFX/vtkMotionFXCFGReader.cxx:28:
/usr/include/tbb/internal/_template_helpers.h:209:7: note: ‘tbb::internal::make_index_sequence’ declared here
209 | using make_index_sequence = typename tbb::internal::make_index_sequence_impl<N>::type;
| ^~~~~~~~~~~~~~~~~~~
In file included from /usr/include/tao/pegtl/contrib/state_control.hpp:9,
from /usr/include/tao/pegtl/contrib/trace.hpp:13,
from /build/paraview/src/ParaView-v5.9.0/VTK/IO/MotionFX/vtkMotionFXCFGGrammar.h:26,
from /build/paraview/src/ParaView-v5.9.0/VTK/IO/MotionFX/vtkMotionFXCFGReader.cxx:40:
/usr/include/tao/pegtl/contrib/shuffle_states.hpp:147:204: error: expected primary-expression before ‘)’ token
147 | static auto apply( const Iterator& begin, const ParseInput& in, States&&... st ) noexcept( noexcept( apply_impl< Action >( begin, in, std::tie( st... ), std::make_index_sequence< sizeof...( st ) >() ) ) )
| ^
/usr/include/tao/pegtl/contrib/shuffle_states.hpp:148:80: error: ‘make_index_sequence’ is not a member of ‘std’; did you mean ‘tbb::internal::make_index_sequence’?
148 | -> decltype( apply_impl< Action >( begin, in, std::tie( st... ), std::make_index_sequence< sizeof...( st ) >() ) )
| ^~~~~~~~~~~~~~~~~~~
In file included from /usr/include/tbb/enumerable_thread_specific.h:29,
from VTK/Common/Core/vtkSMPThreadLocal.h:81,
from /build/paraview/src/ParaView-v5.9.0/VTK/Common/Core/vtkSMPTools.h:32,
from /build/paraview/src/ParaView-v5.9.0/VTK/IO/MotionFX/vtkMotionFXCFGReader.cxx:28:
/usr/include/tbb/internal/_template_helpers.h:209:7: note: ‘tbb::internal::make_index_sequence’ declared here
209 | using make_index_sequence = typename tbb::internal::make_index_sequence_impl<N>::type;
| ^~~~~~~~~~~~~~~~~~~
In file included from /usr/include/tao/pegtl/contrib/state_control.hpp:9,
from /usr/include/tao/pegtl/contrib/trace.hpp:13,
from /build/paraview/src/ParaView-v5.9.0/VTK/IO/MotionFX/vtkMotionFXCFGGrammar.h:26,
from /build/paraview/src/ParaView-v5.9.0/VTK/IO/MotionFX/vtkMotionFXCFGReader.cxx:40:
/usr/include/tao/pegtl/contrib/shuffle_states.hpp:148:80: error: ‘make_index_sequence’ is not a member of ‘std’; did you mean ‘tbb::internal::make_index_sequence’?
148 | -> decltype( apply_impl< Action >( begin, in, std::tie( st... ), std::make_index_sequence< sizeof...( st ) >() ) )
| ^~~~~~~~~~~~~~~~~~~
In file included from /usr/include/tbb/enumerable_thread_specific.h:29,
from VTK/Common/Core/vtkSMPThreadLocal.h:81,
from /build/paraview/src/ParaView-v5.9.0/VTK/Common/Core/vtkSMPTools.h:32,
from /build/paraview/src/ParaView-v5.9.0/VTK/IO/MotionFX/vtkMotionFXCFGReader.cxx:28:
/usr/include/tbb/internal/_template_helpers.h:209:7: note: ‘tbb::internal::make_index_sequence’ declared here
209 | using make_index_sequence = typename tbb::internal::make_index_sequence_impl<N>::type;
| ^~~~~~~~~~~~~~~~~~~
In file included from /usr/include/tao/pegtl/contrib/state_control.hpp:9,
from /usr/include/tao/pegtl/contrib/trace.hpp:13,
from /build/paraview/src/ParaView-v5.9.0/VTK/IO/MotionFX/vtkMotionFXCFGGrammar.h:26,
from /build/paraview/src/ParaView-v5.9.0/VTK/IO/MotionFX/vtkMotionFXCFGReader.cxx:40:
/usr/include/tao/pegtl/contrib/shuffle_states.hpp:148:119: error: expected primary-expression before ‘)’ token
148 | -> decltype( apply_impl< Action >( begin, in, std::tie( st... ), std::make_index_sequence< sizeof...( st ) >() ) )
| ^
/usr/include/tao/pegtl/contrib/shuffle_states.hpp:161:75: error: ‘std::index_sequence’ has not been declared
161 | static auto apply0_impl( const ParseInput& in, const Tuple& t, std::index_sequence< Is... > /*unused*/ ) noexcept( noexcept( Base::template apply0< Action >( in, std::get< Shuffle::template value< Is, sizeof...( Is ) > >( t )... ) ) )
| ^~~~~~~~~~~~~~
/usr/include/tao/pegtl/contrib/shuffle_states.hpp:161:89: error: expected ‘,’ or ‘...’ before ‘<’ token
161 | static auto apply0_impl( const ParseInput& in, const Tuple& t, std::index_sequence< Is... > /*unused*/ ) noexcept( noexcept( Base::template apply0< Action >( in, std::get< Shuffle::template value< Is, sizeof...( Is ) > >( t )... ) ) )
| ^
/usr/include/tao/pegtl/contrib/shuffle_states.hpp:168:137: error: ‘make_index_sequence’ is not a member of ‘std’; did you mean ‘tbb::internal::make_index_sequence’?
168 | static auto apply0( const ParseInput& in, States&&... st ) noexcept( noexcept( apply0_impl< Action >( in, std::tie( st... ), std::make_index_sequence< sizeof...( st ) >() ) ) )
| ^~~~~~~~~~~~~~~~~~~
In file included from /usr/include/tbb/enumerable_thread_specific.h:29,
from VTK/Common/Core/vtkSMPThreadLocal.h:81,
from /build/paraview/src/ParaView-v5.9.0/VTK/Common/Core/vtkSMPTools.h:32,
from /build/paraview/src/ParaView-v5.9.0/VTK/IO/MotionFX/vtkMotionFXCFGReader.cxx:28:
/usr/include/tbb/internal/_template_helpers.h:209:7: note: ‘tbb::internal::make_index_sequence’ declared here
209 | using make_index_sequence = typename tbb::internal::make_index_sequence_impl<N>::type;
| ^~~~~~~~~~~~~~~~~~~
In file included from /usr/include/tao/pegtl/contrib/state_control.hpp:9,
from /usr/include/tao/pegtl/contrib/trace.hpp:13,
from /build/paraview/src/ParaView-v5.9.0/VTK/IO/MotionFX/vtkMotionFXCFGGrammar.h:26,
from /build/paraview/src/ParaView-v5.9.0/VTK/IO/MotionFX/vtkMotionFXCFGReader.cxx:40:
/usr/include/tao/pegtl/contrib/shuffle_states.hpp:168:176: error: expected primary-expression before ‘)’ token
168 | static auto apply0( const ParseInput& in, States&&... st ) noexcept( noexcept( apply0_impl< Action >( in, std::tie( st... ), std::make_index_sequence< sizeof...( st ) >() ) ) )
| ^
/usr/include/tao/pegtl/contrib/shuffle_states.hpp:169:74: error: ‘make_index_sequence’ is not a member of ‘std’; did you mean ‘tbb::internal::make_index_sequence’?
169 | -> decltype( apply0_impl< Action >( in, std::tie( st... ), std::make_index_sequence< sizeof...( st ) >() ) )
| ^~~~~~~~~~~~~~~~~~~
In file included from /usr/include/tbb/enumerable_thread_specific.h:29,
from VTK/Common/Core/vtkSMPThreadLocal.h:81,
from /build/paraview/src/ParaView-v5.9.0/VTK/Common/Core/vtkSMPTools.h:32,
from /build/paraview/src/ParaView-v5.9.0/VTK/IO/MotionFX/vtkMotionFXCFGReader.cxx:28:
/usr/include/tbb/internal/_template_helpers.h:209:7: note: ‘tbb::internal::make_index_sequence’ declared here
209 | using make_index_sequence = typename tbb::internal::make_index_sequence_impl<N>::type;
| ^~~~~~~~~~~~~~~~~~~
In file included from /usr/include/tao/pegtl/contrib/state_control.hpp:9,
from /usr/include/tao/pegtl/contrib/trace.hpp:13,
from /build/paraview/src/ParaView-v5.9.0/VTK/IO/MotionFX/vtkMotionFXCFGGrammar.h:26,
from /build/paraview/src/ParaView-v5.9.0/VTK/IO/MotionFX/vtkMotionFXCFGReader.cxx:40:
/usr/include/tao/pegtl/contrib/shuffle_states.hpp:169:74: error: ‘make_index_sequence’ is not a member of ‘std’; did you mean ‘tbb::internal::make_index_sequence’?
169 | -> decltype( apply0_impl< Action >( in, std::tie( st... ), std::make_index_sequence< sizeof...( st ) >() ) )
| ^~~~~~~~~~~~~~~~~~~
In file included from /usr/include/tbb/enumerable_thread_specific.h:29,
from VTK/Common/Core/vtkSMPThreadLocal.h:81,
from /build/paraview/src/ParaView-v5.9.0/VTK/Common/Core/vtkSMPTools.h:32,
from /build/paraview/src/ParaView-v5.9.0/VTK/IO/MotionFX/vtkMotionFXCFGReader.cxx:28:
/usr/include/tbb/internal/_template_helpers.h:209:7: note: ‘tbb::internal::make_index_sequence’ declared here
209 | using make_index_sequence = typename tbb::internal::make_index_sequence_impl<N>::type;
| ^~~~~~~~~~~~~~~~~~~
In file included from /usr/include/tao/pegtl/contrib/state_control.hpp:9,
from /usr/include/tao/pegtl/contrib/trace.hpp:13,
from /build/paraview/src/ParaView-v5.9.0/VTK/IO/MotionFX/vtkMotionFXCFGGrammar.h:26,
from /build/paraview/src/ParaView-v5.9.0/VTK/IO/MotionFX/vtkMotionFXCFGReader.cxx:40:
/usr/include/tao/pegtl/contrib/shuffle_states.hpp:169:113: error: expected primary-expression before ‘)’ token
169 | -> decltype( apply0_impl< Action >( in, std::tie( st... ), std::make_index_sequence< sizeof...( st ) >() ) )
| ^
In file included from /usr/include/tao/pegtl/contrib/state_control.hpp:9,
from /usr/include/tao/pegtl/contrib/trace.hpp:13,
from /build/paraview/src/ParaView-v5.9.0/VTK/IO/MotionFX/vtkMotionFXCFGGrammar.h:26,
from /build/paraview/src/ParaView-v5.9.0/VTK/IO/MotionFX/vtkMotionFXCFGReader.cxx:40:
/usr/include/tao/pegtl/contrib/shuffle_states.hpp: In static member function ‘static void tao::pegtl::shuffle_states<Base, Shuffle>::start(const ParseInput&, States&& ...)’:
/usr/include/tao/pegtl/contrib/shuffle_states.hpp:55:50: error: ‘make_index_sequence’ is not a member of ‘std’; did you mean ‘tbb::internal::make_index_sequence’?
55 | start_impl( in, std::tie( st... ), std::make_index_sequence< sizeof...( st ) >() );
| ^~~~~~~~~~~~~~~~~~~
In file included from /usr/include/tbb/enumerable_thread_specific.h:29,
from VTK/Common/Core/vtkSMPThreadLocal.h:81,
from /build/paraview/src/ParaView-v5.9.0/VTK/Common/Core/vtkSMPTools.h:32,
from /build/paraview/src/ParaView-v5.9.0/VTK/IO/MotionFX/vtkMotionFXCFGReader.cxx:28:
/usr/include/tbb/internal/_template_helpers.h:209:7: note: ‘tbb::internal::make_index_sequence’ declared here
209 | using make_index_sequence = typename tbb::internal::make_index_sequence_impl<N>::type;
| ^~~~~~~~~~~~~~~~~~~
In file included from /usr/include/tao/pegtl/contrib/state_control.hpp:9,
from /usr/include/tao/pegtl/contrib/trace.hpp:13,
from /build/paraview/src/ParaView-v5.9.0/VTK/IO/MotionFX/vtkMotionFXCFGGrammar.h:26,
from /build/paraview/src/ParaView-v5.9.0/VTK/IO/MotionFX/vtkMotionFXCFGReader.cxx:40:
/usr/include/tao/pegtl/contrib/shuffle_states.hpp:55:89: error: expected primary-expression before ‘)’ token
55 | start_impl( in, std::tie( st... ), std::make_index_sequence< sizeof...( st ) >() );
| ^
/usr/include/tao/pegtl/contrib/shuffle_states.hpp: In static member function ‘static void tao::pegtl::shuffle_states<Base, Shuffle>::success(const ParseInput&, States&& ...)’:
/usr/include/tao/pegtl/contrib/shuffle_states.hpp:73:52: error: ‘make_index_sequence’ is not a member of ‘std’; did you mean ‘tbb::internal::make_index_sequence’?
73 | success_impl( in, std::tie( st... ), std::make_index_sequence< sizeof...( st ) >() );
| ^~~~~~~~~~~~~~~~~~~
In file included from /usr/include/tbb/enumerable_thread_specific.h:29,
from VTK/Common/Core/vtkSMPThreadLocal.h:81,
from /build/paraview/src/ParaView-v5.9.0/VTK/Common/Core/vtkSMPTools.h:32,
from /build/paraview/src/ParaView-v5.9.0/VTK/IO/MotionFX/vtkMotionFXCFGReader.cxx:28:
/usr/include/tbb/internal/_template_helpers.h:209:7: note: ‘tbb::internal::make_index_sequence’ declared here
209 | using make_index_sequence = typename tbb::internal::make_index_sequence_impl<N>::type;
| ^~~~~~~~~~~~~~~~~~~
In file included from /usr/include/tao/pegtl/contrib/state_control.hpp:9,
from /usr/include/tao/pegtl/contrib/trace.hpp:13,
from /build/paraview/src/ParaView-v5.9.0/VTK/IO/MotionFX/vtkMotionFXCFGGrammar.h:26,
from /build/paraview/src/ParaView-v5.9.0/VTK/IO/MotionFX/vtkMotionFXCFGReader.cxx:40:
/usr/include/tao/pegtl/contrib/shuffle_states.hpp:73:91: error: expected primary-expression before ‘)’ token
73 | success_impl( in, std::tie( st... ), std::make_index_sequence< sizeof...( st ) >() );
| ^
/usr/include/tao/pegtl/contrib/shuffle_states.hpp: In static member function ‘static void tao::pegtl::shuffle_states<Base, Shuffle>::failure(const ParseInput&, States&& ...)’:
/usr/include/tao/pegtl/contrib/shuffle_states.hpp:91:52: error: ‘make_index_sequence’ is not a member of ‘std’; did you mean ‘tbb::internal::make_index_sequence’?
91 | failure_impl( in, std::tie( st... ), std::make_index_sequence< sizeof...( st ) >() );
| ^~~~~~~~~~~~~~~~~~~
In file included from /usr/include/tbb/enumerable_thread_specific.h:29,
from VTK/Common/Core/vtkSMPThreadLocal.h:81,
from /build/paraview/src/ParaView-v5.9.0/VTK/Common/Core/vtkSMPTools.h:32,
from /build/paraview/src/ParaView-v5.9.0/VTK/IO/MotionFX/vtkMotionFXCFGReader.cxx:28:
/usr/include/tbb/internal/_template_helpers.h:209:7: note: ‘tbb::internal::make_index_sequence’ declared here
209 | using make_index_sequence = typename tbb::internal::make_index_sequence_impl<N>::type;
| ^~~~~~~~~~~~~~~~~~~
In file included from /usr/include/tao/pegtl/contrib/state_control.hpp:9,
from /usr/include/tao/pegtl/contrib/trace.hpp:13,
from /build/paraview/src/ParaView-v5.9.0/VTK/IO/MotionFX/vtkMotionFXCFGGrammar.h:26,
from /build/paraview/src/ParaView-v5.9.0/VTK/IO/MotionFX/vtkMotionFXCFGReader.cxx:40:
/usr/include/tao/pegtl/contrib/shuffle_states.hpp:91:91: error: expected primary-expression before ‘)’ token
91 | failure_impl( in, std::tie( st... ), std::make_index_sequence< sizeof...( st ) >() );
| ^
/usr/include/tao/pegtl/contrib/shuffle_states.hpp: In static member function ‘static void tao::pegtl::shuffle_states<Base, Shuffle>::raise(const ParseInput&, States&& ...)’:
/usr/include/tao/pegtl/contrib/shuffle_states.hpp:109:50: error: ‘make_index_sequence’ is not a member of ‘std’; did you mean ‘tbb::internal::make_index_sequence’?
109 | raise_impl( in, std::tie( st... ), std::make_index_sequence< sizeof...( st ) >() );
| ^~~~~~~~~~~~~~~~~~~
In file included from /usr/include/tbb/enumerable_thread_specific.h:29,
from VTK/Common/Core/vtkSMPThreadLocal.h:81,
from /build/paraview/src/ParaView-v5.9.0/VTK/Common/Core/vtkSMPTools.h:32,
from /build/paraview/src/ParaView-v5.9.0/VTK/IO/MotionFX/vtkMotionFXCFGReader.cxx:28:
/usr/include/tbb/internal/_template_helpers.h:209:7: note: ‘tbb::internal::make_index_sequence’ declared here
209 | using make_index_sequence = typename tbb::internal::make_index_sequence_impl<N>::type;
| ^~~~~~~~~~~~~~~~~~~
In file included from /usr/include/tao/pegtl/contrib/state_control.hpp:9,
from /usr/include/tao/pegtl/contrib/trace.hpp:13,
from /build/paraview/src/ParaView-v5.9.0/VTK/IO/MotionFX/vtkMotionFXCFGGrammar.h:26,
from /build/paraview/src/ParaView-v5.9.0/VTK/IO/MotionFX/vtkMotionFXCFGReader.cxx:40:
/usr/include/tao/pegtl/contrib/shuffle_states.hpp:109:89: error: expected primary-expression before ‘)’ token
109 | raise_impl( in, std::tie( st... ), std::make_index_sequence< sizeof...( st ) >() );
| ^
/usr/include/tao/pegtl/contrib/shuffle_states.hpp: In static member function ‘static decltype (unwind_impl(in, std::tie(st ...), <expression error>)) tao::pegtl::shuffle_states<Base, Shuffle>::unwind(const ParseInput&, States&& ...)’:
/usr/include/tao/pegtl/contrib/shuffle_states.hpp:129:51: error: ‘make_index_sequence’ is not a member of ‘std’; did you mean ‘tbb::internal::make_index_sequence’?
129 | unwind_impl( in, std::tie( st... ), std::make_index_sequence< sizeof...( st ) >() );
| ^~~~~~~~~~~~~~~~~~~
In file included from /usr/include/tbb/enumerable_thread_specific.h:29,
from VTK/Common/Core/vtkSMPThreadLocal.h:81,
from /build/paraview/src/ParaView-v5.9.0/VTK/Common/Core/vtkSMPTools.h:32,
from /build/paraview/src/ParaView-v5.9.0/VTK/IO/MotionFX/vtkMotionFXCFGReader.cxx:28:
/usr/include/tbb/internal/_template_helpers.h:209:7: note: ‘tbb::internal::make_index_sequence’ declared here
209 | using make_index_sequence = typename tbb::internal::make_index_sequence_impl<N>::type;
| ^~~~~~~~~~~~~~~~~~~
In file included from /usr/include/tao/pegtl/contrib/state_control.hpp:9,
from /usr/include/tao/pegtl/contrib/trace.hpp:13,
from /build/paraview/src/ParaView-v5.9.0/VTK/IO/MotionFX/vtkMotionFXCFGGrammar.h:26,
from /build/paraview/src/ParaView-v5.9.0/VTK/IO/MotionFX/vtkMotionFXCFGReader.cxx:40:
/usr/include/tao/pegtl/contrib/shuffle_states.hpp:129:90: error: expected primary-expression before ‘)’ token
129 | unwind_impl( in, std::tie( st... ), std::make_index_sequence< sizeof...( st ) >() );
| ^
In file included from /usr/include/tao/pegtl/contrib/state_control.hpp:9,
from /usr/include/tao/pegtl/contrib/trace.hpp:13,
from /build/paraview/src/ParaView-v5.9.0/VTK/IO/MotionFX/vtkMotionFXCFGGrammar.h:26,
from /build/paraview/src/ParaView-v5.9.0/VTK/IO/MotionFX/vtkMotionFXCFGReader.cxx:40:
/usr/include/tao/pegtl/contrib/shuffle_states.hpp: In static member function ‘static decltype (apply_impl<Action>(begin, in, std::tie(st ...), <expression error>)) tao::pegtl::shuffle_states<Base, Shuffle>::apply(const Iterator&, const ParseInput&, States&& ...)’:
/usr/include/tao/pegtl/contrib/shuffle_states.hpp:150:74: error: ‘make_index_sequence’ is not a member of ‘std’; did you mean ‘tbb::internal::make_index_sequence’?
150 | return apply_impl< Action >( begin, in, std::tie( st... ), std::make_index_sequence< sizeof...( st ) >() );
| ^~~~~~~~~~~~~~~~~~~
In file included from /usr/include/tbb/enumerable_thread_specific.h:29,
from VTK/Common/Core/vtkSMPThreadLocal.h:81,
from /build/paraview/src/ParaView-v5.9.0/VTK/Common/Core/vtkSMPTools.h:32,
from /build/paraview/src/ParaView-v5.9.0/VTK/IO/MotionFX/vtkMotionFXCFGReader.cxx:28:
/usr/include/tbb/internal/_template_helpers.h:209:7: note: ‘tbb::internal::make_index_sequence’ declared here
209 | using make_index_sequence = typename tbb::internal::make_index_sequence_impl<N>::type;
| ^~~~~~~~~~~~~~~~~~~
In file included from /usr/include/tao/pegtl/contrib/state_control.hpp:9,
from /usr/include/tao/pegtl/contrib/trace.hpp:13,
from /build/paraview/src/ParaView-v5.9.0/VTK/IO/MotionFX/vtkMotionFXCFGGrammar.h:26,
from /build/paraview/src/ParaView-v5.9.0/VTK/IO/MotionFX/vtkMotionFXCFGReader.cxx:40:
/usr/include/tao/pegtl/contrib/shuffle_states.hpp:150:113: error: expected primary-expression before ‘)’ token
150 | return apply_impl< Action >( begin, in, std::tie( st... ), std::make_index_sequence< sizeof...( st ) >() );
| ^
/usr/include/tao/pegtl/contrib/shuffle_states.hpp: In static member function ‘static decltype (apply0_impl<Action>(in, std::tie(st ...), <expression error>)) tao::pegtl::shuffle_states<Base, Shuffle>::apply0(const ParseInput&, States&& ...)’:
/usr/include/tao/pegtl/contrib/shuffle_states.hpp:171:68: error: ‘make_index_sequence’ is not a member of ‘std’; did you mean ‘tbb::internal::make_index_sequence’?
171 | return apply0_impl< Action >( in, std::tie( st... ), std::make_index_sequence< sizeof...( st ) >() );
| ^~~~~~~~~~~~~~~~~~~
In file included from /usr/include/tbb/enumerable_thread_specific.h:29,
from VTK/Common/Core/vtkSMPThreadLocal.h:81,
from /build/paraview/src/ParaView-v5.9.0/VTK/Common/Core/vtkSMPTools.h:32,
from /build/paraview/src/ParaView-v5.9.0/VTK/IO/MotionFX/vtkMotionFXCFGReader.cxx:28:
/usr/include/tbb/internal/_template_helpers.h:209:7: note: ‘tbb::internal::make_index_sequence’ declared here
209 | using make_index_sequence = typename tbb::internal::make_index_sequence_impl<N>::type;
| ^~~~~~~~~~~~~~~~~~~
In file included from /usr/include/tao/pegtl/contrib/state_control.hpp:9,
from /usr/include/tao/pegtl/contrib/trace.hpp:13,
from /build/paraview/src/ParaView-v5.9.0/VTK/IO/MotionFX/vtkMotionFXCFGGrammar.h:26,
from /build/paraview/src/ParaView-v5.9.0/VTK/IO/MotionFX/vtkMotionFXCFGReader.cxx:40:
/usr/include/tao/pegtl/contrib/shuffle_states.hpp:171:107: error: expected primary-expression before ‘)’ token
171 | return apply0_impl< Action >( in, std::tie( st... ), std::make_index_sequence< sizeof...( st ) >() );
| ^
In file included from /usr/include/tao/pegtl/contrib/trace.hpp:13,
from /build/paraview/src/ParaView-v5.9.0/VTK/IO/MotionFX/vtkMotionFXCFGGrammar.h:26,
from /build/paraview/src/ParaView-v5.9.0/VTK/IO/MotionFX/vtkMotionFXCFGReader.cxx:40:
/usr/include/tao/pegtl/contrib/state_control.hpp: At global scope:
/usr/include/tao/pegtl/contrib/state_control.hpp:78:21: error: ‘enable_if_t’ in namespace ‘std’ does not name a template type
78 | -> std::enable_if_t< State::template enable< Rule > || ( Control< Rule >::enable && internal::has_unwind< Control< Rule >, void, const ParseInput&, States... > ) >
| ^~~~~~~~~~~
/usr/include/tao/pegtl/contrib/state_control.hpp:78:16: note: ‘std::enable_if_t’ is only available from C++14 onwards
78 | -> std::enable_if_t< State::template enable< Rule > || ( Control< Rule >::enable && internal::has_unwind< Control< Rule >, void, const ParseInput&, States... > ) >
| ^~~
/usr/include/tao/pegtl/contrib/state_control.hpp:78:32: error: expected initializer before ‘<’ token
78 | -> std::enable_if_t< State::template enable< Rule > || ( Control< Rule >::enable && internal::has_unwind< Control< Rule >, void, const ParseInput&, States... > ) >
| ^
In file included from /build/paraview/src/ParaView-v5.9.0/VTK/IO/MotionFX/vtkMotionFXCFGGrammar.h:26,
from /build/paraview/src/ParaView-v5.9.0/VTK/IO/MotionFX/vtkMotionFXCFGReader.cxx:40:
/usr/include/tao/pegtl/contrib/trace.hpp:34:29: error: ‘string_view’ in namespace ‘std’ does not name a type
34 | static constexpr std::string_view ansi_reset = UseColor ? "\033[m" : "";
| ^~~~~~~~~~~
/usr/include/tao/pegtl/contrib/trace.hpp:34:24: note: ‘std::string_view’ is only available from C++17 onwards
34 | static constexpr std::string_view ansi_reset = UseColor ? "\033[m" : "";
| ^~~
/usr/include/tao/pegtl/contrib/trace.hpp:35:29: error: ‘string_view’ in namespace ‘std’ does not name a type
35 | static constexpr std::string_view ansi_rule = UseColor ? "\033[36m" : "";
| ^~~~~~~~~~~
/usr/include/tao/pegtl/contrib/trace.hpp:35:24: note: ‘std::string_view’ is only available from C++17 onwards
35 | static constexpr std::string_view ansi_rule = UseColor ? "\033[36m" : "";
| ^~~
/usr/include/tao/pegtl/contrib/trace.hpp:36:29: error: ‘string_view’ in namespace ‘std’ does not name a type
36 | static constexpr std::string_view ansi_hide = UseColor ? "\033[37m" : "";
| ^~~~~~~~~~~
/usr/include/tao/pegtl/contrib/trace.hpp:36:24: note: ‘std::string_view’ is only available from C++17 onwards
36 | static constexpr std::string_view ansi_hide = UseColor ? "\033[37m" : "";
| ^~~
/usr/include/tao/pegtl/contrib/trace.hpp:38:29: error: ‘string_view’ in namespace ‘std’ does not name a type
38 | static constexpr std::string_view ansi_position = UseColor ? "\033[1;34m" : "";
| ^~~~~~~~~~~
/usr/include/tao/pegtl/contrib/trace.hpp:38:24: note: ‘std::string_view’ is only available from C++17 onwards
38 | static constexpr std::string_view ansi_position = UseColor ? "\033[1;34m" : "";
| ^~~
/usr/include/tao/pegtl/contrib/trace.hpp:39:29: error: ‘string_view’ in namespace ‘std’ does not name a type
39 | static constexpr std::string_view ansi_success = UseColor ? "\033[32m" : "";
| ^~~~~~~~~~~
/usr/include/tao/pegtl/contrib/trace.hpp:39:24: note: ‘std::string_view’ is only available from C++17 onwards
39 | static constexpr std::string_view ansi_success = UseColor ? "\033[32m" : "";
| ^~~
/usr/include/tao/pegtl/contrib/trace.hpp:40:29: error: ‘string_view’ in namespace ‘std’ does not name a type
40 | static constexpr std::string_view ansi_failure = UseColor ? "\033[31m" : "";
| ^~~~~~~~~~~
/usr/include/tao/pegtl/contrib/trace.hpp:40:24: note: ‘std::string_view’ is only available from C++17 onwards
40 | static constexpr std::string_view ansi_failure = UseColor ? "\033[31m" : "";
| ^~~
/usr/include/tao/pegtl/contrib/trace.hpp:41:29: error: ‘string_view’ in namespace ‘std’ does not name a type
41 | static constexpr std::string_view ansi_raise = UseColor ? "\033[1;31m" : "";
| ^~~~~~~~~~~
/usr/include/tao/pegtl/contrib/trace.hpp:41:24: note: ‘std::string_view’ is only available from C++17 onwards
41 | static constexpr std::string_view ansi_raise = UseColor ? "\033[1;31m" : "";
| ^~~
/usr/include/tao/pegtl/contrib/trace.hpp:42:29: error: ‘string_view’ in namespace ‘std’ does not name a type
42 | static constexpr std::string_view ansi_unwind = UseColor ? "\033[31m" : "";
| ^~~~~~~~~~~
/usr/include/tao/pegtl/contrib/trace.hpp:42:24: note: ‘std::string_view’ is only available from C++17 onwards
42 | static constexpr std::string_view ansi_unwind = UseColor ? "\033[31m" : "";
| ^~~
/usr/include/tao/pegtl/contrib/trace.hpp:43:29: error: ‘string_view’ in namespace ‘std’ does not name a type
43 | static constexpr std::string_view ansi_apply = UseColor ? "\033[1;36m" : "";
| ^~~~~~~~~~~
/usr/include/tao/pegtl/contrib/trace.hpp:43:24: note: ‘std::string_view’ is only available from C++17 onwards
43 | static constexpr std::string_view ansi_apply = UseColor ? "\033[1;36m" : "";
| ^~~
In file included from /build/paraview/src/ParaView-v5.9.0/VTK/IO/MotionFX/vtkMotionFXCFGGrammar.h:26,
from /build/paraview/src/ParaView-v5.9.0/VTK/IO/MotionFX/vtkMotionFXCFGReader.cxx:40:
/usr/include/tao/pegtl/contrib/trace.hpp: In member function ‘void tao::pegtl::tracer<TracerTraits>::start(const ParseInput&, States&& ...)’:
/usr/include/tao/pegtl/contrib/trace.hpp:101:99: error: ‘demangle’ was not declared in this scope
101 | std::cerr << '#' << std::setw( indent() - 1 ) << ++m_count << TracerTraits::ansi_rule << demangle< Rule >() << TracerTraits::ansi_reset << '\n';
| ^~~~~~~~
/usr/include/tao/pegtl/contrib/trace.hpp:101:114: error: expected primary-expression before ‘>’ token
101 | std::cerr << '#' << std::setw( indent() - 1 ) << ++m_count << TracerTraits::ansi_rule << demangle< Rule >() << TracerTraits::ansi_reset << '\n';
| ^
/usr/include/tao/pegtl/contrib/trace.hpp:101:116: error: expected primary-expression before ‘)’ token
101 | std::cerr << '#' << std::setw( indent() - 1 ) << ++m_count << TracerTraits::ansi_rule << demangle< Rule >() << TracerTraits::ansi_reset << '\n';
| ^
/usr/include/tao/pegtl/contrib/trace.hpp: In member function ‘void tao::pegtl::tracer<TracerTraits>::success(const ParseInput&, States&& ...)’:
/usr/include/tao/pegtl/contrib/trace.hpp:112:76: error: ‘demangle’ was not declared in this scope
112 | std::cerr << " #" << prev << ' ' << TracerTraits::ansi_hide << demangle< Rule >() << TracerTraits::ansi_reset;
| ^~~~~~~~
/usr/include/tao/pegtl/contrib/trace.hpp:112:91: error: expected primary-expression before ‘>’ token
112 | std::cerr << " #" << prev << ' ' << TracerTraits::ansi_hide << demangle< Rule >() << TracerTraits::ansi_reset;
| ^
/usr/include/tao/pegtl/contrib/trace.hpp:112:93: error: expected primary-expression before ‘)’ token
112 | std::cerr << " #" << prev << ' ' << TracerTraits::ansi_hide << demangle< Rule >() << TracerTraits::ansi_reset;
| ^
/usr/include/tao/pegtl/contrib/trace.hpp: In member function ‘void tao::pegtl::tracer<TracerTraits>::failure(const ParseInput&, States&& ...)’:
/usr/include/tao/pegtl/contrib/trace.hpp:125:76: error: ‘demangle’ was not declared in this scope
125 | std::cerr << " #" << prev << ' ' << TracerTraits::ansi_hide << demangle< Rule >() << TracerTraits::ansi_reset;
| ^~~~~~~~
/usr/include/tao/pegtl/contrib/trace.hpp:125:91: error: expected primary-expression before ‘>’ token
125 | std::cerr << " #" << prev << ' ' << TracerTraits::ansi_hide << demangle< Rule >() << TracerTraits::ansi_reset;
| ^
/usr/include/tao/pegtl/contrib/trace.hpp:125:93: error: expected primary-expression before ‘)’ token
125 | std::cerr << " #" << prev << ' ' << TracerTraits::ansi_hide << demangle< Rule >() << TracerTraits::ansi_reset;
| ^
/usr/include/tao/pegtl/contrib/trace.hpp: In member function ‘void tao::pegtl::tracer<TracerTraits>::raise(const ParseInput&, States&& ...)’:
/usr/include/tao/pegtl/contrib/trace.hpp:134:156: error: ‘demangle’ was not declared in this scope
134 | std::cerr << std::setw( indent() ) << ' ' << TracerTraits::ansi_raise << "raise" << TracerTraits::ansi_reset << ' ' << TracerTraits::ansi_rule << demangle< Rule >() << TracerTraits::ansi_reset << '\n';
| ^~~~~~~~
/usr/include/tao/pegtl/contrib/trace.hpp:134:171: error: expected primary-expression before ‘>’ token
134 | std::cerr << std::setw( indent() ) << ' ' << TracerTraits::ansi_raise << "raise" << TracerTraits::ansi_reset << ' ' << TracerTraits::ansi_rule << demangle< Rule >() << TracerTraits::ansi_reset << '\n';
| ^
/usr/include/tao/pegtl/contrib/trace.hpp:134:173: error: expected primary-expression before ‘)’ token
134 | std::cerr << std::setw( indent() ) << ' ' << TracerTraits::ansi_raise << "raise" << TracerTraits::ansi_reset << ' ' << TracerTraits::ansi_rule << demangle< Rule >() << TracerTraits::ansi_reset << '\n';
| ^
/usr/include/tao/pegtl/contrib/trace.hpp: In member function ‘void tao::pegtl::tracer<TracerTraits>::unwind(const ParseInput&, States&& ...)’:
/usr/include/tao/pegtl/contrib/trace.hpp:144:76: error: ‘demangle’ was not declared in this scope
144 | std::cerr << " #" << prev << ' ' << TracerTraits::ansi_hide << demangle< Rule >() << TracerTraits::ansi_reset;
| ^~~~~~~~
/usr/include/tao/pegtl/contrib/trace.hpp:144:91: error: expected primary-expression before ‘>’ token
144 | std::cerr << " #" << prev << ' ' << TracerTraits::ansi_hide << demangle< Rule >() << TracerTraits::ansi_reset;
| ^
/usr/include/tao/pegtl/contrib/trace.hpp:144:93: error: expected primary-expression before ‘)’ token
144 | std::cerr << " #" << prev << ' ' << TracerTraits::ansi_hide << demangle< Rule >() << TracerTraits::ansi_reset;
| ^
/usr/include/tao/pegtl/contrib/trace.hpp: In static member function ‘static bool tao::pegtl::trace<Tracer>::match(ParseInput&, States&& ...)’:
/usr/include/tao/pegtl/contrib/trace.hpp:213:35: error: ‘is_same_v’ is not a member of ‘std’; did you mean ‘is_same’?
213 | else if constexpr( !std::is_same_v< std::tuple_element_t< sizeof...( st ) - 1, std::tuple< States... > >, Tracer& > ) {
| ^~~~~~~~~
| is_same
/usr/include/tao/pegtl/contrib/trace.hpp:213:51: error: ‘tuple_element_t’ is not a member of ‘std’
213 | else if constexpr( !std::is_same_v< std::tuple_element_t< sizeof...( st ) - 1, std::tuple< States... > >, Tracer& > ) {
| ^~~~~~~~~~~~~~~
/usr/include/tao/pegtl/contrib/trace.hpp:213:51: note: ‘std::tuple_element_t’ is only available from C++14 onwards
/usr/include/tao/pegtl/contrib/trace.hpp:213:113: error: expected primary-expression before ‘>’ token
213 | else if constexpr( !std::is_same_v< std::tuple_element_t< sizeof...( st ) - 1, std::tuple< States... > >, Tracer& > ) {
| ^
/usr/include/tao/pegtl/contrib/trace.hpp:213:114: error: expected primary-expression before ‘,’ token
213 | else if constexpr( !std::is_same_v< std::tuple_element_t< sizeof...( st ) - 1, std::tuple< States... > >, Tracer& > ) {
| ^
/usr/include/tao/pegtl/contrib/trace.hpp:213:122: error: expected primary-expression before ‘&’ token
213 | else if constexpr( !std::is_same_v< std::tuple_element_t< sizeof...( st ) - 1, std::tuple< States... > >, Tracer& > ) {
| ^
/usr/include/tao/pegtl/contrib/trace.hpp:213:124: error: expected primary-expression before ‘>’ token
213 | else if constexpr( !std::is_same_v< std::tuple_element_t< sizeof...( st ) - 1, std::tuple< States... > >, Tracer& > ) {
| ^
/usr/include/tao/pegtl/contrib/trace.hpp:213:126: error: expected primary-expression before ‘)’ token
213 | else if constexpr( !std::is_same_v< std::tuple_element_t< sizeof...( st ) - 1, std::tuple< States... > >, Tracer& > ) {
| ^
/build/paraview/src/ParaView-v5.9.0/VTK/IO/MotionFX/vtkMotionFXCFGReader.cxx: In member function ‘bool impl::PositionFileMotion::read_position_file(const string&) const’:
/build/paraview/src/ParaView-v5.9.0/VTK/IO/MotionFX/vtkMotionFXCFGReader.cxx:1013:67: error: use of deleted function ‘tao::pegtl::read_input<P, Eol>::read_input(tao::pegtl::read_input<P, Eol>&&) [with tao::pegtl::tracking_mode P = tao::pegtl::tracking_mode::eager; Eol = tao::pegtl::ascii::eol::lf_crlf]’
1013 | tao::pegtl::read_input<> in(rootDir + "/" + this->positionFile);
| ^
In file included from /usr/include/tao/pegtl.hpp:20,
from VTK/ThirdParty/pegtl/vtk_pegtl.h:28,
from /build/paraview/src/ParaView-v5.9.0/VTK/IO/MotionFX/vtkMotionFXCFGGrammar.h:22,
from /build/paraview/src/ParaView-v5.9.0/VTK/IO/MotionFX/vtkMotionFXCFGReader.cxx:40:
/usr/include/tao/pegtl/read_input.hpp:41:7: note: declared here
41 | read_input( read_input&& ) = delete;
| ^~~~~~~~~~
/build/paraview/src/ParaView-v5.9.0/VTK/IO/MotionFX/vtkMotionFXCFGReader.cxx:1028:39: error: expected unqualified-id before ‘&’ token
1028 | catch (const tao::pegtl::input_error& e)
| ^
/build/paraview/src/ParaView-v5.9.0/VTK/IO/MotionFX/vtkMotionFXCFGReader.cxx:1028:39: error: expected ‘)’ before ‘&’ token
1028 | catch (const tao::pegtl::input_error& e)
| ~ ^
| )
/build/paraview/src/ParaView-v5.9.0/VTK/IO/MotionFX/vtkMotionFXCFGReader.cxx:1028:39: error: expected ‘{’ before ‘&’ token
/build/paraview/src/ParaView-v5.9.0/VTK/IO/MotionFX/vtkMotionFXCFGReader.cxx:1028:41: error: ‘e’ was not declared in this scope
1028 | catch (const tao::pegtl::input_error& e)
| ^
/build/paraview/src/ParaView-v5.9.0/VTK/IO/MotionFX/vtkMotionFXCFGReader.cxx: In member function ‘bool vtkMotionFXCFGReader::vtkInternals::Parse(const string&)’:
/build/paraview/src/ParaView-v5.9.0/VTK/IO/MotionFX/vtkMotionFXCFGReader.cxx:1051:41: error: use of deleted function ‘tao::pegtl::read_input<P, Eol>::read_input(tao::pegtl::read_input<P, Eol>&&) [with tao::pegtl::tracking_mode P = tao::pegtl::tracking_mode::eager; Eol = tao::pegtl::ascii::eol::lf_crlf]’
1051 | tao::pegtl::read_input<> in(filename);
| ^
In file included from /usr/include/tao/pegtl.hpp:20,
from VTK/ThirdParty/pegtl/vtk_pegtl.h:28,
from /build/paraview/src/ParaView-v5.9.0/VTK/IO/MotionFX/vtkMotionFXCFGGrammar.h:22,
from /build/paraview/src/ParaView-v5.9.0/VTK/IO/MotionFX/vtkMotionFXCFGReader.cxx:40:
/usr/include/tao/pegtl/read_input.hpp:41:7: note: declared here
41 | read_input( read_input&& ) = delete;
| ^~~~~~~~~~
/build/paraview/src/ParaView-v5.9.0/VTK/IO/MotionFX/vtkMotionFXCFGReader.cxx:1063:46: error: use of deleted function ‘tao::pegtl::read_input<P, Eol>::read_input(tao::pegtl::read_input<P, Eol>&&) [with tao::pegtl::tracking_mode P = tao::pegtl::tracking_mode::eager; Eol = tao::pegtl::ascii::eol::lf_crlf]’
1063 | tao::pegtl::read_input<> in2(filename);
| ^
In file included from /usr/include/tao/pegtl.hpp:20,
from VTK/ThirdParty/pegtl/vtk_pegtl.h:28,
from /build/paraview/src/ParaView-v5.9.0/VTK/IO/MotionFX/vtkMotionFXCFGGrammar.h:22,
from /build/paraview/src/ParaView-v5.9.0/VTK/IO/MotionFX/vtkMotionFXCFGReader.cxx:40:
/usr/include/tao/pegtl/read_input.hpp:41:7: note: declared here
41 | read_input( read_input&& ) = delete;
| ^~~~~~~~~~
In file included from /usr/include/tao/pegtl.hpp:8,
from VTK/ThirdParty/pegtl/vtk_pegtl.h:28,
from /build/paraview/src/ParaView-v5.9.0/VTK/IO/MotionFX/vtkMotionFXCFGGrammar.h:22,
from /build/paraview/src/ParaView-v5.9.0/VTK/IO/MotionFX/vtkMotionFXCFGReader.cxx:40:
/usr/include/tao/pegtl/parse.hpp: In instantiation of ‘auto tao::pegtl::parse(ParseInput&&, States&& ...) [with Rule = MotionFX::CFG::Grammar; Action = tao::pegtl::nothing; Control = tao::pegtl::tracer; tao::pegtl::apply_mode A = tao::pegtl::apply_mode::action; tao::pegtl::rewind_mode M = tao::pegtl::rewind_mode::required; ParseInput = tao::pegtl::read_input<>&; States = {}]’:
/build/paraview/src/ParaView-v5.9.0/VTK/IO/MotionFX/vtkMotionFXCFGReader.cxx:1064:95: required from here
/usr/include/tao/pegtl/parse.hpp:29:70: error: ‘match<A, M, template<class ...> class Action, template<class ...> class Control>’ is not a member of ‘tao::pegtl::tracer<MotionFX::CFG::Grammar>’
29 | return Control< Rule >::template match< A, M, Action, Control >( in, st... );
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~
In file included from /usr/include/tao/pegtl/normal.hpp:18,
from /usr/include/tao/pegtl/parse.hpp:12,
from /usr/include/tao/pegtl.hpp:8,
from VTK/ThirdParty/pegtl/vtk_pegtl.h:28,
from /build/paraview/src/ParaView-v5.9.0/VTK/IO/MotionFX/vtkMotionFXCFGGrammar.h:22,
from /build/paraview/src/ParaView-v5.9.0/VTK/IO/MotionFX/vtkMotionFXCFGReader.cxx:40:
/usr/include/tao/pegtl/match.hpp: In instantiation of ‘auto tao::pegtl::match(ParseInput&, States&& ...) [with Rule = MotionFX::OrientationsPositionFile::Grammar; tao::pegtl::apply_mode A = tao::pegtl::apply_mode::action; tao::pegtl::rewind_mode M = tao::pegtl::rewind_mode::required; Action = Actions::PositionFile::action; Control = tao::pegtl::normal; ParseInput = tao::pegtl::read_input<>; States = {std::vector<double, std::allocator<double> >&, std::map<double, impl::PositionFileMotion::tuple_type, std::less<double>, std::allocator<std::pair<const double, impl::PositionFileMotion::tuple_type> > >&}]’:
/usr/include/tao/pegtl/normal.hpp:91:77: required from ‘static bool tao::pegtl::normal<Rule>::match(ParseInput&, States&& ...) [with tao::pegtl::apply_mode A = tao::pegtl::apply_mode::action; tao::pegtl::rewind_mode M = tao::pegtl::rewind_mode::required; Action = Actions::PositionFile::action; Control = tao::pegtl::normal; ParseInput = tao::pegtl::read_input<>; States = {std::vector<double, std::allocator<double> >&, std::map<double, impl::PositionFileMotion::tuple_type, std::less<double>, std::allocator<std::pair<const double, impl::PositionFileMotion::tuple_type> > >&}; Rule = MotionFX::OrientationsPositionFile::Grammar]’
/usr/include/tao/pegtl/parse.hpp:29:70: required from ‘auto tao::pegtl::parse(ParseInput&&, States&& ...) [with Rule = MotionFX::OrientationsPositionFile::Grammar; Action = Actions::PositionFile::action; Control = tao::pegtl::normal; tao::pegtl::apply_mode A = tao::pegtl::apply_mode::action; tao::pegtl::rewind_mode M = tao::pegtl::rewind_mode::required; ParseInput = tao::pegtl::read_input<>&; States = {std::vector<double, std::allocator<double> >&, std::map<double, impl::PositionFileMotion::tuple_type, std::less<double>, std::allocator<std::pair<const double, impl::PositionFileMotion::tuple_type> > >&}]’
/build/paraview/src/ParaView-v5.9.0/VTK/IO/MotionFX/vtkMotionFXCFGReader.cxx:1018:93: required from here
/usr/include/tao/pegtl/match.hpp:135:108: error: non-constant condition for static assertion
135 | static_assert( !enable_action || !validate_nothing || is_nothing || is_maybe_nothing || has_apply || has_apply0, "either apply() or apply0() must be defined" );
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~
/usr/include/tao/pegtl/match.hpp:139:15: error: use of deleted function ‘tao::pegtl::internal::marker<Iterator, M>::marker(tao::pegtl::internal::marker<Iterator, M>&&) [with Iterator = tao::pegtl::internal::iterator; tao::pegtl::rewind_mode M = tao::pegtl::rewind_mode::dontcare]’
139 | auto m = in.template mark< ( use_marker ? rewind_mode::required : rewind_mode::dontcare ) >();
| ^
In file included from /usr/include/tao/pegtl/match.hpp:19,
from /usr/include/tao/pegtl/normal.hpp:18,
from /usr/include/tao/pegtl/parse.hpp:12,
from /usr/include/tao/pegtl.hpp:8,
from VTK/ThirdParty/pegtl/vtk_pegtl.h:28,
from /build/paraview/src/ParaView-v5.9.0/VTK/IO/MotionFX/vtkMotionFXCFGGrammar.h:22,
from /build/paraview/src/ParaView-v5.9.0/VTK/IO/MotionFX/vtkMotionFXCFGReader.cxx:40:
/usr/include/tao/pegtl/internal/marker.hpp:22:7: note: declared here
22 | marker( marker&& ) = delete;
| ^~~~~~
In file included from /usr/include/tao/pegtl/normal.hpp:18,
from /usr/include/tao/pegtl/parse.hpp:12,
from /usr/include/tao/pegtl.hpp:8,
from VTK/ThirdParty/pegtl/vtk_pegtl.h:28,
from /build/paraview/src/ParaView-v5.9.0/VTK/IO/MotionFX/vtkMotionFXCFGGrammar.h:22,
from /build/paraview/src/ParaView-v5.9.0/VTK/IO/MotionFX/vtkMotionFXCFGReader.cxx:40:
/usr/include/tao/pegtl/match.hpp: In instantiation of ‘auto tao::pegtl::match(ParseInput&, States&& ...) [with Rule = MotionFX::LegacyPositionFile::Grammar; tao::pegtl::apply_mode A = tao::pegtl::apply_mode::action; tao::pegtl::rewind_mode M = tao::pegtl::rewind_mode::required; Action = Actions::PositionFile::action; Control = tao::pegtl::normal; ParseInput = tao::pegtl::read_input<>; States = {std::vector<double, std::allocator<double> >&, std::map<double, impl::PositionFileMotion::tuple_type, std::less<double>, std::allocator<std::pair<const double, impl::PositionFileMotion::tuple_type> > >&}]’:
/usr/include/tao/pegtl/normal.hpp:91:77: required from ‘static bool tao::pegtl::normal<Rule>::match(ParseInput&, States&& ...) [with tao::pegtl::apply_mode A = tao::pegtl::apply_mode::action; tao::pegtl::rewind_mode M = tao::pegtl::rewind_mode::required; Action = Actions::PositionFile::action; Control = tao::pegtl::normal; ParseInput = tao::pegtl::read_input<>; States = {std::vector<double, std::allocator<double> >&, std::map<double, impl::PositionFileMotion::tuple_type, std::less<double>, std::allocator<std::pair<const double, impl::PositionFileMotion::tuple_type> > >&}; Rule = MotionFX::LegacyPositionFile::Grammar]’
/usr/include/tao/pegtl/parse.hpp:29:70: required from ‘auto tao::pegtl::parse(ParseInput&&, States&& ...) [with Rule = MotionFX::LegacyPositionFile::Grammar; Action = Actions::PositionFile::action; Control = tao::pegtl::normal; tao::pegtl::apply_mode A = tao::pegtl::apply_mode::action; tao::pegtl::rewind_mode M = tao::pegtl::rewind_mode::required; ParseInput = tao::pegtl::read_input<>&; States = {std::vector<double, std::allocator<double> >&, std::map<double, impl::PositionFileMotion::tuple_type, std::less<double>, std::allocator<std::pair<const double, impl::PositionFileMotion::tuple_type> > >&}]’
/build/paraview/src/ParaView-v5.9.0/VTK/IO/MotionFX/vtkMotionFXCFGReader.cxx:1024:93: required from here
/usr/include/tao/pegtl/match.hpp:135:108: error: non-constant condition for static assertion
135 | static_assert( !enable_action || !validate_nothing || is_nothing || is_maybe_nothing || has_apply || has_apply0, "either apply() or apply0() must be defined" );
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~
/usr/include/tao/pegtl/match.hpp:139:15: error: use of deleted function ‘tao::pegtl::internal::marker<Iterator, M>::marker(tao::pegtl::internal::marker<Iterator, M>&&) [with Iterator = tao::pegtl::internal::iterator; tao::pegtl::rewind_mode M = tao::pegtl::rewind_mode::dontcare]’
139 | auto m = in.template mark< ( use_marker ? rewind_mode::required : rewind_mode::dontcare ) >();
| ^
In file included from /usr/include/tao/pegtl/match.hpp:19,
from /usr/include/tao/pegtl/normal.hpp:18,
from /usr/include/tao/pegtl/parse.hpp:12,
from /usr/include/tao/pegtl.hpp:8,
from VTK/ThirdParty/pegtl/vtk_pegtl.h:28,
from /build/paraview/src/ParaView-v5.9.0/VTK/IO/MotionFX/vtkMotionFXCFGGrammar.h:22,
from /build/paraview/src/ParaView-v5.9.0/VTK/IO/MotionFX/vtkMotionFXCFGReader.cxx:40:
/usr/include/tao/pegtl/internal/marker.hpp:22:7: note: declared here
22 | marker( marker&& ) = delete;
| ^~~~~~
In file included from /usr/include/tao/pegtl/normal.hpp:18,
from /usr/include/tao/pegtl/parse.hpp:12,
from /usr/include/tao/pegtl.hpp:8,
from VTK/ThirdParty/pegtl/vtk_pegtl.h:28,
from /build/paraview/src/ParaView-v5.9.0/VTK/IO/MotionFX/vtkMotionFXCFGGrammar.h:22,
from /build/paraview/src/ParaView-v5.9.0/VTK/IO/MotionFX/vtkMotionFXCFGReader.cxx:40:
/usr/include/tao/pegtl/match.hpp: In instantiation of ‘auto tao::pegtl::match(ParseInput&, States&& ...) [with Rule = MotionFX::CFG::Grammar; tao::pegtl::apply_mode A = tao::pegtl::apply_mode::action; tao::pegtl::rewind_mode M = tao::pegtl::rewind_mode::required; Action = Actions::CFG::action; Control = tao::pegtl::normal; ParseInput = tao::pegtl::read_input<>; States = {Actions::CFG::ActiveState&}]’:
/usr/include/tao/pegtl/normal.hpp:91:77: required from ‘static bool tao::pegtl::normal<Rule>::match(ParseInput&, States&& ...) [with tao::pegtl::apply_mode A = tao::pegtl::apply_mode::action; tao::pegtl::rewind_mode M = tao::pegtl::rewind_mode::required; Action = Actions::CFG::action; Control = tao::pegtl::normal; ParseInput = tao::pegtl::read_input<>; States = {Actions::CFG::ActiveState&}; Rule = MotionFX::CFG::Grammar]’
/usr/include/tao/pegtl/parse.hpp:29:70: required from ‘auto tao::pegtl::parse(ParseInput&&, States&& ...) [with Rule = MotionFX::CFG::Grammar; Action = Actions::CFG::action; Control = tao::pegtl::normal; tao::pegtl::apply_mode A = tao::pegtl::apply_mode::action; tao::pegtl::rewind_mode M = tao::pegtl::rewind_mode::required; ParseInput = tao::pegtl::read_input<>&; States = {Actions::CFG::ActiveState&}]’
/build/paraview/src/ParaView-v5.9.0/VTK/IO/MotionFX/vtkMotionFXCFGReader.cxx:1053:78: required from here
/usr/include/tao/pegtl/match.hpp:123:25: error: non-constant condition for static assertion
123 | static_assert( !( has_apply0 && is_nothing ), "unexpected apply0() defined" );
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/tao/pegtl/match.hpp:135:108: error: non-constant condition for static assertion
135 | static_assert( !enable_action || !validate_nothing || is_nothing || is_maybe_nothing || has_apply || has_apply0, "either apply() or apply0() must be defined" );
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~
/usr/include/tao/pegtl/match.hpp:139:15: error: use of deleted function ‘tao::pegtl::internal::marker<Iterator, M>::marker(tao::pegtl::internal::marker<Iterator, M>&&) [with Iterator = tao::pegtl::internal::iterator; tao::pegtl::rewind_mode M = tao::pegtl::rewind_mode::dontcare]’
139 | auto m = in.template mark< ( use_marker ? rewind_mode::required : rewind_mode::dontcare ) >();
| ^
In file included from /usr/include/tao/pegtl/match.hpp:19,
from /usr/include/tao/pegtl/normal.hpp:18,
from /usr/include/tao/pegtl/parse.hpp:12,
from /usr/include/tao/pegtl.hpp:8,
from VTK/ThirdParty/pegtl/vtk_pegtl.h:28,
from /build/paraview/src/ParaView-v5.9.0/VTK/IO/MotionFX/vtkMotionFXCFGGrammar.h:22,
from /build/paraview/src/ParaView-v5.9.0/VTK/IO/MotionFX/vtkMotionFXCFGReader.cxx:40:
/usr/include/tao/pegtl/internal/marker.hpp:22:7: note: declared here
22 | marker( marker&& ) = delete;
| ^~~~~~
In file included from /usr/include/tao/pegtl/match.hpp:20,
from /usr/include/tao/pegtl/normal.hpp:18,
from /usr/include/tao/pegtl/parse.hpp:12,
from /usr/include/tao/pegtl.hpp:8,
from VTK/ThirdParty/pegtl/vtk_pegtl.h:28,
from /build/paraview/src/ParaView-v5.9.0/VTK/IO/MotionFX/vtkMotionFXCFGGrammar.h:22,
from /build/paraview/src/ParaView-v5.9.0/VTK/IO/MotionFX/vtkMotionFXCFGReader.cxx:40:
/usr/include/tao/pegtl/internal/missing_apply.hpp: In instantiation of ‘void tao::pegtl::internal::missing_apply(ParseInput&, States&& ...) [with Control = tao::pegtl::normal<MotionFX::OrientationsPositionFile::Grammar>; Action = Actions::PositionFile::action; ParseInput = tao::pegtl::read_input<>; States = {std::vector<double, std::allocator<double> >&, std::map<double, impl::PositionFileMotion::tuple_type, std::less<double>, std::allocator<std::pair<const double, impl::PositionFileMotion::tuple_type> > >&}]’:
/usr/include/tao/pegtl/match.hpp:126:63: required from ‘auto tao::pegtl::match(ParseInput&, States&& ...) [with Rule = MotionFX::OrientationsPositionFile::Grammar; tao::pegtl::apply_mode A = tao::pegtl::apply_mode::action; tao::pegtl::rewind_mode M = tao::pegtl::rewind_mode::required; Action = Actions::PositionFile::action; Control = tao::pegtl::normal; ParseInput = tao::pegtl::read_input<>; States = {std::vector<double, std::allocator<double> >&, std::map<double, impl::PositionFileMotion::tuple_type, std::less<double>, std::allocator<std::pair<const double, impl::PositionFileMotion::tuple_type> > >&}]’
/usr/include/tao/pegtl/normal.hpp:91:77: required from ‘static bool tao::pegtl::normal<Rule>::match(ParseInput&, States&& ...) [with tao::pegtl::apply_mode A = tao::pegtl::apply_mode::action; tao::pegtl::rewind_mode M = tao::pegtl::rewind_mode::required; Action = Actions::PositionFile::action; Control = tao::pegtl::normal; ParseInput = tao::pegtl::read_input<>; States = {std::vector<double, std::allocator<double> >&, std::map<double, impl::PositionFileMotion::tuple_type, std::less<double>, std::allocator<std::pair<const double, impl::PositionFileMotion::tuple_type> > >&}; Rule = MotionFX::OrientationsPositionFile::Grammar]’
/usr/include/tao/pegtl/parse.hpp:29:70: required from ‘auto tao::pegtl::parse(ParseInput&&, States&& ...) [with Rule = MotionFX::OrientationsPositionFile::Grammar; Action = Actions::PositionFile::action; Control = tao::pegtl::normal; tao::pegtl::apply_mode A = tao::pegtl::apply_mode::action; tao::pegtl::rewind_mode M = tao::pegtl::rewind_mode::required; ParseInput = tao::pegtl::read_input<>&; States = {std::vector<double, std::allocator<double> >&, std::map<double, impl::PositionFileMotion::tuple_type, std::less<double>, std::allocator<std::pair<const double, impl::PositionFileMotion::tuple_type> > >&}]’
/build/paraview/src/ParaView-v5.9.0/VTK/IO/MotionFX/vtkMotionFXCFGReader.cxx:1018:93: required from here
/usr/include/tao/pegtl/internal/missing_apply.hpp:21:12: error: use of deleted function ‘tao::pegtl::internal::marker<Iterator, tao::pegtl::rewind_mode::required>::marker(tao::pegtl::internal::marker<Iterator, tao::pegtl::rewind_mode::required>&&) [with Iterator = tao::pegtl::internal::iterator]’
21 | auto m = in.template mark< rewind_mode::required >();
| ^
In file included from /usr/include/tao/pegtl/match.hpp:19,
from /usr/include/tao/pegtl/normal.hpp:18,
from /usr/include/tao/pegtl/parse.hpp:12,
from /usr/include/tao/pegtl.hpp:8,
from VTK/ThirdParty/pegtl/vtk_pegtl.h:28,
from /build/paraview/src/ParaView-v5.9.0/VTK/IO/MotionFX/vtkMotionFXCFGGrammar.h:22,
from /build/paraview/src/ParaView-v5.9.0/VTK/IO/MotionFX/vtkMotionFXCFGReader.cxx:40:
/usr/include/tao/pegtl/internal/marker.hpp:47:7: note: declared here
47 | marker( marker&& ) = delete;
| ^~~~~~
In file included from /usr/include/tao/pegtl/match.hpp:20,
from /usr/include/tao/pegtl/normal.hpp:18,
from /usr/include/tao/pegtl/parse.hpp:12,
from /usr/include/tao/pegtl.hpp:8,
from VTK/ThirdParty/pegtl/vtk_pegtl.h:28,
from /build/paraview/src/ParaView-v5.9.0/VTK/IO/MotionFX/vtkMotionFXCFGGrammar.h:22,
from /build/paraview/src/ParaView-v5.9.0/VTK/IO/MotionFX/vtkMotionFXCFGReader.cxx:40:
/usr/include/tao/pegtl/internal/missing_apply.hpp:22:46: error: no matching function for call to ‘tao::pegtl::normal<MotionFX::OrientationsPositionFile::Grammar>::apply<Actions::PositionFile::action>(const tao::pegtl::internal::iterator&, tao::pegtl::read_input<>&, std::vector<double>&, std::map<double, impl::PositionFileMotion::tuple_type>&)’
22 | (void)Control::template apply< Action >( m.iterator(), in, st... );
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /usr/include/tao/pegtl/parse.hpp:12,
from /usr/include/tao/pegtl.hpp:8,
from VTK/ThirdParty/pegtl/vtk_pegtl.h:28,
from /build/paraview/src/ParaView-v5.9.0/VTK/IO/MotionFX/vtkMotionFXCFGGrammar.h:22,
from /build/paraview/src/ParaView-v5.9.0/VTK/IO/MotionFX/vtkMotionFXCFGReader.cxx:40:
/usr/include/tao/pegtl/normal.hpp:61:19: note: candidate: ‘template<template<class ...> class Action, class Iterator, class ParseInput, class ... States> static decltype (Action<Rule>::apply(declval<const typename ParseInput::action_t&>(), tao::pegtl::normal<Rule>::apply::st ...)) tao::pegtl::normal<Rule>::apply(const Iterator&, const ParseInput&, States&& ...) [with Action = Action; Iterator = Iterator; ParseInput = ParseInput; States = {States ...}; Rule = MotionFX::OrientationsPositionFile::Grammar]’
61 | static auto apply( const Iterator& begin, const ParseInput& in, States&&... st ) noexcept( noexcept( Action< Rule >::apply( std::declval< const typename ParseInput::action_t& >(), st... ) ) )
| ^~~~~
/usr/include/tao/pegtl/normal.hpp:61:19: note: template argument deduction/substitution failed:
In file included from /usr/include/tao/pegtl/parse.hpp:12,
from /usr/include/tao/pegtl.hpp:8,
from VTK/ThirdParty/pegtl/vtk_pegtl.h:28,
from /build/paraview/src/ParaView-v5.9.0/VTK/IO/MotionFX/vtkMotionFXCFGGrammar.h:22,
from /build/paraview/src/ParaView-v5.9.0/VTK/IO/MotionFX/vtkMotionFXCFGReader.cxx:40:
/usr/include/tao/pegtl/normal.hpp: In substitution of ‘template<template<class ...> class Action, class Iterator, class ParseInput, class ... States> static decltype (Action<MotionFX::OrientationsPositionFile::Grammar>::apply(declval<const typename ParseInput::action_t&>(), tao::pegtl::normal<Rule>::apply::st ...)) tao::pegtl::normal<MotionFX::OrientationsPositionFile::Grammar>::apply<Action, Iterator, ParseInput, States ...>(const Iterator&, const ParseInput&, States&& ...) [with Action = Actions::PositionFile::action; Iterator = <missing>; ParseInput = <missing>; States = <missing>]’:
/usr/include/tao/pegtl/internal/missing_apply.hpp:22:46: required from ‘void tao::pegtl::internal::missing_apply(ParseInput&, States&& ...) [with Control = tao::pegtl::normal<MotionFX::OrientationsPositionFile::Grammar>; Action = Actions::PositionFile::action; ParseInput = tao::pegtl::read_input<>; States = {std::vector<double, std::allocator<double> >&, std::map<double, impl::PositionFileMotion::tuple_type, std::less<double>, std::allocator<std::pair<const double, impl::PositionFileMotion::tuple_type> > >&}]’
/usr/include/tao/pegtl/match.hpp:126:63: required from ‘auto tao::pegtl::match(ParseInput&, States&& ...) [with Rule = MotionFX::OrientationsPositionFile::Grammar; tao::pegtl::apply_mode A = tao::pegtl::apply_mode::action; tao::pegtl::rewind_mode M = tao::pegtl::rewind_mode::required; Action = Actions::PositionFile::action; Control = tao::pegtl::normal; ParseInput = tao::pegtl::read_input<>; States = {std::vector<double, std::allocator<double> >&, std::map<double, impl::PositionFileMotion::tuple_type, std::less<double>, std::allocator<std::pair<const double, impl::PositionFileMotion::tuple_type> > >&}]’
/usr/include/tao/pegtl/normal.hpp:91:77: required from ‘static bool tao::pegtl::normal<Rule>::match(ParseInput&, States&& ...) [with tao::pegtl::apply_mode A = tao::pegtl::apply_mode::action; tao::pegtl::rewind_mode M = tao::pegtl::rewind_mode::required; Action = Actions::PositionFile::action; Control = tao::pegtl::normal; ParseInput = tao::pegtl::read_input<>; States = {std::vector<double, std::allocator<double> >&, std::map<double, impl::PositionFileMotion::tuple_type, std::less<double>, std::allocator<std::pair<const double, impl::PositionFileMotion::tuple_type> > >&}; Rule = MotionFX::OrientationsPositionFile::Grammar]’
/usr/include/tao/pegtl/parse.hpp:29:70: required from ‘auto tao::pegtl::parse(ParseInput&&, States&& ...) [with Rule = MotionFX::OrientationsPositionFile::Grammar; Action = Actions::PositionFile::action; Control = tao::pegtl::normal; tao::pegtl::apply_mode A = tao::pegtl::apply_mode::action; tao::pegtl::rewind_mode M = tao::pegtl::rewind_mode::required; ParseInput = tao::pegtl::read_input<>&; States = {std::vector<double, std::allocator<double> >&, std::map<double, impl::PositionFileMotion::tuple_type, std::less<double>, std::allocator<std::pair<const double, impl::PositionFileMotion::tuple_type> > >&}]’
/build/paraview/src/ParaView-v5.9.0/VTK/IO/MotionFX/vtkMotionFXCFGReader.cxx:1018:93: required from here
/usr/include/tao/pegtl/normal.hpp:62:44: error: ‘apply’ is not a member of ‘Actions::PositionFile::action<MotionFX::OrientationsPositionFile::Grammar>’
62 | -> decltype( Action< Rule >::apply( std::declval< const typename ParseInput::action_t& >(), st... ) )
| ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /usr/include/tao/pegtl/match.hpp:21,
from /usr/include/tao/pegtl/normal.hpp:18,
from /usr/include/tao/pegtl/parse.hpp:12,
from /usr/include/tao/pegtl.hpp:8,
from VTK/ThirdParty/pegtl/vtk_pegtl.h:28,
from /build/paraview/src/ParaView-v5.9.0/VTK/IO/MotionFX/vtkMotionFXCFGGrammar.h:22,
from /build/paraview/src/ParaView-v5.9.0/VTK/IO/MotionFX/vtkMotionFXCFGReader.cxx:40:
/usr/include/tao/pegtl/internal/missing_apply0.hpp: In instantiation of ‘void tao::pegtl::internal::missing_apply0(ParseInput&, States&& ...) [with Control = tao::pegtl::normal<MotionFX::OrientationsPositionFile::Grammar>; Action = Actions::PositionFile::action; ParseInput = tao::pegtl::read_input<>; States = {std::vector<double, std::allocator<double> >&, std::map<double, impl::PositionFileMotion::tuple_type, std::less<double>, std::allocator<std::pair<const double, impl::PositionFileMotion::tuple_type> > >&}]’:
/usr/include/tao/pegtl/match.hpp:130:64: required from ‘auto tao::pegtl::match(ParseInput&, States&& ...) [with Rule = MotionFX::OrientationsPositionFile::Grammar; tao::pegtl::apply_mode A = tao::pegtl::apply_mode::action; tao::pegtl::rewind_mode M = tao::pegtl::rewind_mode::required; Action = Actions::PositionFile::action; Control = tao::pegtl::normal; ParseInput = tao::pegtl::read_input<>; States = {std::vector<double, std::allocator<double> >&, std::map<double, impl::PositionFileMotion::tuple_type, std::less<double>, std::allocator<std::pair<const double, impl::PositionFileMotion::tuple_type> > >&}]’
/usr/include/tao/pegtl/normal.hpp:91:77: required from ‘static bool tao::pegtl::normal<Rule>::match(ParseInput&, States&& ...) [with tao::pegtl::apply_mode A = tao::pegtl::apply_mode::action; tao::pegtl::rewind_mode M = tao::pegtl::rewind_mode::required; Action = Actions::PositionFile::action; Control = tao::pegtl::normal; ParseInput = tao::pegtl::read_input<>; States = {std::vector<double, std::allocator<double> >&, std::map<double, impl::PositionFileMotion::tuple_type, std::less<double>, std::allocator<std::pair<const double, impl::PositionFileMotion::tuple_type> > >&}; Rule = MotionFX::OrientationsPositionFile::Grammar]’
/usr/include/tao/pegtl/parse.hpp:29:70: required from ‘auto tao::pegtl::parse(ParseInput&&, States&& ...) [with Rule = MotionFX::OrientationsPositionFile::Grammar; Action = Actions::PositionFile::action; Control = tao::pegtl::normal; tao::pegtl::apply_mode A = tao::pegtl::apply_mode::action; tao::pegtl::rewind_mode M = tao::pegtl::rewind_mode::required; ParseInput = tao::pegtl::read_input<>&; States = {std::vector<double, std::allocator<double> >&, std::map<double, impl::PositionFileMotion::tuple_type, std::less<double>, std::allocator<std::pair<const double, impl::PositionFileMotion::tuple_type> > >&}]’
/build/paraview/src/ParaView-v5.9.0/VTK/IO/MotionFX/vtkMotionFXCFGReader.cxx:1018:93: required from here
/usr/include/tao/pegtl/internal/missing_apply0.hpp:20:47: error: no matching function for call to ‘tao::pegtl::normal<MotionFX::OrientationsPositionFile::Grammar>::apply0<Actions::PositionFile::action>(tao::pegtl::read_input<>&, std::vector<double>&, std::map<double, impl::PositionFileMotion::tuple_type>&)’
20 | (void)Control::template apply0< Action >( in, st... );
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~
In file included from /usr/include/tao/pegtl/parse.hpp:12,
from /usr/include/tao/pegtl.hpp:8,
from VTK/ThirdParty/pegtl/vtk_pegtl.h:28,
from /build/paraview/src/ParaView-v5.9.0/VTK/IO/MotionFX/vtkMotionFXCFGGrammar.h:22,
from /build/paraview/src/ParaView-v5.9.0/VTK/IO/MotionFX/vtkMotionFXCFGReader.cxx:40:
/usr/include/tao/pegtl/normal.hpp:71:19: note: candidate: ‘template<template<class ...> class Action, class ParseInput, class ... States> static decltype (Action<Rule>::apply0(tao::pegtl::normal<Rule>::apply0::st ...)) tao::pegtl::normal<Rule>::apply0(const ParseInput&, States&& ...) [with Action = Action; ParseInput = ParseInput; States = {States ...}; Rule = MotionFX::OrientationsPositionFile::Grammar]’
71 | static auto apply0( const ParseInput& /*unused*/, States&&... st ) noexcept( noexcept( Action< Rule >::apply0( st... ) ) )
| ^~~~~~
/usr/include/tao/pegtl/normal.hpp:71:19: note: template argument deduction/substitution failed:
/usr/include/tao/pegtl/normal.hpp: In substitution of ‘template<template<class ...> class Action, class ParseInput, class ... States> static decltype (Action<MotionFX::OrientationsPositionFile::Grammar>::apply0(tao::pegtl::normal<Rule>::apply0::st ...)) tao::pegtl::normal<MotionFX::OrientationsPositionFile::Grammar>::apply0<Action, ParseInput, States ...>(const ParseInput&, States&& ...) [with Action = Actions::PositionFile::action; ParseInput = <missing>; States = <missing>]’:
/usr/include/tao/pegtl/internal/missing_apply0.hpp:20:47: required from ‘void tao::pegtl::internal::missing_apply0(ParseInput&, States&& ...) [with Control = tao::pegtl::normal<MotionFX::OrientationsPositionFile::Grammar>; Action = Actions::PositionFile::action; ParseInput = tao::pegtl::read_input<>; States = {std::vector<double, std::allocator<double> >&, std::map<double, impl::PositionFileMotion::tuple_type, std::less<double>, std::allocator<std::pair<const double, impl::PositionFileMotion::tuple_type> > >&}]’
/usr/include/tao/pegtl/match.hpp:130:64: required from ‘auto tao::pegtl::match(ParseInput&, States&& ...) [with Rule = MotionFX::OrientationsPositionFile::Grammar; tao::pegtl::apply_mode A = tao::pegtl::apply_mode::action; tao::pegtl::rewind_mode M = tao::pegtl::rewind_mode::required; Action = Actions::PositionFile::action; Control = tao::pegtl::normal; ParseInput = tao::pegtl::read_input<>; States = {std::vector<double, std::allocator<double> >&, std::map<double, impl::PositionFileMotion::tuple_type, std::less<double>, std::allocator<std::pair<const double, impl::PositionFileMotion::tuple_type> > >&}]’
/usr/include/tao/pegtl/normal.hpp:91:77: required from ‘static bool tao::pegtl::normal<Rule>::match(ParseInput&, States&& ...) [with tao::pegtl::apply_mode A = tao::pegtl::apply_mode::action; tao::pegtl::rewind_mode M = tao::pegtl::rewind_mode::required; Action = Actions::PositionFile::action; Control = tao::pegtl::normal; ParseInput = tao::pegtl::read_input<>; States = {std::vector<double, std::allocator<double> >&, std::map<double, impl::PositionFileMotion::tuple_type, std::less<double>, std::allocator<std::pair<const double, impl::PositionFileMotion::tuple_type> > >&}; Rule = MotionFX::OrientationsPositionFile::Grammar]’
/usr/include/tao/pegtl/parse.hpp:29:70: required from ‘auto tao::pegtl::parse(ParseInput&&, States&& ...) [with Rule = MotionFX::OrientationsPositionFile::Grammar; Action = Actions::PositionFile::action; Control = tao::pegtl::normal; tao::pegtl::apply_mode A = tao::pegtl::apply_mode::action; tao::pegtl::rewind_mode M = tao::pegtl::rewind_mode::required; ParseInput = tao::pegtl::read_input<>&; States = {std::vector<double, std::allocator<double> >&, std::map<double, impl::PositionFileMotion::tuple_type, std::less<double>, std::allocator<std::pair<const double, impl::PositionFileMotion::tuple_type> > >&}]’
/build/paraview/src/ParaView-v5.9.0/VTK/IO/MotionFX/vtkMotionFXCFGReader.cxx:1018:93: required from here
/usr/include/tao/pegtl/normal.hpp:72:45: error: ‘apply0’ is not a member of ‘Actions::PositionFile::action<MotionFX::OrientationsPositionFile::Grammar>’
72 | -> decltype( Action< Rule >::apply0( st... ) )
| ~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~
In file included from /usr/include/tao/pegtl/match.hpp:20,
from /usr/include/tao/pegtl/normal.hpp:18,
from /usr/include/tao/pegtl/parse.hpp:12,
from /usr/include/tao/pegtl.hpp:8,
from VTK/ThirdParty/pegtl/vtk_pegtl.h:28,
from /build/paraview/src/ParaView-v5.9.0/VTK/IO/MotionFX/vtkMotionFXCFGGrammar.h:22,
from /build/paraview/src/ParaView-v5.9.0/VTK/IO/MotionFX/vtkMotionFXCFGReader.cxx:40:
/usr/include/tao/pegtl/internal/missing_apply.hpp: In instantiation of ‘void tao::pegtl::internal::missing_apply(ParseInput&, States&& ...) [with Control = tao::pegtl::normal<MotionFX::LegacyPositionFile::Grammar>; Action = Actions::PositionFile::action; ParseInput = tao::pegtl::read_input<>; States = {std::vector<double, std::allocator<double> >&, std::map<double, impl::PositionFileMotion::tuple_type, std::less<double>, std::allocator<std::pair<const double, impl::PositionFileMotion::tuple_type> > >&}]’:
/usr/include/tao/pegtl/match.hpp:126:63: required from ‘auto tao::pegtl::match(ParseInput&, States&& ...) [with Rule = MotionFX::LegacyPositionFile::Grammar; tao::pegtl::apply_mode A = tao::pegtl::apply_mode::action; tao::pegtl::rewind_mode M = tao::pegtl::rewind_mode::required; Action = Actions::PositionFile::action; Control = tao::pegtl::normal; ParseInput = tao::pegtl::read_input<>; States = {std::vector<double, std::allocator<double> >&, std::map<double, impl::PositionFileMotion::tuple_type, std::less<double>, std::allocator<std::pair<const double, impl::PositionFileMotion::tuple_type> > >&}]’
/usr/include/tao/pegtl/normal.hpp:91:77: required from ‘static bool tao::pegtl::normal<Rule>::match(ParseInput&, States&& ...) [with tao::pegtl::apply_mode A = tao::pegtl::apply_mode::action; tao::pegtl::rewind_mode M = tao::pegtl::rewind_mode::required; Action = Actions::PositionFile::action; Control = tao::pegtl::normal; ParseInput = tao::pegtl::read_input<>; States = {std::vector<double, std::allocator<double> >&, std::map<double, impl::PositionFileMotion::tuple_type, std::less<double>, std::allocator<std::pair<const double, impl::PositionFileMotion::tuple_type> > >&}; Rule = MotionFX::LegacyPositionFile::Grammar]’
/usr/include/tao/pegtl/parse.hpp:29:70: required from ‘auto tao::pegtl::parse(ParseInput&&, States&& ...) [with Rule = MotionFX::LegacyPositionFile::Grammar; Action = Actions::PositionFile::action; Control = tao::pegtl::normal; tao::pegtl::apply_mode A = tao::pegtl::apply_mode::action; tao::pegtl::rewind_mode M = tao::pegtl::rewind_mode::required; ParseInput = tao::pegtl::read_input<>&; States = {std::vector<double, std::allocator<double> >&, std::map<double, impl::PositionFileMotion::tuple_type, std::less<double>, std::allocator<std::pair<const double, impl::PositionFileMotion::tuple_type> > >&}]’
/build/paraview/src/ParaView-v5.9.0/VTK/IO/MotionFX/vtkMotionFXCFGReader.cxx:1024:93: required from here
/usr/include/tao/pegtl/internal/missing_apply.hpp:21:12: error: use of deleted function ‘tao::pegtl::internal::marker<Iterator, tao::pegtl::rewind_mode::required>::marker(tao::pegtl::internal::marker<Iterator, tao::pegtl::rewind_mode::required>&&) [with Iterator = tao::pegtl::internal::iterator]’
21 | auto m = in.template mark< rewind_mode::required >();
| ^
In file included from /usr/include/tao/pegtl/match.hpp:19,
from /usr/include/tao/pegtl/normal.hpp:18,
from /usr/include/tao/pegtl/parse.hpp:12,
from /usr/include/tao/pegtl.hpp:8,
from VTK/ThirdParty/pegtl/vtk_pegtl.h:28,
from /build/paraview/src/ParaView-v5.9.0/VTK/IO/MotionFX/vtkMotionFXCFGGrammar.h:22,
from /build/paraview/src/ParaView-v5.9.0/VTK/IO/MotionFX/vtkMotionFXCFGReader.cxx:40:
/usr/include/tao/pegtl/internal/marker.hpp:47:7: note: declared here
47 | marker( marker&& ) = delete;
| ^~~~~~
In file included from /usr/include/tao/pegtl/match.hpp:20,
from /usr/include/tao/pegtl/normal.hpp:18,
from /usr/include/tao/pegtl/parse.hpp:12,
from /usr/include/tao/pegtl.hpp:8,
from VTK/ThirdParty/pegtl/vtk_pegtl.h:28,
from /build/paraview/src/ParaView-v5.9.0/VTK/IO/MotionFX/vtkMotionFXCFGGrammar.h:22,
from /build/paraview/src/ParaView-v5.9.0/VTK/IO/MotionFX/vtkMotionFXCFGReader.cxx:40:
/usr/include/tao/pegtl/internal/missing_apply.hpp:22:46: error: no matching function for call to ‘tao::pegtl::normal<MotionFX::LegacyPositionFile::Grammar>::apply<Actions::PositionFile::action>(const tao::pegtl::internal::iterator&, tao::pegtl::read_input<>&, std::vector<double>&, std::map<double, impl::PositionFileMotion::tuple_type>&)’
22 | (void)Control::template apply< Action >( m.iterator(), in, st... );
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /usr/include/tao/pegtl/parse.hpp:12,
from /usr/include/tao/pegtl.hpp:8,
from VTK/ThirdParty/pegtl/vtk_pegtl.h:28,
from /build/paraview/src/ParaView-v5.9.0/VTK/IO/MotionFX/vtkMotionFXCFGGrammar.h:22,
from /build/paraview/src/ParaView-v5.9.0/VTK/IO/MotionFX/vtkMotionFXCFGReader.cxx:40:
/usr/include/tao/pegtl/normal.hpp:61:19: note: candidate: ‘template<template<class ...> class Action, class Iterator, class ParseInput, class ... States> static decltype (Action<Rule>::apply(declval<const typename ParseInput::action_t&>(), tao::pegtl::normal<Rule>::apply::st ...)) tao::pegtl::normal<Rule>::apply(const Iterator&, const ParseInput&, States&& ...) [with Action = Action; Iterator = Iterator; ParseInput = ParseInput; States = {States ...}; Rule = MotionFX::LegacyPositionFile::Grammar]’
61 | static auto apply( const Iterator& begin, const ParseInput& in, States&&... st ) noexcept( noexcept( Action< Rule >::apply( std::declval< const typename ParseInput::action_t& >(), st... ) ) )
| ^~~~~
/usr/include/tao/pegtl/normal.hpp:61:19: note: template argument deduction/substitution failed:
In file included from /usr/include/tao/pegtl/parse.hpp:12,
from /usr/include/tao/pegtl.hpp:8,
from VTK/ThirdParty/pegtl/vtk_pegtl.h:28,
from /build/paraview/src/ParaView-v5.9.0/VTK/IO/MotionFX/vtkMotionFXCFGGrammar.h:22,
from /build/paraview/src/ParaView-v5.9.0/VTK/IO/MotionFX/vtkMotionFXCFGReader.cxx:40:
/usr/include/tao/pegtl/normal.hpp: In substitution of ‘template<template<class ...> class Action, class Iterator, class ParseInput, class ... States> static decltype (Action<MotionFX::LegacyPositionFile::Grammar>::apply(declval<const typename ParseInput::action_t&>(), tao::pegtl::normal<Rule>::apply::st ...)) tao::pegtl::normal<MotionFX::LegacyPositionFile::Grammar>::apply<Action, Iterator, ParseInput, States ...>(const Iterator&, const ParseInput&, States&& ...) [with Action = Actions::PositionFile::action; Iterator = <missing>; ParseInput = <missing>; States = <missing>]’:
/usr/include/tao/pegtl/internal/missing_apply.hpp:22:46: required from ‘void tao::pegtl::internal::missing_apply(ParseInput&, States&& ...) [with Control = tao::pegtl::normal<MotionFX::LegacyPositionFile::Grammar>; Action = Actions::PositionFile::action; ParseInput = tao::pegtl::read_input<>; States = {std::vector<double, std::allocator<double> >&, std::map<double, impl::PositionFileMotion::tuple_type, std::less<double>, std::allocator<std::pair<const double, impl::PositionFileMotion::tuple_type> > >&}]’
/usr/include/tao/pegtl/match.hpp:126:63: required from ‘auto tao::pegtl::match(ParseInput&, States&& ...) [with Rule = MotionFX::LegacyPositionFile::Grammar; tao::pegtl::apply_mode A = tao::pegtl::apply_mode::action; tao::pegtl::rewind_mode M = tao::pegtl::rewind_mode::required; Action = Actions::PositionFile::action; Control = tao::pegtl::normal; ParseInput = tao::pegtl::read_input<>; States = {std::vector<double, std::allocator<double> >&, std::map<double, impl::PositionFileMotion::tuple_type, std::less<double>, std::allocator<std::pair<const double, impl::PositionFileMotion::tuple_type> > >&}]’
/usr/include/tao/pegtl/normal.hpp:91:77: required from ‘static bool tao::pegtl::normal<Rule>::match(ParseInput&, States&& ...) [with tao::pegtl::apply_mode A = tao::pegtl::apply_mode::action; tao::pegtl::rewind_mode M = tao::pegtl::rewind_mode::required; Action = Actions::PositionFile::action; Control = tao::pegtl::normal; ParseInput = tao::pegtl::read_input<>; States = {std::vector<double, std::allocator<double> >&, std::map<double, impl::PositionFileMotion::tuple_type, std::less<double>, std::allocator<std::pair<const double, impl::PositionFileMotion::tuple_type> > >&}; Rule = MotionFX::LegacyPositionFile::Grammar]’
/usr/include/tao/pegtl/parse.hpp:29:70: required from ‘auto tao::pegtl::parse(ParseInput&&, States&& ...) [with Rule = MotionFX::LegacyPositionFile::Grammar; Action = Actions::PositionFile::action; Control = tao::pegtl::normal; tao::pegtl::apply_mode A = tao::pegtl::apply_mode::action; tao::pegtl::rewind_mode M = tao::pegtl::rewind_mode::required; ParseInput = tao::pegtl::read_input<>&; States = {std::vector<double, std::allocator<double> >&, std::map<double, impl::PositionFileMotion::tuple_type, std::less<double>, std::allocator<std::pair<const double, impl::PositionFileMotion::tuple_type> > >&}]’
/build/paraview/src/ParaView-v5.9.0/VTK/IO/MotionFX/vtkMotionFXCFGReader.cxx:1024:93: required from here
/usr/include/tao/pegtl/normal.hpp:62:44: error: ‘apply’ is not a member of ‘Actions::PositionFile::action<MotionFX::LegacyPositionFile::Grammar>’
62 | -> decltype( Action< Rule >::apply( std::declval< const typename ParseInput::action_t& >(), st... ) )
| ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /usr/include/tao/pegtl/match.hpp:21,
from /usr/include/tao/pegtl/normal.hpp:18,
from /usr/include/tao/pegtl/parse.hpp:12,
from /usr/include/tao/pegtl.hpp:8,
from VTK/ThirdParty/pegtl/vtk_pegtl.h:28,
from /build/paraview/src/ParaView-v5.9.0/VTK/IO/MotionFX/vtkMotionFXCFGGrammar.h:22,
from /build/paraview/src/ParaView-v5.9.0/VTK/IO/MotionFX/vtkMotionFXCFGReader.cxx:40:
/usr/include/tao/pegtl/internal/missing_apply0.hpp: In instantiation of ‘void tao::pegtl::internal::missing_apply0(ParseInput&, States&& ...) [with Control = tao::pegtl::normal<MotionFX::LegacyPositionFile::Grammar>; Action = Actions::PositionFile::action; ParseInput = tao::pegtl::read_input<>; States = {std::vector<double, std::allocator<double> >&, std::map<double, impl::PositionFileMotion::tuple_type, std::less<double>, std::allocator<std::pair<const double, impl::PositionFileMotion::tuple_type> > >&}]’:
/usr/include/tao/pegtl/match.hpp:130:64: required from ‘auto tao::pegtl::match(ParseInput&, States&& ...) [with Rule = MotionFX::LegacyPositionFile::Grammar; tao::pegtl::apply_mode A = tao::pegtl::apply_mode::action; tao::pegtl::rewind_mode M = tao::pegtl::rewind_mode::required; Action = Actions::PositionFile::action; Control = tao::pegtl::normal; ParseInput = tao::pegtl::read_input<>; States = {std::vector<double, std::allocator<double> >&, std::map<double, impl::PositionFileMotion::tuple_type, std::less<double>, std::allocator<std::pair<const double, impl::PositionFileMotion::tuple_type> > >&}]’
/usr/include/tao/pegtl/normal.hpp:91:77: required from ‘static bool tao::pegtl::normal<Rule>::match(ParseInput&, States&& ...) [with tao::pegtl::apply_mode A = tao::pegtl::apply_mode::action; tao::pegtl::rewind_mode M = tao::pegtl::rewind_mode::required; Action = Actions::PositionFile::action; Control = tao::pegtl::normal; ParseInput = tao::pegtl::read_input<>; States = {std::vector<double, std::allocator<double> >&, std::map<double, impl::PositionFileMotion::tuple_type, std::less<double>, std::allocator<std::pair<const double, impl::PositionFileMotion::tuple_type> > >&}; Rule = MotionFX::LegacyPositionFile::Grammar]’
/usr/include/tao/pegtl/parse.hpp:29:70: required from ‘auto tao::pegtl::parse(ParseInput&&, States&& ...) [with Rule = MotionFX::LegacyPositionFile::Grammar; Action = Actions::PositionFile::action; Control = tao::pegtl::normal; tao::pegtl::apply_mode A = tao::pegtl::apply_mode::action; tao::pegtl::rewind_mode M = tao::pegtl::rewind_mode::required; ParseInput = tao::pegtl::read_input<>&; States = {std::vector<double, std::allocator<double> >&, std::map<double, impl::PositionFileMotion::tuple_type, std::less<double>, std::allocator<std::pair<const double, impl::PositionFileMotion::tuple_type> > >&}]’
/build/paraview/src/ParaView-v5.9.0/VTK/IO/MotionFX/vtkMotionFXCFGReader.cxx:1024:93: required from here
/usr/include/tao/pegtl/internal/missing_apply0.hpp:20:47: error: no matching function for call to ‘tao::pegtl::normal<MotionFX::LegacyPositionFile::Grammar>::apply0<Actions::PositionFile::action>(tao::pegtl::read_input<>&, std::vector<double>&, std::map<double, impl::PositionFileMotion::tuple_type>&)’
20 | (void)Control::template apply0< Action >( in, st... );
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~
In file included from /usr/include/tao/pegtl/parse.hpp:12,
from /usr/include/tao/pegtl.hpp:8,
from VTK/ThirdParty/pegtl/vtk_pegtl.h:28,
from /build/paraview/src/ParaView-v5.9.0/VTK/IO/MotionFX/vtkMotionFXCFGGrammar.h:22,
from /build/paraview/src/ParaView-v5.9.0/VTK/IO/MotionFX/vtkMotionFXCFGReader.cxx:40:
/usr/include/tao/pegtl/normal.hpp:71:19: note: candidate: ‘template<template<class ...> class Action, class ParseInput, class ... States> static decltype (Action<Rule>::apply0(tao::pegtl::normal<Rule>::apply0::st ...)) tao::pegtl::normal<Rule>::apply0(const ParseInput&, States&& ...) [with Action = Action; ParseInput = ParseInput; States = {States ...}; Rule = MotionFX::LegacyPositionFile::Grammar]’
71 | static auto apply0( const ParseInput& /*unused*/, States&&... st ) noexcept( noexcept( Action< Rule >::apply0( st... ) ) )
| ^~~~~~
/usr/include/tao/pegtl/normal.hpp:71:19: note: template argument deduction/substitution failed:
/usr/include/tao/pegtl/normal.hpp: In substitution of ‘template<template<class ...> class Action, class ParseInput, class ... States> static decltype (Action<MotionFX::LegacyPositionFile::Grammar>::apply0(tao::pegtl::normal<Rule>::apply0::st ...)) tao::pegtl::normal<MotionFX::LegacyPositionFile::Grammar>::apply0<Action, ParseInput, States ...>(const ParseInput&, States&& ...) [with Action = Actions::PositionFile::action; ParseInput = <missing>; States = <missing>]’:
/usr/include/tao/pegtl/internal/missing_apply0.hpp:20:47: required from ‘void tao::pegtl::internal::missing_apply0(ParseInput&, States&& ...) [with Control = tao::pegtl::normal<MotionFX::LegacyPositionFile::Grammar>; Action = Actions::PositionFile::action; ParseInput = tao::pegtl::read_input<>; States = {std::vector<double, std::allocator<double> >&, std::map<double, impl::PositionFileMotion::tuple_type, std::less<double>, std::allocator<std::pair<const double, impl::PositionFileMotion::tuple_type> > >&}]’
/usr/include/tao/pegtl/match.hpp:130:64: required from ‘auto tao::pegtl::match(ParseInput&, States&& ...) [with Rule = MotionFX::LegacyPositionFile::Grammar; tao::pegtl::apply_mode A = tao::pegtl::apply_mode::action; tao::pegtl::rewind_mode M = tao::pegtl::rewind_mode::required; Action = Actions::PositionFile::action; Control = tao::pegtl::normal; ParseInput = tao::pegtl::read_input<>; States = {std::vector<double, std::allocator<double> >&, std::map<double, impl::PositionFileMotion::tuple_type, std::less<double>, std::allocator<std::pair<const double, impl::PositionFileMotion::tuple_type> > >&}]’
/usr/include/tao/pegtl/normal.hpp:91:77: required from ‘static bool tao::pegtl::normal<Rule>::match(ParseInput&, States&& ...) [with tao::pegtl::apply_mode A = tao::pegtl::apply_mode::action; tao::pegtl::rewind_mode M = tao::pegtl::rewind_mode::required; Action = Actions::PositionFile::action; Control = tao::pegtl::normal; ParseInput = tao::pegtl::read_input<>; States = {std::vector<double, std::allocator<double> >&, std::map<double, impl::PositionFileMotion::tuple_type, std::less<double>, std::allocator<std::pair<const double, impl::PositionFileMotion::tuple_type> > >&}; Rule = MotionFX::LegacyPositionFile::Grammar]’
/usr/include/tao/pegtl/parse.hpp:29:70: required from ‘auto tao::pegtl::parse(ParseInput&&, States&& ...) [with Rule = MotionFX::LegacyPositionFile::Grammar; Action = Actions::PositionFile::action; Control = tao::pegtl::normal; tao::pegtl::apply_mode A = tao::pegtl::apply_mode::action; tao::pegtl::rewind_mode M = tao::pegtl::rewind_mode::required; ParseInput = tao::pegtl::read_input<>&; States = {std::vector<double, std::allocator<double> >&, std::map<double, impl::PositionFileMotion::tuple_type, std::less<double>, std::allocator<std::pair<const double, impl::PositionFileMotion::tuple_type> > >&}]’
/build/paraview/src/ParaView-v5.9.0/VTK/IO/MotionFX/vtkMotionFXCFGReader.cxx:1024:93: required from here
/usr/include/tao/pegtl/normal.hpp:72:45: error: ‘apply0’ is not a member of ‘Actions::PositionFile::action<MotionFX::LegacyPositionFile::Grammar>’
72 | -> decltype( Action< Rule >::apply0( st... ) )
| ~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~
In file included from /usr/include/tao/pegtl/internal/rematch.hpp:12,
from /usr/include/tao/pegtl/internal/minus.hpp:11,
from /usr/include/tao/pegtl/internal/rules.hpp:31,
from /usr/include/tao/pegtl/ascii.hpp:10,
from /usr/include/tao/pegtl.hpp:11,
from VTK/ThirdParty/pegtl/vtk_pegtl.h:28,
from /build/paraview/src/ParaView-v5.9.0/VTK/IO/MotionFX/vtkMotionFXCFGGrammar.h:22,
from /build/paraview/src/ParaView-v5.9.0/VTK/IO/MotionFX/vtkMotionFXCFGReader.cxx:40:
/usr/include/tao/pegtl/memory_input.hpp: In instantiation of ‘tao::pegtl::internal::marker<typename tao::pegtl::internal::memory_input_base<P, Eol, Source>::iterator_t, M> tao::pegtl::memory_input<P, Eol, Source>::mark() [with tao::pegtl::rewind_mode M = tao::pegtl::rewind_mode::required; tao::pegtl::tracking_mode P = tao::pegtl::tracking_mode::eager; Eol = tao::pegtl::ascii::eol::lf_crlf; Source = std::__cxx11::basic_string<char>; typename tao::pegtl::internal::memory_input_base<P, Eol, Source>::iterator_t = tao::pegtl::internal::iterator]’:
/usr/include/tao/pegtl/internal/missing_apply.hpp:21:57: required from ‘void tao::pegtl::internal::missing_apply(ParseInput&, States&& ...) [with Control = tao::pegtl::normal<MotionFX::OrientationsPositionFile::Grammar>; Action = Actions::PositionFile::action; ParseInput = tao::pegtl::read_input<>; States = {std::vector<double, std::allocator<double> >&, std::map<double, impl::PositionFileMotion::tuple_type, std::less<double>, std::allocator<std::pair<const double, impl::PositionFileMotion::tuple_type> > >&}]’
/usr/include/tao/pegtl/match.hpp:126:63: required from ‘auto tao::pegtl::match(ParseInput&, States&& ...) [with Rule = MotionFX::OrientationsPositionFile::Grammar; tao::pegtl::apply_mode A = tao::pegtl::apply_mode::action; tao::pegtl::rewind_mode M = tao::pegtl::rewind_mode::required; Action = Actions::PositionFile::action; Control = tao::pegtl::normal; ParseInput = tao::pegtl::read_input<>; States = {std::vector<double, std::allocator<double> >&, std::map<double, impl::PositionFileMotion::tuple_type, std::less<double>, std::allocator<std::pair<const double, impl::PositionFileMotion::tuple_type> > >&}]’
/usr/include/tao/pegtl/normal.hpp:91:77: required from ‘static bool tao::pegtl::normal<Rule>::match(ParseInput&, States&& ...) [with tao::pegtl::apply_mode A = tao::pegtl::apply_mode::action; tao::pegtl::rewind_mode M = tao::pegtl::rewind_mode::required; Action = Actions::PositionFile::action; Control = tao::pegtl::normal; ParseInput = tao::pegtl::read_input<>; States = {std::vector<double, std::allocator<double> >&, std::map<double, impl::PositionFileMotion::tuple_type, std::less<double>, std::allocator<std::pair<const double, impl::PositionFileMotion::tuple_type> > >&}; Rule = MotionFX::OrientationsPositionFile::Grammar]’
/usr/include/tao/pegtl/parse.hpp:29:70: required from ‘auto tao::pegtl::parse(ParseInput&&, States&& ...) [with Rule = MotionFX::OrientationsPositionFile::Grammar; Action = Actions::PositionFile::action; Control = tao::pegtl::normal; tao::pegtl::apply_mode A = tao::pegtl::apply_mode::action; tao::pegtl::rewind_mode M = tao::pegtl::rewind_mode::required; ParseInput = tao::pegtl::read_input<>&; States = {std::vector<double, std::allocator<double> >&, std::map<double, impl::PositionFileMotion::tuple_type, std::less<double>, std::allocator<std::pair<const double, impl::PositionFileMotion::tuple_type> > >&}]’
/build/paraview/src/ParaView-v5.9.0/VTK/IO/MotionFX/vtkMotionFXCFGReader.cxx:1018:93: required from here
/usr/include/tao/pegtl/memory_input.hpp:331:63: error: use of deleted function ‘tao::pegtl::internal::marker<Iterator, tao::pegtl::rewind_mode::required>::marker(tao::pegtl::internal::marker<Iterator, tao::pegtl::rewind_mode::required>&&) [with Iterator = tao::pegtl::internal::iterator]’
331 | return internal::marker< iterator_t, M >( iterator() );
| ^
In file included from /usr/include/tao/pegtl/match.hpp:19,
from /usr/include/tao/pegtl/normal.hpp:18,
from /usr/include/tao/pegtl/parse.hpp:12,
from /usr/include/tao/pegtl.hpp:8,
from VTK/ThirdParty/pegtl/vtk_pegtl.h:28,
from /build/paraview/src/ParaView-v5.9.0/VTK/IO/MotionFX/vtkMotionFXCFGGrammar.h:22,
from /build/paraview/src/ParaView-v5.9.0/VTK/IO/MotionFX/vtkMotionFXCFGReader.cxx:40:
/usr/include/tao/pegtl/internal/marker.hpp:47:7: note: declared here
47 | marker( marker&& ) = delete;
| ^~~~~~
```
</details>https://gitlab.kitware.com/vtk/vtk/-/issues/18154Update source tarball data creation to follow ParaView2021-03-21T20:16:04-04:00Ben BoeckelUpdate source tarball data creation to follow ParaViewThe source tarball creation script creates both a VTKData and VTKLargeData tarball which contains an ExternalData content-addressed store. VTK should follow VTK and create a VTKTestingDataFiles tarball which contains the data files in th...The source tarball creation script creates both a VTKData and VTKLargeData tarball which contains an ExternalData content-addressed store. VTK should follow VTK and create a VTKTestingDataFiles tarball which contains the data files in their intended location instead of being a pile of opaque blobs.https://gitlab.kitware.com/vtk/vtk/-/issues/18155Missing mangling for PNG and Freetype libraries2021-03-21T20:44:42-04:00Ben BoeckelMissing mangling for PNG and Freetype librariesSee [this Discourse](https://discourse.vtk.org/t/lnk2005-error-when-use-vtk-opencv-static-library-in-vs2019/5371) post for details.See [this Discourse](https://discourse.vtk.org/t/lnk2005-error-when-use-vtk-opencv-static-library-in-vs2019/5371) post for details.https://gitlab.kitware.com/vtk/vtk/-/issues/18208Keep track of why modules are provided/requested/rejected/etc.2021-05-12T08:19:29-04:00Ben BoeckelKeep track of why modules are provided/requested/rejected/etc.The module system should track why modules are enabled, provided, rejected, etc. for use in error messages. Currently this information is visible through debug flags and logging, but the error messages are a bit lost as to the actual rea...The module system should track why modules are enabled, provided, rejected, etc. for use in error messages. Currently this information is visible through debug flags and logging, but the error messages are a bit lost as to the actual reasons behind things.
Cc: @cory.quammenBen BoeckelBen Boeckelhttps://gitlab.kitware.com/vtk/vtk/-/issues/18216Issue warnings for unwrappable classes2024-03-21T22:15:09-04:00Ben BoeckelIssue warnings for unwrappable classesNow that we have `NOWRAP_HEADERS`, we should start emitting warnings for unwrappable classes (in any language wrapper).
Cc: @dgobbiNow that we have `NOWRAP_HEADERS`, we should start emitting warnings for unwrappable classes (in any language wrapper).
Cc: @dgobbihttps://gitlab.kitware.com/vtk/vtk/-/issues/18220Regression in object factory autoinit registration in VTK 9.0.1 (works fine i...2023-11-24T09:56:06-05:00Aleksei NikiforovRegression in object factory autoinit registration in VTK 9.0.1 (works fine in VTK 8.2.0)I'm trying to run itk-snap 3.8.0 (http://www.itksnap.org/pmwiki/pmwiki.php) with VTK 9.0.1, and it crashes. It looks like it vtkPolyDataMapper2D::New() returns nullptr even while libvtkRenderingOpenGL2-9.0.so is linked. It's regrettion: ...I'm trying to run itk-snap 3.8.0 (http://www.itksnap.org/pmwiki/pmwiki.php) with VTK 9.0.1, and it crashes. It looks like it vtkPolyDataMapper2D::New() returns nullptr even while libvtkRenderingOpenGL2-9.0.so is linked. It's regrettion: with VTK 8.2.0 it worked fine.
On further inspection, it looks like function vtkRenderingOpenGL2_AutoInit_Construct() is never called, never registering corresponding classes in factory.
Here's corresponding part of build log:
> cd /usr/src/RPM/BUILD/vtk-9.0.1/BUILD/Rendering/OpenGL2 && /usr/bin/c++ -DRenderingOpenGL2_EXPORTS -DVTK_IN_VTK -DvtkRenderingCore_AUTOINIT_INCLUDE=\"/usr/src/RPM/BUILD/vtk-9.0.1/BUILD/CMakeFiles/vtkModuleAutoInit_4e7408e0d020c0bc0cc5c2b2e46c90a4.h\" -I/usr/src/RPM/BUILD/vtk-9.0.1/BUILD/Rendering/OpenGL2 -I/usr/src/RPM/BUILD/vtk-9.0.1/Rendering/OpenGL2 -I/usr/src/RPM/BUILD/vtk-9.0.1/BUILD/Common/Core -I/usr/src/RPM/BUILD/vtk-9.0.1/Common/Core -I/usr/src/RPM/BUILD/vtk-9.0.1/BUILD/Common/DataModel -I/usr/src/RPM/BUILD/vtk-9.0.1/Common/DataModel -I/usr/src/RPM/BUILD/vtk-9.0.1/BUILD/Common/Math -I/usr/src/RPM/BUILD/vtk-9.0.1/Common/Math -I/usr/src/RPM/BUILD/vtk-9.0.1/BUILD/Common/Transforms -I/usr/src/RPM/BUILD/vtk-9.0.1/Common/Transforms -I/usr/src/RPM/BUILD/vtk-9.0.1/BUILD/Rendering/Core -I/usr/src/RPM/BUILD/vtk-9.0.1/Rendering/Core -I/usr/src/RPM/BUILD/vtk-9.0.1/BUILD/Common/ExecutionModel -I/usr/src/RPM/BUILD/vtk-9.0.1/Common/ExecutionModel -I/usr/src/RPM/BUILD/vtk-9.0.1/BUILD/Filters/Core -I/usr/src/RPM/BUILD/vtk-9.0.1/Filters/Core -I/usr/src/RPM/BUILD/vtk-9.0.1/BUILD/Common/Misc -I/usr/src/RPM/BUILD/vtk-9.0.1/Common/Misc -I/usr/src/RPM/BUILD/vtk-9.0.1/BUILD/Rendering/UI -I/usr/src/RPM/BUILD/vtk-9.0.1/Rendering/UI -I/usr/src/RPM/BUILD/vtk-9.0.1/BUILD/Common/System -I/usr/src/RPM/BUILD/vtk-9.0.1/Common/System -isystem /usr/src/RPM/BUILD/vtk-9.0.1/BUILD/Utilities/KWIML -isystem /usr/src/RPM/BUILD/vtk-9.0.1/Utilities/KWIML -isystem /usr/src/RPM/BUILD/vtk-9.0.1/BUILD/Utilities/KWSys -isystem /usr/src/RPM/BUILD/vtk-9.0.1/Utilities/KWSys -isystem /usr/src/RPM/BUILD/vtk-9.0.1/BUILD/ThirdParty/glew -isystem /usr/src/RPM/BUILD/vtk-9.0.1/ThirdParty/glew -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/gsl -DHAVE_SYS_TIME_H -DHAVE_SYS_TYPES_H -DHAVE_SYS_SOCKET_H -D__USE_LARGEFILE64 -DH5_HAVE_SIGSETJMP -D__USE_POSIX -DH5_HAVE_SETJMP_H -g -Wnon-virtual-dtor -Wno-long-long -ansi -Wcast-align -Wchar-subscripts -Wall -Wextra -Wpointer-arith -Wformat-security -Woverloaded-virtual -Wshadow -Wunused-parameter -fno-check-new -fno-common -Werror=undef -Werror=return-type -fPIC -fvisibility=hidden -fvisibility-inlines-hidden -std=c++11 -o CMakeFiles/RenderingOpenGL2.dir/vtkRenderingOpenGL2ObjectFactory.cxx.o -c /usr/src/RPM/BUILD/vtk-9.0.1/BUILD/Rendering/OpenGL2/vtkRenderingOpenGL2ObjectFactory.cxx
And here are files:
```
$ cat /usr/src/RPM/BUILD/vtk-9.0.1/BUILD/Rendering/OpenGL2/vtkRenderingOpenGL2Module.h
#ifndef VTKRENDERINGOPENGL2_EXPORT_H
#define VTKRENDERINGOPENGL2_EXPORT_H
#ifdef VTKRENDERINGOPENGL2_STATIC_DEFINE
# define VTKRENDERINGOPENGL2_EXPORT
# define VTKRENDERINGOPENGL2_NO_EXPORT
#else
# ifndef VTKRENDERINGOPENGL2_EXPORT
# ifdef RenderingOpenGL2_EXPORTS
/* We are building this library */
# define VTKRENDERINGOPENGL2_EXPORT __attribute__((visibility("default")))
# else
/* We are using this library */
# define VTKRENDERINGOPENGL2_EXPORT __attribute__((visibility("default")))
# endif
# endif
# ifndef VTKRENDERINGOPENGL2_NO_EXPORT
# define VTKRENDERINGOPENGL2_NO_EXPORT __attribute__((visibility("hidden")))
# endif
#endif
#ifndef VTKRENDERINGOPENGL2_DEPRECATED
# define VTKRENDERINGOPENGL2_DEPRECATED __attribute__ ((__deprecated__))
#endif
#ifndef VTKRENDERINGOPENGL2_DEPRECATED_EXPORT
# define VTKRENDERINGOPENGL2_DEPRECATED_EXPORT VTKRENDERINGOPENGL2_EXPORT VTKRENDERINGOPENGL2_DEPRECATED
#endif
#ifndef VTKRENDERINGOPENGL2_DEPRECATED_NO_EXPORT
# define VTKRENDERINGOPENGL2_DEPRECATED_NO_EXPORT VTKRENDERINGOPENGL2_NO_EXPORT VTKRENDERINGOPENGL2_DEPRECATED
#endif
#if 0 /* DEFINE_NO_DEPRECATED */
# ifndef VTKRENDERINGOPENGL2_NO_DEPRECATED
# define VTKRENDERINGOPENGL2_NO_DEPRECATED
# endif
#endif
/* AutoInit dependencies. */
#include "vtkRenderingCoreModule.h"
#include "vtkRenderingUIModule.h"
/* AutoInit implementations. */
#ifdef vtkRenderingOpenGL2_AUTOINIT_INCLUDE
#include vtkRenderingOpenGL2_AUTOINIT_INCLUDE
#endif
#ifdef vtkRenderingOpenGL2_AUTOINIT
#include "vtkAutoInit.h"
VTK_MODULE_AUTOINIT(vtkRenderingOpenGL2)
#endif
#endif /* VTKRENDERINGOPENGL2_EXPORT_H */
$ cat /usr/src/RPM/BUILD/vtk-9.0.1/BUILD/CMakeFiles/vtkModuleAutoInit_4e7408e0d020c0bc0cc5c2b2e46c90a4.h
#define vtkRenderingCore_AUTOINIT 1(vtkRenderingUI)
```
It looks like file vtkRenderingOpenGL2Module.h expects to have **vtkRenderingOpenGL2_AUTOINIT_INCLUDE** and **vtkRenderingOpenGL2_AUTOINIT** defined, but during build **vtkRenderingCore_AUTOINIT_INCLUDE** is defined, and it points to file defining **vtkRenderingCore_AUTOINIT**.https://gitlab.kitware.com/vtk/vtk/-/issues/18223Synchronize `__init__.py` version number with the wheel build logic2021-05-27T11:45:37-04:00Ben BoeckelSynchronize `__init__.py` version number with the wheel build logic!8006 added `.dev` information to the version for wheels. We should sync this up with the logic in `__init__.py` at some point.
- [ ] @dgobbi started a [discussion](https://gitlab.kitware.com/vtk/vtk/-/merge_requests/8006#note_960318): ...!8006 added `.dev` information to the version for wheels. We should sync this up with the logic in `__init__.py` at some point.
- [ ] @dgobbi started a [discussion](https://gitlab.kitware.com/vtk/vtk/-/merge_requests/8006#note_960318): (+1 comment)
> The versioning scheme looks good to me, [`__init__.py`](https://gitlab.kitware.com/vtk/vtk/-/blob/22d5cd93/Wrapping/Python/vtkmodules/__init__.py.in#L58) will have to be synchronized with this at some point.https://gitlab.kitware.com/vtk/vtk/-/issues/18226gitlab-ci: harmonize with other Kitware project setups2021-05-28T15:25:57-04:00Ben Boeckelgitlab-ci: harmonize with other Kitware project setupsThe CI setup in VTK-m is slightly different from other Kitware projects. Of particular note, the machine setup is completely different. It is getting more and more difficult to maintain the machines since they have all kinds of exception...The CI setup in VTK-m is slightly different from other Kitware projects. Of particular note, the machine setup is completely different. It is getting more and more difficult to maintain the machines since they have all kinds of exceptions on them. We (@brad.king and I) would like to reinstall these machines and sync them up with the rest of our machine setups:
- [ ] abeth
- [ ] renar
- [ ] umbra
In addition, there are machines still running buildbot jobs:
- [ ] dragnipur
- [ ] osheim
that would be also end up being reinstalled (though their other builds would need converted into CI jobs, mainly DIY).
Also of note is that macOS and Windows machines *only* contain:
- Git installation (with `git-lfs`)
- macOS only
- Xcode (macOS only)
- Windows only
- Visual Studio (and relevant toolchains)
- CUDA/NVIDIA drivers
- `sccache` binaries
- MSMPI (if needed for a project)
Everything else (including CMake and `ninja`) should be downloaded during the CI job so as to avoid having to juggle lots of software installation across many eligible machines.
Full task list:
- Use existing CI machines for existing CI jobs
- [ ] requires using [the same tagging strategy](https://gitlab.kitware.com/utils/ci-base-images/-/blob/master/doc/tags.md) used on the rest of the fleet
- Linux
- [ ] add NVIDIA hardware tags to existing machines
- [ ] disable VTK-m Linux runners to ensure jobs work on the temporary machines
- [ ] reinstall VTK-m Linux CI machines
- Add temporary runners for macOS and Windows to existing machines
- macOS
- [ ] `tunja`
- Windows
- [ ] `bop`
- [ ] `pol`
- Migrate Buildbot configurations to CI jobs
- [ ] `dragnipur-release` (macOS)
- [ ] `dragnipur-debug` (macOS)
- [ ] `osheim-release` (Windows)
- [ ] `osheim-debug` (Windows)
Cc: @vboleahttps://gitlab.kitware.com/vtk/vtk/-/issues/18265Fails to build against HDF5 1.12.12021-08-26T07:57:47-04:00Bruno PaganiFails to build against HDF5 1.12.1There is a build failure when building against HDF5 1.12.1 that comes from https://gitlab.kitware.com/vtk/vtk/-/blob/master/ThirdParty/xdmf3/vtkxdmf3/core/XdmfHDF5Controller.hpp.
I’ve opened an issue at https://gitlab.kitware.com/xdmf/x...There is a build failure when building against HDF5 1.12.1 that comes from https://gitlab.kitware.com/vtk/vtk/-/blob/master/ThirdParty/xdmf3/vtkxdmf3/core/XdmfHDF5Controller.hpp.
I’ve opened an issue at https://gitlab.kitware.com/xdmf/xdmf/-/issues/28, hopefully this is the correct way for this kind of issues.Ben BoeckelBen Boeckelhttps://gitlab.kitware.com/vtk/vtk/-/issues/18291Newest FindMPI incompatible with cmake < 3.182021-08-30T16:46:51-04:00David GobbiNewest FindMPI incompatible with cmake < 3.18The FindMPI patch in !8322 causes config errors with cmake 3.16 when `VTK_USE_MPI` is enabled:
```
CMake error at CMakeFiles/CMakeTmp/CMakeLists.txt:20 (target_link_libraries):
Error evaluating generator expression:
$<HOST_LINK:SHE...The FindMPI patch in !8322 causes config errors with cmake 3.16 when `VTK_USE_MPI` is enabled:
```
CMake error at CMakeFiles/CMakeTmp/CMakeLists.txt:20 (target_link_libraries):
Error evaluating generator expression:
$<HOST_LINK:SHELL:-pthread>
Expression did not evaluate to a known generator expression
CMake Error at CMake/patches/3.22/FindMPI.cmake:1266 (try_compile):
Failed to generate test project build system.
Call Stack (most recent call first):
CMake/patches/3.22/FindMPI.cmake:1317 (_MPI_try_staged_settings)
CMake/patches/3.22/FindMPI.cmake:1607 (_MPI_check_lang_works)
CMake/vtkModule.cmake:4360 (find_package)
CMake/vtkModule.cmake:4960 (vtk_module_find_package)
Utilities/MPI/CMakeLists.txt:1 (vtk_module_third_party_external)
```
Currently, VTK is targeting compatibility with cmake 3.12 and above.Ben BoeckelBen Boeckelhttps://gitlab.kitware.com/vtk/vtk/-/issues/18296compilation fails with stable fmt2021-09-13T02:41:51-04:00Julien Schuellercompilation fails with stable fmtwith gcc compilation fails with external fmt 8.0.1 (VTK_MODULE_USE_EXTERNAL_VTK_fmt=OFF)
```
vtkPVStringFormatter.h:153:9: error: use of deleted function ‘fmt::v8::dynamic_format_arg_store<fmt::v8::basic_format_context<fmt::v8::appender,...with gcc compilation fails with external fmt 8.0.1 (VTK_MODULE_USE_EXTERNAL_VTK_fmt=OFF)
```
vtkPVStringFormatter.h:153:9: error: use of deleted function ‘fmt::v8::dynamic_format_arg_store<fmt::v8::basic_format_context<fmt::v8::appender, char> >::dynamic_format_arg_store(const fmt::v8::dynamic_format_arg_store<fmt::v8::basic_format_context<fmt::v8::appender, char> >&)’
153 | : Args(args.Args)
| ^~~~~~~~~~~~~~~
```
is this a known issue ? is this an upstream issue ? seems the bundled one is some git version
cc @cory.quammen as you updated it lasthttps://gitlab.kitware.com/vtk/vtk/-/issues/18299vtk-config do not export vtkOpenGLOptions variables2022-07-26T12:18:02-04:00Paul Lafoixvtk-config do not export vtkOpenGLOptions variablesWhen using an external vtk, the variables VTK_CAN_DO_ONSCREEN or VTK_DEFAULT_RENDER_WINDOW_OFFSCREEN are not exportedWhen using an external vtk, the variables VTK_CAN_DO_ONSCREEN or VTK_DEFAULT_RENDER_WINDOW_OFFSCREEN are not exported9.1https://gitlab.kitware.com/vtk/vtk/-/issues/18310H5detect vs H5Tinit.c dependency problem2021-09-23T15:32:40-04:00David GobbiH5detect vs H5Tinit.c dependency problemSystem: macOS 10.15, cmake 3.13.2, GNU make 3.81, VTK master from Sept 15, 2021
Doing a "Makefile" build (-j 1) of VTK generated this error:
```text
No rule to make target 'ThirdParty/hdf5/vtkhdf5/src/H5Tinit.c'
```
The build continued ...System: macOS 10.15, cmake 3.13.2, GNU make 3.81, VTK master from Sept 15, 2021
Doing a "Makefile" build (-j 1) of VTK generated this error:
```text
No rule to make target 'ThirdParty/hdf5/vtkhdf5/src/H5Tinit.c'
```
The build continued after I forced H5detect to build:
```bash
make H5detect
make
```
I haven't dug very deep into this, but the following code block [(line 1084 in ThirdParty/hdf5/vtkhdf5/src/CMakeLists.txt)](https://gitlab.kitware.com/vtk/vtk/-/blob/7591e63b/ThirdParty/hdf5/vtkhdf5/src/CMakeLists.txt#L1084) seems to be implicated:
```cmake
add_custom_command (TARGET H5detect POST_BUILD
COMMAND ${CMAKE_CROSSCOMPILING_EMULATOR} $<TARGET_FILE:H5detect>
ARGS H5Tinit.c
BYPRODUCTS H5Tinit.c gen_SRCS.stamp1
COMMAND ${CMAKE_COMMAND}
ARGS -E touch gen_SRCS.stamp1
DEPENDS H5detect
WORKING_DIRECTORY ${HDF5_GENERATED_SOURCE_DIR}
COMMENT "Create H5Tinit.c"
)
```
Perhaps the problem is the use of "BYPRODUCTS" with no "OUTPUT" with the Makefile generator?
There seem to be similar dependency issues with `H5lib_settings.c` and `H5make_libsettings`. In that case, the workaround was this:
```
make H5make_libsettings
```Ben BoeckelBen Boeckelhttps://gitlab.kitware.com/vtk/vtk/-/issues/18343Config failure for python static build2021-10-28T18:10:25-04:00David GobbiConfig failure for python static buildOn ubuntu 20.04, the following config gives an error for the current release head:
```bash
cmake -G Ninja ../vtk-gitlab -DCMAKE_BUILD_TYPE=Release -DBUILD_SHARED_LIBS=OFF \
-DVTK_BUILD_TESTING=OFF -DVTK_PYTHON_VERSION=3 -DVTK_WRAP...On ubuntu 20.04, the following config gives an error for the current release head:
```bash
cmake -G Ninja ../vtk-gitlab -DCMAKE_BUILD_TYPE=Release -DBUILD_SHARED_LIBS=OFF \
-DVTK_BUILD_TESTING=OFF -DVTK_PYTHON_VERSION=3 -DVTK_WRAP_PYTHON=ON
```
```text
CMake Error at CMake/vtkModuleWrapPython.cmake:987 (target_link_libraries):
INTERFACE library can only be used with the INTERFACE keyword of
target_link_libraries
```
The cmake code in question:
```cmake
if (_vtk_python_UTILITY_TARGET)
target_link_libraries("${_vtk_python_TARGET_NAME}"
PRIVATE
"${_vtk_python_UTILITY_TARGET}")
endif ()
```
Tested with cmake 3.16.3 and with 3.21, both produced the same error.9.1Ben BoeckelBen Boeckelhttps://gitlab.kitware.com/vtk/vtk/-/issues/18366External rapidjson?2022-03-23T08:31:40-04:00Bruno PaganiExternal rapidjson?Since fides seems to allow it, I’ve tried to build with `-DFIDES_USE_EXTERNAL_RAPIDJSON=ON`. However it fails as such:
```
CMake Error at CMake/vtkModule.cmake:3530 (add_library):
Target "fides" links to target "RapidJSON::RapidJSON" b...Since fides seems to allow it, I’ve tried to build with `-DFIDES_USE_EXTERNAL_RAPIDJSON=ON`. However it fails as such:
```
CMake Error at CMake/vtkModule.cmake:3530 (add_library):
Target "fides" links to target "RapidJSON::RapidJSON" but the target was
not found. Perhaps a find_package() call is missing for an IMPORTED
target, or an ALIAS target is missing?
Call Stack (most recent call first):
ThirdParty/fides/vtkfides/fides/CMakeLists.txt:42 (vtk_module_add_module)
```
Not sure what the issue is exactly, this is beyond my knowledge of CMake.Ben BoeckelBen Boeckelhttps://gitlab.kitware.com/vtk/vtk/-/issues/18367External zfp?2023-04-24T09:35:04-04:00Bruno PaganiExternal zfp?`-DVTK_USE_EXTERNAL=ON` does not set `-DVTK_MODULE_USE_EXTERNAL_VTK_zfp=ON`, which is not a recognized variable anyway. Even setting directly `-DVTK_MODULE_USE_EXTERNAL_vtkzfp=ON` seems without any effect. I guess this is because https:/...`-DVTK_USE_EXTERNAL=ON` does not set `-DVTK_MODULE_USE_EXTERNAL_VTK_zfp=ON`, which is not a recognized variable anyway. Even setting directly `-DVTK_MODULE_USE_EXTERNAL_vtkzfp=ON` seems without any effect. I guess this is because https://gitlab.kitware.com/vtk/vtk/-/blob/master/ThirdParty/zfp/CMakeLists.txt has the `_internal` suffix, but not sure why this is that way.https://gitlab.kitware.com/vtk/vtk/-/issues/18379VTK 9.1.0 does not compile with Qt52022-01-10T05:28:03-05:00Billy AraujoVTK 9.1.0 does not compile with Qt5GUISupport/QtQuick/QQuickVTKInteractorAdapter.cxx does not compile with Qt5.11.2.
```
//-------------------------------------------------------------------------------------------------
void QQuickVTKInteractorAdapter::QueueWheelEvent(...GUISupport/QtQuick/QQuickVTKInteractorAdapter.cxx does not compile with Qt5.11.2.
```
//-------------------------------------------------------------------------------------------------
void QQuickVTKInteractorAdapter::QueueWheelEvent(QQuickItem* item, QWheelEvent* e)
{
QPointF p, gp;
#if QT_VERSION >= QT_VERSION_CHECK(5, 14, 0)
p = e->position();
gp = e->globalPosition();
#else
p = e->posF();
gp = e->globalPosF();
#endif
QWheelEvent* newEvent = new QWheelEvent(this->mapEventPosition(item, p),
this->mapEventPosition(item, gp), e->pixelDelta(), e->angleDelta(), e->buttons(),
e->modifiers(), e->phase(), e->inverted(), e->source());
QueueEvent(newEvent);
}
```
This seems to only work for Qt 6 as this is the signature of the new constructor.
`QWheelEvent(const QPointF &pos, const QPointF &globalPos, QPoint pixelDelta, QPoint angleDelta, Qt::MouseButtons buttons, Qt::KeyboardModifiers modifiers, Qt::ScrollPhase phase, bool inverted, Qt::MouseEventSource source = Qt::MouseEventNotSynthesized, const QPointingDevice *device = QPointingDevice::primaryPointingDevice())`
In Qt 5 it was:
`QWheelEvent(const QPointF &pos, const QPointF &globalPos, QPoint pixelDelta, QPoint angleDelta, int qt4Delta, Qt::Orientation qt4Orientation, Qt::MouseButtons buttons, Qt::KeyboardModifiers modifiers, Qt::ScrollPhase phase, Qt::MouseEventSource source, bool inverted)`
So I doubt this compiles on any Qt5 version. All VTK compiles on Qt5 except for this line so this should be fixed as many people are not using Qt6.
Also shouldn't this type of thing be caught by the CI system? Doesn't it build and test with Qt5 and Qt6?https://gitlab.kitware.com/vtk/vtk/-/issues/183919.1.0: Fails to build: ThirdParty/hdf5/vtkhdf5/src/H5make_libsettings.c inclu...2021-11-23T12:38:42-05:00yurivict9.1.0: Fails to build: ThirdParty/hdf5/vtkhdf5/src/H5make_libsettings.c includes sys/file.h which isn't defined by POSIX-1.2008 but is compiled with -D_POSIX_C_SOURCE=200809LThis command fails:
> /usr/bin/cc -D_POSIX_C_SOURCE=200809L -I/disk-samsung/freebsd-ports/math/vtk9/work/VTK-9.1.0/ThirdParty/hdf5/vtkhdf5/src -I/disk-samsung/freebsd-ports/math/vtk9/work/.build/ThirdParty/hdf5/vtkhdf5/src -std=c99 -O2 -...This command fails:
> /usr/bin/cc -D_POSIX_C_SOURCE=200809L -I/disk-samsung/freebsd-ports/math/vtk9/work/VTK-9.1.0/ThirdParty/hdf5/vtkhdf5/src -I/disk-samsung/freebsd-ports/math/vtk9/work/.build/ThirdParty/hdf5/vtkhdf5/src -std=c99 -O2 -pipe -fno-omit-frame-pointer -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing -O2 -pipe -fno-omit-frame-pointer -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing -fPIE -std=gnu99 -MD -MT ThirdParty/hdf5/vtkhdf5/src/CMakeFiles/H5make_libsettings.dir/H5make_libsettings.c.o -c /disk-samsung/freebsd-ports/math/vtk9/work/VTK-9.1.0/ThirdParty/hdf5/vtkhdf5/src/H5make_libsettings.c
```
/usr/include/sys/file.h:233:2: error: unknown type name 'u_int'
u_int xf_flag; /* flags (see fcntl.h) */
^
1 error generated.
```
Downstream bug report: https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=259975
Version: 9.1.0
OS: FreeBSD 13https://gitlab.kitware.com/vtk/vtk/-/issues/18394Parallel build issue2021-11-29T11:45:30-05:00Orion PoplawskiParallel build issueTrying to build VTK 9.1.0 for Fedora I'm getting the following build failure:
```
Wrapping/Java/CMakeFiles/vtkInteractionWidgetsJava.dir/build.make:3236: warning: overriding recipe for target 'Wrapping/Java/CMakeFiles/vtkInteractionWidge...Trying to build VTK 9.1.0 for Fedora I'm getting the following build failure:
```
Wrapping/Java/CMakeFiles/vtkInteractionWidgetsJava.dir/build.make:3236: warning: overriding recipe for target 'Wrapping/Java/CMakeFiles/vtkInteractionWidgetsJava.dir/CMakeFiles/vtkInteractionWidgetsJava/vtkTexturedButtonRepresentation2DJava.cxx.o'
Wrapping/Java/CMakeFiles/vtkInteractionWidgetsJava.dir/build.make:3228: warning: ignoring old recipe for target 'Wrapping/Java/CMakeFiles/vtkInteractionWidgetsJava.dir/CMakeFiles/vtkInteractionWidgetsJava/vtkTexturedButtonRepresentation2DJava.cxx.o'
```
```
/usr/bin/g++ -fPIC -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -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 -D_UNICODE -DHAVE_UINTPTR_T -g -Wl,-lc -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -shared -Wl,-soname,libvtkInteractionWidgetsJava.so -o ../../lib/vtk/libvtkInteractionWidgetsJava.so CMakeFiles/vtkInteractionWidgetsJava.dir/CMakeFiles/vtkInteractionWidgetsJava/vtk3DWidgetJava.cxx.o CMakeFiles/vtkInteractionWidgetsJava.dir/CMakeFiles/vtkInteractionWidgetsJava/vtkAbstractPolygonalHandleRepresentation3DJava.cxx.o CMakeFiles/vtkInteractionWidgetsJava.dir/CMakeFiles/vtkInteractionWidgetsJava/vtkAbstractSplineRepresentationJava.cxx.o CMakeFiles/vtkInteractionWidgetsJava.dir/CMakeFiles/vtkInteractionWidgetsJava/vtkAbstractWidgetJava.cxx.o CMakeFiles/vtkInteractionWidgetsJava.dir/CMakeFiles/vtkInteractionWidgetsJava/vtkAffineRepresentationJava.cxx.o CMakeFiles/vtkInteractionWidgetsJava.dir/CMakeFiles/vtkInteractionWidgetsJava/vtkAffineRepresentation2DJava.cxx.o CMakeFiles/vtkInteractionWidgetsJava.dir/CMakeFiles/vtkInteractionWidgetsJava/vtkAffineWidgetJava.cxx.o CMakeFiles/vtkInteractionWidgetsJava.dir/CMakeFiles/vtkInteractionWidgetsJava/vtkAngleRepresentationJava.cxx.o CMakeFiles/vtkInteractionWidgetsJava.dir/CMakeFiles/vtkInteractionWidgetsJava/vtkAngleRepresentation2DJava.cxx.o CMakeFiles/vtkInteractionWidgetsJava.dir/CMakeFiles/vtkInteractionWidgetsJava/vtkAngleRepresentation3DJava.cxx.o CMakeFiles/vtkInteractionWidgetsJava.dir/CMakeFiles/vtkInteractionWidgetsJava/vtkAngleWidgetJava.cxx.o CMakeFiles/vtkInteractionWidgetsJava.dir/CMakeFiles/vtkInteractionWidgetsJava/vtkAxesTransformRepresentationJava.cxx.o CMakeFiles/vtkInteractionWidgetsJava.dir/CMakeFiles/vtkInteractionWidgetsJava/vtkAxesTransformWidgetJava.cxx.o CMakeFiles/vtkInteractionWidgetsJava.dir/CMakeFiles/vtkInteractionWidgetsJava/vtkBalloonRepresentationJava.cxx.o CMakeFiles/vtkInteractionWidgetsJava.dir/CMakeFiles/vtkInteractionWidgetsJava/vtkBalloonWidgetJava.cxx.o CMakeFiles/vtkInteractionWidgetsJava.dir/CMakeFiles/vtkInteractionWidgetsJava/vtkBezierContourLineInterpolatorJava.cxx.o CMakeFiles/vtkInteractionWidgetsJava.dir/CMakeFiles/vtkInteractionWidgetsJava/vtkBiDimensionalRepresentationJava.cxx.o CMakeFiles/vtkInteractionWidgetsJava.dir/CMakeFiles/vtkInteractionWidgetsJava/vtkBiDimensionalRepresentation2DJava.cxx.o CMakeFiles/vtkInteractionWidgetsJava.dir/CMakeFiles/vtkInteractionWidgetsJava/vtkBiDimensionalWidgetJava.cxx.o CMakeFiles/vtkInteractionWidgetsJava.dir/CMakeFiles/vtkInteractionWidgetsJava/vtkBorderRepresentationJava.cxx.o CMakeFiles/vtkInteractionWidgetsJava.dir/CMakeFiles/vtkInteractionWidgetsJava/vtkBorderWidgetJava.cxx.o CMakeFiles/vtkInteractionWidgetsJava.dir/CMakeFiles/vtkInteractionWidgetsJava/vtkBoundedPlanePointPlacerJava.cxx.o CMakeFiles/vtkInteractionWidgetsJava.dir/CMakeFiles/vtkInteractionWidgetsJava/vtkBoxRepresentationJava.cxx.o CMakeFiles/vtkInteractionWidgetsJava.dir/CMakeFiles/vtkInteractionWidgetsJava/vtkBoxWidgetJava.cxx.o CMakeFiles/vtkInteractionWidgetsJava.dir/CMakeFiles/vtkInteractionWidgetsJava/vtkBoxWidget2Java.cxx.o CMakeFiles/vtkInteractionWidgetsJava.dir/CMakeFiles/vtkInteractionWidgetsJava/vtkBrokenLineWidgetJava.cxx.o CMakeFiles/vtkInteractionWidgetsJava.dir/CMakeFiles/vtkInteractionWidgetsJava/vtkButtonRepresentationJava.cxx.o CMakeFiles/vtkInteractionWidgetsJava.dir/CMakeFiles/vtkInteractionWidgetsJava/vtkButtonWidgetJava.cxx.o CMakeFiles/vtkInteractionWidgetsJava.dir/CMakeFiles/vtkInteractionWidgetsJava/vtkCameraHandleSourceJava.cxx.o CMakeFiles/vtkInteractionWidgetsJava.dir/CMakeFiles/vtkInteractionWidgetsJava/vtkCameraOrientationWidgetJava.cxx.o CMakeFiles/vtkInteractionWidgetsJava.dir/CMakeFiles/vtkInteractionWidgetsJava/vtkCameraOrientationRepresentationJava.cxx.o CMakeFiles/vtkInteractionWidgetsJava.dir/CMakeFiles/vtkInteractionWidgetsJava/vtkCameraPathRepresentationJava.cxx.o CMakeFiles/vtkInteractionWidgetsJava.dir/CMakeFiles/vtkInteractionWidgetsJava/vtkCameraPathWidgetJava.cxx.o CMakeFiles/vtkInteractionWidgetsJava.dir/CMakeFiles/vtkInteractionWidgetsJava/vtkCameraRepresentationJava.cxx.o CMakeFiles/vtkInteractionWidgetsJava.dir/CMakeFiles/vtkInteractionWidgetsJava/vtkCameraWidgetJava.cxx.o CMakeFiles/vtkInteractionWidgetsJava.dir/CMakeFiles/vtkInteractionWidgetsJava/vtkCaptionRepresentationJava.cxx.o CMakeFiles/vtkInteractionWidgetsJava.dir/CMakeFiles/vtkInteractionWidgetsJava/vtkCaptionWidgetJava.cxx.o CMakeFiles/vtkInteractionWidgetsJava.dir/CMakeFiles/vtkInteractionWidgetsJava/vtkCellCentersPointPlacerJava.cxx.o CMakeFiles/vtkInteractionWidgetsJava.dir/CMakeFiles/vtkInteractionWidgetsJava/vtkCenteredSliderRepresentationJava.cxx.o CMakeFiles/vtkInteractionWidgetsJava.dir/CMakeFiles/vtkInteractionWidgetsJava/vtkCenteredSliderWidgetJava.cxx.o CMakeFiles/vtkInteractionWidgetsJava.dir/CMakeFiles/vtkInteractionWidgetsJava/vtkCheckerboardRepresentationJava.cxx.o CMakeFiles/vtkInteractionWidgetsJava.dir/CMakeFiles/vtkInteractionWidgetsJava/vtkCheckerboardWidgetJava.cxx.o CMakeFiles/vtkInteractionWidgetsJava.dir/CMakeFiles/vtkInteractionWidgetsJava/vtkClosedSurfacePointPlacerJava.cxx.o CMakeFiles/vtkInteractionWidgetsJava.dir/CMakeFiles/vtkInteractionWidgetsJava/vtkConstrainedPointHandleRepresentationJava.cxx.o CMakeFiles/vtkInteractionWidgetsJava.dir/CMakeFiles/vtkInteractionWidgetsJava/vtkContinuousValueWidgetJava.cxx.o CMakeFiles/vtkInteractionWidgetsJava.dir/CMakeFiles/vtkInteractionWidgetsJava/vtkContinuousValueWidgetRepresentationJava.cxx.o CMakeFiles/vtkInteractionWidgetsJava.dir/CMakeFiles/vtkInteractionWidgetsJava/vtkContourLineInterpolatorJava.cxx.o CMakeFiles/vtkInteractionWidgetsJava.dir/CMakeFiles/vtkInteractionWidgetsJava/vtkContourRepresentationJava.cxx.o CMakeFiles/vtkInteractionWidgetsJava.dir/CMakeFiles/vtkInteractionWidgetsJava/vtkContourWidgetJava.cxx.o CMakeFiles/vtkInteractionWidgetsJava.dir/CMakeFiles/vtkInteractionWidgetsJava/vtkCurveRepresentationJava.cxx.o CMakeFiles/vtkInteractionWidgetsJava.dir/CMakeFiles/vtkInteractionWidgetsJava/vtkDijkstraImageContourLineInterpolatorJava.cxx.o CMakeFiles/vtkInteractionWidgetsJava.dir/CMakeFiles/vtkInteractionWidgetsJava/vtkDistanceRepresentationJava.cxx.o CMakeFiles/vtkInteractionWidgetsJava.dir/CMakeFiles/vtkInteractionWidgetsJava/vtkDistanceRepresentation2DJava.cxx.o CMakeFiles/vtkInteractionWidgetsJava.dir/CMakeFiles/vtkInteractionWidgetsJava/vtkDistanceRepresentation3DJava.cxx.o CMakeFiles/vtkInteractionWidgetsJava.dir/CMakeFiles/vtkInteractionWidgetsJava/vtkDistanceWidgetJava.cxx.o CMakeFiles/vtkInteractionWidgetsJava.dir/CMakeFiles/vtkInteractionWidgetsJava/vtkEllipsoidTensorProbeRepresentationJava.cxx.o CMakeFiles/vtkInteractionWidgetsJava.dir/CMakeFiles/vtkInteractionWidgetsJava/vtkEqualizerContextItemJava.cxx.o CMakeFiles/vtkInteractionWidgetsJava.dir/CMakeFiles/vtkInteractionWidgetsJava/vtkEventJava.cxx.o CMakeFiles/vtkInteractionWidgetsJava.dir/CMakeFiles/vtkInteractionWidgetsJava/vtkFinitePlaneRepresentationJava.cxx.o CMakeFiles/vtkInteractionWidgetsJava.dir/CMakeFiles/vtkInteractionWidgetsJava/vtkFinitePlaneWidgetJava.cxx.o CMakeFiles/vtkInteractionWidgetsJava.dir/CMakeFiles/vtkInteractionWidgetsJava/vtkFixedSizeHandleRepresentation3DJava.cxx.o CMakeFiles/vtkInteractionWidgetsJava.dir/CMakeFiles/vtkInteractionWidgetsJava/vtkFocalPlaneContourRepresentationJava.cxx.o CMakeFiles/vtkInteractionWidgetsJava.dir/CMakeFiles/vtkInteractionWidgetsJava/vtkFocalPlanePointPlacerJava.cxx.o CMakeFiles/vtkInteractionWidgetsJava.dir/CMakeFiles/vtkInteractionWidgetsJava/vtkHandleRepresentationJava.cxx.o CMakeFiles/vtkInteractionWidgetsJava.dir/CMakeFiles/vtkInteractionWidgetsJava/vtkHandleWidgetJava.cxx.o CMakeFiles/vtkInteractionWidgetsJava.dir/CMakeFiles/vtkInteractionWidgetsJava/vtkHoverWidgetJava.cxx.o CMakeFiles/vtkInteractionWidgetsJava.dir/CMakeFiles/vtkInteractionWidgetsJava/vtkImageActorPointPlacerJava.cxx.o CMakeFiles/vtkInteractionWidgetsJava.dir/CMakeFiles/vtkInteractionWidgetsJava/vtkImageCroppingRegionsWidgetJava.cxx.o CMakeFiles/vtkInteractionWidgetsJava.dir/CMakeFiles/vtkInteractionWidgetsJava/vtkImageOrthoPlanesJava.cxx.o CMakeFiles/vtkInteractionWidgetsJava.dir/CMakeFiles/vtkInteractionWidgetsJava/vtkImagePlaneWidgetJava.cxx.o CMakeFiles/vtkInteractionWidgetsJava.dir/CMakeFiles/vtkInteractionWidgetsJava/vtkImageTracerWidgetJava.cxx.o CMakeFiles/vtkInteractionWidgetsJava.dir/CMakeFiles/vtkInteractionWidgetsJava/vtkImplicitCylinderRepresentationJava.cxx.o CMakeFiles/vtkInteractionWidgetsJava.dir/CMakeFiles/vtkInteractionWidgetsJava/vtkImplicitCylinderWidgetJava.cxx.o CMakeFiles/vtkInteractionWidgetsJava.dir/CMakeFiles/vtkInteractionWidgetsJava/vtkImplicitImageRepresentationJava.cxx.o CMakeFiles/vtkInteractionWidgetsJava.dir/CMakeFiles/vtkInteractionWidgetsJava/vtkImplicitPlaneRepresentationJava.cxx.o CMakeFiles/vtkInteractionWidgetsJava.dir/CMakeFiles/vtkInteractionWidgetsJava/vtkImplicitPlaneWidgetJava.cxx.o CMakeFiles/vtkInteractionWidgetsJava.dir/CMakeFiles/vtkInteractionWidgetsJava/vtkImplicitPlaneWidget2Java.cxx.o CMakeFiles/vtkInteractionWidgetsJava.dir/CMakeFiles/vtkInteractionWidgetsJava/vtkLightRepresentationJava.cxx.o CMakeFiles/vtkInteractionWidgetsJava.dir/CMakeFiles/vtkInteractionWidgetsJava/vtkLightWidgetJava.cxx.o CMakeFiles/vtkInteractionWidgetsJava.dir/CMakeFiles/vtkInteractionWidgetsJava/vtkLinearContourLineInterpolatorJava.cxx.o CMakeFiles/vtkInteractionWidgetsJava.dir/CMakeFiles/vtkInteractionWidgetsJava/vtkLineRepresentationJava.cxx.o CMakeFiles/vtkInteractionWidgetsJava.dir/CMakeFiles/vtkInteractionWidgetsJava/vtkLineWidgetJava.cxx.o CMakeFiles/vtkInteractionWidgetsJava.dir/CMakeFiles/vtkInteractionWidgetsJava/vtkLineWidget2Java.cxx.o CMakeFiles/vtkInteractionWidgetsJava.dir/CMakeFiles/vtkInteractionWidgetsJava/vtkLogoRepresentationJava.cxx.o CMakeFiles/vtkInteractionWidgetsJava.dir/CMakeFiles/vtkInteractionWidgetsJava/vtkLogoWidgetJava.cxx.o CMakeFiles/vtkInteractionWidgetsJava.dir/CMakeFiles/vtkInteractionWidgetsJava/vtkMagnifierRepresentationJava.cxx.o CMakeFiles/vtkInteractionWidgetsJava.dir/CMakeFiles/vtkInteractionWidgetsJava/vtkMagnifierWidgetJava.cxx.o CMakeFiles/vtkInteractionWidgetsJava.dir/CMakeFiles/vtkInteractionWidgetsJava/vtkMeasurementCubeHandleRepresentation3DJava.cxx.o CMakeFiles/vtkInteractionWidgetsJava.dir/CMakeFiles/vtkInteractionWidgetsJava/vtkOrientationMarkerWidgetJava.cxx.o CMakeFiles/vtkInteractionWidgetsJava.dir/CMakeFiles/vtkInteractionWidgetsJava/vtkOrientedGlyphContourRepresentationJava.cxx.o CMakeFiles/vtkInteractionWidgetsJava.dir/CMakeFiles/vtkInteractionWidgetsJava/vtkOrientedGlyphFocalPlaneContourRepresentationJava.cxx.o CMakeFiles/vtkInteractionWidgetsJava.dir/CMakeFiles/vtkInteractionWidgetsJava/vtkOrientedPolygonalHandleRepresentation3DJava.cxx.o CMakeFiles/vtkInteractionWidgetsJava.dir/CMakeFiles/vtkInteractionWidgetsJava/vtkParallelopipedRepresentationJava.cxx.o CMakeFiles/vtkInteractionWidgetsJava.dir/CMakeFiles/vtkInteractionWidgetsJava/vtkParallelopipedWidgetJava.cxx.o CMakeFiles/vtkInteractionWidgetsJava.dir/CMakeFiles/vtkInteractionWidgetsJava/vtkPlaneWidgetJava.cxx.o CMakeFiles/vtkInteractionWidgetsJava.dir/CMakeFiles/vtkInteractionWidgetsJava/vtkPlaybackRepresentationJava.cxx.o CMakeFiles/vtkInteractionWidgetsJava.dir/CMakeFiles/vtkInteractionWidgetsJava/vtkPlaybackWidgetJava.cxx.o CMakeFiles/vtkInteractionWidgetsJava.dir/CMakeFiles/vtkInteractionWidgetsJava/vtkPointCloudRepresentationJava.cxx.o CMakeFiles/vtkInteractionWidgetsJava.dir/CMakeFiles/vtkInteractionWidgetsJava/vtkPointCloudWidgetJava.cxx.o CMakeFiles/vtkInteractionWidgetsJava.dir/CMakeFiles/vtkInteractionWidgetsJava/vtkPointHandleRepresentation2DJava.cxx.o CMakeFiles/vtkInteractionWidgetsJava.dir/CMakeFiles/vtkInteractionWidgetsJava/vtkPointHandleRepresentation3DJava.cxx.o CMakeFiles/vtkInteractionWidgetsJava.dir/CMakeFiles/vtkInteractionWidgetsJava/vtkPointPlacerJava.cxx.o CMakeFiles/vtkInteractionWidgetsJava.dir/CMakeFiles/vtkInteractionWidgetsJava/vtkPointWidgetJava.cxx.o CMakeFiles/vtkInteractionWidgetsJava.dir/CMakeFiles/vtkInteractionWidgetsJava/vtkPolyDataContourLineInterpolatorJava.cxx.o CMakeFiles/vtkInteractionWidgetsJava.dir/CMakeFiles/vtkInteractionWidgetsJava/vtkPolyDataPointPlacerJava.cxx.o CMakeFiles/vtkInteractionWidgetsJava.dir/CMakeFiles/vtkInteractionWidgetsJava/vtkPolyDataSourceWidgetJava.cxx.o CMakeFiles/vtkInteractionWidgetsJava.dir/CMakeFiles/vtkInteractionWidgetsJava/vtkPolygonalHandleRepresentation3DJava.cxx.o CMakeFiles/vtkInteractionWidgetsJava.dir/CMakeFiles/vtkInteractionWidgetsJava/vtkPolygonalSurfaceContourLineInterpolatorJava.cxx.o CMakeFiles/vtkInteractionWidgetsJava.dir/CMakeFiles/vtkInteractionWidgetsJava/vtkPolygonalSurfacePointPlacerJava.cxx.o CMakeFiles/vtkInteractionWidgetsJava.dir/CMakeFiles/vtkInteractionWidgetsJava/vtkPolyLineRepresentationJava.cxx.o CMakeFiles/vtkInteractionWidgetsJava.dir/CMakeFiles/vtkInteractionWidgetsJava/vtkPolyLineWidgetJava.cxx.o CMakeFiles/vtkInteractionWidgetsJava.dir/CMakeFiles/vtkInteractionWidgetsJava/vtkProgressBarRepresentationJava.cxx.o CMakeFiles/vtkInteractionWidgetsJava.dir/CMakeFiles/vtkInteractionWidgetsJava/vtkProgressBarWidgetJava.cxx.o CMakeFiles/vtkInteractionWidgetsJava.dir/CMakeFiles/vtkInteractionWidgetsJava/vtkProp3DButtonRepresentationJava.cxx.o CMakeFiles/vtkInteractionWidgetsJava.dir/CMakeFiles/vtkInteractionWidgetsJava/vtkRectilinearWipeRepresentationJava.cxx.o CMakeFiles/vtkInteractionWidgetsJava.dir/CMakeFiles/vtkInteractionWidgetsJava/vtkRectilinearWipeWidgetJava.cxx.o CMakeFiles/vtkInteractionWidgetsJava.dir/CMakeFiles/vtkInteractionWidgetsJava/vtkResliceCursorJava.cxx.o CMakeFiles/vtkInteractionWidgetsJava.dir/CMakeFiles/vtkInteractionWidgetsJava/vtkResliceCursorActorJava.cxx.o CMakeFiles/vtkInteractionWidgetsJava.dir/CMakeFiles/vtkInteractionWidgetsJava/vtkResliceCursorLineRepresentationJava.cxx.o CMakeFiles/vtkInteractionWidgetsJava.dir/CMakeFiles/vtkInteractionWidgetsJava/vtkResliceCursorPickerJava.cxx.o CMakeFiles/vtkInteractionWidgetsJava.dir/CMakeFiles/vtkInteractionWidgetsJava/vtkResliceCursorPolyDataAlgorithmJava.cxx.o CMakeFiles/vtkInteractionWidgetsJava.dir/CMakeFiles/vtkInteractionWidgetsJava/vtkResliceCursorRepresentationJava.cxx.o CMakeFiles/vtkInteractionWidgetsJava.dir/CMakeFiles/vtkInteractionWidgetsJava/vtkResliceCursorThickLineRepresentationJava.cxx.o CMakeFiles/vtkInteractionWidgetsJava.dir/CMakeFiles/vtkInteractionWidgetsJava/vtkResliceCursorWidgetJava.cxx.o CMakeFiles/vtkInteractionWidgetsJava.dir/CMakeFiles/vtkInteractionWidgetsJava/vtkScalarBarRepresentationJava.cxx.o CMakeFiles/vtkInteractionWidgetsJava.dir/CMakeFiles/vtkInteractionWidgetsJava/vtkScalarBarWidgetJava.cxx.o CMakeFiles/vtkInteractionWidgetsJava.dir/CMakeFiles/vtkInteractionWidgetsJava/vtkSeedRepresentationJava.cxx.o CMakeFiles/vtkInteractionWidgetsJava.dir/CMakeFiles/vtkInteractionWidgetsJava/vtkSeedWidgetJava.cxx.o CMakeFiles/vtkInteractionWidgetsJava.dir/CMakeFiles/vtkInteractionWidgetsJava/vtkSliderRepresentationJava.cxx.o CMakeFiles/vtkInteractionWidgetsJava.dir/CMakeFiles/vtkInteractionWidgetsJava/vtkSliderRepresentation2DJava.cxx.o CMakeFiles/vtkInteractionWidgetsJava.dir/CMakeFiles/vtkInteractionWidgetsJava/vtkSliderRepresentation3DJava.cxx.o CMakeFiles/vtkInteractionWidgetsJava.dir/CMakeFiles/vtkInteractionWidgetsJava/vtkSliderWidgetJava.cxx.o CMakeFiles/vtkInteractionWidgetsJava.dir/CMakeFiles/vtkInteractionWidgetsJava/vtkSphereHandleRepresentationJava.cxx.o CMakeFiles/vtkInteractionWidgetsJava.dir/CMakeFiles/vtkInteractionWidgetsJava/vtkSphereRepresentationJava.cxx.o CMakeFiles/vtkInteractionWidgetsJava.dir/CMakeFiles/vtkInteractionWidgetsJava/vtkSphereWidgetJava.cxx.o CMakeFiles/vtkInteractionWidgetsJava.dir/CMakeFiles/vtkInteractionWidgetsJava/vtkSphereWidget2Java.cxx.o CMakeFiles/vtkInteractionWidgetsJava.dir/CMakeFiles/vtkInteractionWidgetsJava/vtkSplineRepresentationJava.cxx.o CMakeFiles/vtkInteractionWidgetsJava.dir/CMakeFiles/vtkInteractionWidgetsJava/vtkSplineWidgetJava.cxx.o CMakeFiles/vtkInteractionWidgetsJava.dir/CMakeFiles/vtkInteractionWidgetsJava/vtkSplineWidget2Java.cxx.o CMakeFiles/vtkInteractionWidgetsJava.dir/CMakeFiles/vtkInteractionWidgetsJava/vtkTensorProbeRepresentationJava.cxx.o CMakeFiles/vtkInteractionWidgetsJava.dir/CMakeFiles/vtkInteractionWidgetsJava/vtkTensorProbeWidgetJava.cxx.o CMakeFiles/vtkInteractionWidgetsJava.dir/CMakeFiles/vtkInteractionWidgetsJava/vtkTensorRepresentationJava.cxx.o CMakeFiles/vtkInteractionWidgetsJava.dir/CMakeFiles/vtkInteractionWidgetsJava/vtkTensorWidgetJava.cxx.o CMakeFiles/vtkInteractionWidgetsJava.dir/CMakeFiles/vtkInteractionWidgetsJava/vtkTerrainContourLineInterpolatorJava.cxx.o CMakeFiles/vtkInteractionWidgetsJava.dir/CMakeFiles/vtkInteractionWidgetsJava/vtkTerrainDataPointPlacerJava.cxx.o CMakeFiles/vtkInteractionWidgetsJava.dir/CMakeFiles/vtkInteractionWidgetsJava/vtkTextRepresentationJava.cxx.o CMakeFiles/vtkInteractionWidgetsJava.dir/CMakeFiles/vtkInteractionWidgetsJava/vtkTexturedButtonRepresentationJava.cxx.o CMakeFiles/vtkInteractionWidgetsJava.dir/CMakeFiles/vtkInteractionWidgetsJava/vtkTexturedButtonRepresentation2DJava.cxx.o CMakeFiles/vtkInteractionWidgetsJava.dir/CMakeFiles/vtkInteractionWidgetsJava/vtkTextWidgetJava.cxx.o CMakeFiles/vtkInteractionWidgetsJava.dir/CMakeFiles/vtkInteractionWidgetsJava/vtkWidgetCallbackMapperJava.cxx.o CMakeFiles/vtkInteractionWidgetsJava.dir/CMakeFiles/vtkInteractionWidgetsJava/vtkWidgetEventJava.cxx.o CMakeFiles/vtkInteractionWidgetsJava.dir/CMakeFiles/vtkInteractionWidgetsJava/vtkWidgetEventTranslatorJava.cxx.o CMakeFiles/vtkInteractionWidgetsJava.dir/CMakeFiles/vtkInteractionWidgetsJava/vtkWidgetRepresentationJava.cxx.o CMakeFiles/vtkInteractionWidgetsJava.dir/CMakeFiles/vtkInteractionWidgetsJava/vtkWidgetSetJava.cxx.o CMakeFiles/vtkInteractionWidgetsJava.dir/CMakeFiles/vtkInteractionWidgetsJava/vtkXYPlotWidgetJava.cxx.o CMakeFiles/vtkInteractionWidgetsJava.dir/CMakeFiles/vtkInteractionWidgetsJava/vtkInteractionWidgetsModuleJava.cxx.o -Wl,-rpath,"\$ORIGIN/../:\$ORIGIN:/usr/lib64/openmpi/lib:/usr/lib/jvm/java/lib:/usr/lib/jvm/java/lib/server:" ../../lib/libvtkInteractionWidgets.so.9.1.0 ../../lib/vtk/libvtkFiltersGeneralJava.so ../../lib/vtk/libvtkFiltersSourcesJava.so ../../lib/vtk/libvtkRenderingContext2DJava.so ../../lib/vtk/libvtkRenderingCoreJava.so ../../lib/vtk/libvtkCommonExecutionModelJava.so ../../lib/libvtkRenderingContext2D.so.9.1.0 ../../lib/libvtkRenderingCore.so.9.1.0 ../../lib/libvtkFiltersSources.so.9.1.0 ../../lib/libvtkFiltersGeneral.so.9.1.0 ../../lib/libvtkFiltersCore.so.9.1.0 ../../lib/libvtkCommonExecutionModel.so.9.1.0 ../../lib/libvtkCommonDataModel.so.9.1.0 ../../lib/libvtkCommonMisc.so.9.1.0 ../../lib/libvtkCommonTransforms.so.9.1.0 ../../lib/vtk/libvtkCommonCoreJava.so ../../lib/libvtkJava.so.9.1.0 /usr/lib/jvm/java/lib/libjawt.so /usr/lib/jvm/java/lib/server/libjvm.so ../../lib/libvtkCommonMath.so.9.1.0 ../../lib/libvtkCommonCore.so.9.1.0 ../../lib/libvtksys.so.9.1.0 -ldl ../../lib/libvtkkissfft.so.9.1.0 -Wl,-rpath-link,/builddir/build/BUILD/VTK-9.1.0/build-openmpi/lib:/usr/lib64/openmpi/lib:/builddir/build/BUILD/VTK-9.1.0/build-openmpi/lib/vtk
/usr/bin/ld: cannot find CMakeFiles/vtkInteractionWidgetsJava.dir/CMakeFiles/vtkInteractionWidgetsJava/vtkTexturedButtonRepresentation2DJava.cxx.o: No such file or directory
```
Full build log: https://kojipkgs.fedoraproject.org//work/tasks/6411/79166411/build.log
I'm pretty sure this is arising due to a parallel build issue, but perhaps not. This is with -j6. At the moment I seem to be seeing it only on x86_64 only in one of the mpi builds.Ben BoeckelBen Boeckelhttps://gitlab.kitware.com/vtk/vtk/-/issues/18397[feature suggestion] cmake should print all groups/modules that are enabled o...2021-11-24T07:16:31-05:00yurivict[feature suggestion] cmake should print all groups/modules that are enabled or disabledOtherwise there's no easy visibility of what is being built and what isn't being built.Otherwise there's no easy visibility of what is being built and what isn't being built.https://gitlab.kitware.com/vtk/vtk/-/issues/18399Please check hardware capabilities and fail with a meaningful error message b...2021-11-24T04:59:45-05:00yurivictPlease check hardware capabilities and fail with a meaningful error message before performing OpenGL operations and then failing with a cryptic messageThe f3d project fails with the cryptic error message, see [this message](https://github.com/f3d-app/f3d/issues/80).
Please check upfront that the hardware supports features needed and fail with a descriptive error message.The f3d project fails with the cryptic error message, see [this message](https://github.com/f3d-app/f3d/issues/80).
Please check upfront that the hardware supports features needed and fail with a descriptive error message.https://gitlab.kitware.com/vtk/vtk/-/issues/18400VTK 9.1.0 ninja build failure on ppc64le2021-11-29T08:48:47-05:00Orion PoplawskiVTK 9.1.0 ninja build failure on ppc64leI'm trying switching to the ninja generator to resolve a build failure on x86_64 (see #18394). This results in a build failure on ppc64le not seen with the default make generator:
```
[20437/25379] /usr/bin/javac -classpath /builddir/b...I'm trying switching to the ninja generator to resolve a build failure on x86_64 (see #18394). This results in a build failure on ppc64le not seen with the default make generator:
```
[20437/25379] /usr/bin/javac -classpath /builddir/build/BUILD/VTK-9.1.0/build/share/java/vtk.jar -source 1.7 -target 1.7 /builddir/build/BUILD/VTK-9.1.0/Wrapping/Java/Testing/Java/vtk/test/Regression.java -d Wrapping/Java/Testing/Java/CMakeFiles/vtkjava_tests.dir
FAILED: Wrapping/Java/Testing/Java/CMakeFiles/vtkjava_tests.dir/vtk/test/Regression.class
/usr/bin/javac -classpath /builddir/build/BUILD/VTK-9.1.0/build/share/java/vtk.jar -source 1.7 -target 1.7 /builddir/build/BUILD/VTK-9.1.0/Wrapping/Java/Testing/Java/vtk/test/Regression.java -d Wrapping/Java/Testing/Java/CMakeFiles/vtkjava_tests.dir
warning: [options] bootstrap class path not set in conjunction with -source 7
/builddir/build/BUILD/VTK-9.1.0/Wrapping/Java/Testing/Java/vtk/test/Regression.java:19: error: cannot find symbol
import vtk.vtkActor;
^
symbol: class vtkActor
location: package vtk
/builddir/build/BUILD/VTK-9.1.0/Wrapping/Java/Testing/Java/vtk/test/Regression.java:20: error: cannot find symbol
import vtk.vtkConeSource;
^
symbol: class vtkConeSource
location: package vtk
/builddir/build/BUILD/VTK-9.1.0/Wrapping/Java/Testing/Java/vtk/test/Regression.java:21: error: cannot find symbol
import vtk.vtkImageData;
^
symbol: class vtkImageData
location: package vtk
/builddir/build/BUILD/VTK-9.1.0/Wrapping/Java/Testing/Java/vtk/test/Regression.java:22: error: cannot find symbol
import vtk.vtkImageDifference;
^
symbol: class vtkImageDifference
location: package vtk
/builddir/build/BUILD/VTK-9.1.0/Wrapping/Java/Testing/Java/vtk/test/Regression.java:23: error: cannot find symbol
import vtk.vtkJavaTesting;
^
symbol: class vtkJavaTesting
location: package vtk
/builddir/build/BUILD/VTK-9.1.0/Wrapping/Java/Testing/Java/vtk/test/Regression.java:24: error: cannot find symbol
import vtk.vtkObject;
^
symbol: class vtkObject
location: package vtk
/builddir/build/BUILD/VTK-9.1.0/Wrapping/Java/Testing/Java/vtk/test/Regression.java:25: error: cannot find symbol
import vtk.vtkPNGWriter;
^
symbol: class vtkPNGWriter
location: package vtk
/builddir/build/BUILD/VTK-9.1.0/Wrapping/Java/Testing/Java/vtk/test/Regression.java:26: error: cannot find symbol
import vtk.vtkPolyDataMapper;
^
symbol: class vtkPolyDataMapper
location: package vtk
/builddir/build/BUILD/VTK-9.1.0/Wrapping/Java/Testing/Java/vtk/test/Regression.java:27: error: cannot find symbol
import vtk.vtkRenderWindow;
^
symbol: class vtkRenderWindow
location: package vtk
/builddir/build/BUILD/VTK-9.1.0/Wrapping/Java/Testing/Java/vtk/test/Regression.java:28: error: cannot find symbol
import vtk.vtkRenderWindowInteractor;
^
symbol: class vtkRenderWindowInteractor
location: package vtk
/builddir/build/BUILD/VTK-9.1.0/Wrapping/Java/Testing/Java/vtk/test/Regression.java:29: error: cannot find symbol
import vtk.vtkRenderer;
^
symbol: class vtkRenderer
location: package vtk
/builddir/build/BUILD/VTK-9.1.0/Wrapping/Java/Testing/Java/vtk/test/Regression.java:30: error: cannot find symbol
import vtk.vtkShortArray;
^
symbol: class vtkShortArray
location: package vtk
/builddir/build/BUILD/VTK-9.1.0/Wrapping/Java/Testing/Java/vtk/test/Regression.java:31: error: cannot find symbol
import vtk.vtkUnsignedCharArray;
^
symbol: class vtkUnsignedCharArray
location: package vtk
/builddir/build/BUILD/VTK-9.1.0/Wrapping/Java/Testing/Java/vtk/test/Regression.java:32: error: cannot find symbol
import vtk.vtkUnsignedShortArray;
^
symbol: class vtkUnsignedShortArray
location: package vtk
/builddir/build/BUILD/VTK-9.1.0/Wrapping/Java/Testing/Java/vtk/test/Regression.java:33: error: cannot find symbol
import vtk.vtkWindowToImageFilter;
^
symbol: class vtkWindowToImageFilter
location: package vtk
/builddir/build/BUILD/VTK-9.1.0/Wrapping/Java/Testing/Java/vtk/test/Regression.java:40: error: cannot find symbol
vtkJavaTesting.Initialize(args, true);
^
symbol: variable vtkJavaTesting
/builddir/build/BUILD/VTK-9.1.0/Wrapping/Java/Testing/Java/vtk/test/Regression.java:41: error: cannot find symbol
vtkShortArray array = new vtkShortArray();
^
symbol: class vtkShortArray
/builddir/build/BUILD/VTK-9.1.0/Wrapping/Java/Testing/Java/vtk/test/Regression.java:41: error: cannot find symbol
vtkShortArray array = new vtkShortArray();
^
symbol: class vtkShortArray
/builddir/build/BUILD/VTK-9.1.0/Wrapping/Java/Testing/Java/vtk/test/Regression.java:68: error: cannot find symbol
vtkUnsignedShortArray narray = new vtkUnsignedShortArray();
^
symbol: class vtkUnsignedShortArray
/builddir/build/BUILD/VTK-9.1.0/Wrapping/Java/Testing/Java/vtk/test/Regression.java:68: error: cannot find symbol
vtkUnsignedShortArray narray = new vtkUnsignedShortArray();
^
symbol: class vtkUnsignedShortArray
/builddir/build/BUILD/VTK-9.1.0/Wrapping/Java/Testing/Java/vtk/test/Regression.java:77: error: cannot find symbol
vtkRenderWindow renWin = new vtkRenderWindow();
^
symbol: class vtkRenderWindow
/builddir/build/BUILD/VTK-9.1.0/Wrapping/Java/Testing/Java/vtk/test/Regression.java:77: error: cannot find symbol
vtkRenderWindow renWin = new vtkRenderWindow();
^
symbol: class vtkRenderWindow
/builddir/build/BUILD/VTK-9.1.0/Wrapping/Java/Testing/Java/vtk/test/Regression.java:78: error: cannot find symbol
vtkRenderer ren1 = new vtkRenderer();
^
symbol: class vtkRenderer
/builddir/build/BUILD/VTK-9.1.0/Wrapping/Java/Testing/Java/vtk/test/Regression.java:78: error: cannot find symbol
vtkRenderer ren1 = new vtkRenderer();
^
symbol: class vtkRenderer
/builddir/build/BUILD/VTK-9.1.0/Wrapping/Java/Testing/Java/vtk/test/Regression.java:80: error: cannot find symbol
vtkRenderWindowInteractor iren = new vtkRenderWindowInteractor();
^
symbol: class vtkRenderWindowInteractor
/builddir/build/BUILD/VTK-9.1.0/Wrapping/Java/Testing/Java/vtk/test/Regression.java:80: error: cannot find symbol
vtkRenderWindowInteractor iren = new vtkRenderWindowInteractor();
^
symbol: class vtkRenderWindowInteractor
/builddir/build/BUILD/VTK-9.1.0/Wrapping/Java/Testing/Java/vtk/test/Regression.java:82: error: cannot find symbol
vtkConeSource cone = new vtkConeSource();
^
symbol: class vtkConeSource
/builddir/build/BUILD/VTK-9.1.0/Wrapping/Java/Testing/Java/vtk/test/Regression.java:82: error: cannot find symbol
vtkConeSource cone = new vtkConeSource();
^
symbol: class vtkConeSource
/builddir/build/BUILD/VTK-9.1.0/Wrapping/Java/Testing/Java/vtk/test/Regression.java:84: error: cannot find symbol
vtkPolyDataMapper coneMapper = new vtkPolyDataMapper();
^
symbol: class vtkPolyDataMapper
/builddir/build/BUILD/VTK-9.1.0/Wrapping/Java/Testing/Java/vtk/test/Regression.java:84: error: cannot find symbol
vtkPolyDataMapper coneMapper = new vtkPolyDataMapper();
^
symbol: class vtkPolyDataMapper
/builddir/build/BUILD/VTK-9.1.0/Wrapping/Java/Testing/Java/vtk/test/Regression.java:87: error: cannot find symbol
vtkActor coneActor = new vtkActor();
^
symbol: class vtkActor
/builddir/build/BUILD/VTK-9.1.0/Wrapping/Java/Testing/Java/vtk/test/Regression.java:87: error: cannot find symbol
vtkActor coneActor = new vtkActor();
^
symbol: class vtkActor
/builddir/build/BUILD/VTK-9.1.0/Wrapping/Java/Testing/Java/vtk/test/Regression.java:92: error: cannot find symbol
vtkWindowToImageFilter w2i = new vtkWindowToImageFilter();
^
symbol: class vtkWindowToImageFilter
/builddir/build/BUILD/VTK-9.1.0/Wrapping/Java/Testing/Java/vtk/test/Regression.java:92: error: cannot find symbol
vtkWindowToImageFilter w2i = new vtkWindowToImageFilter();
^
symbol: class vtkWindowToImageFilter
/builddir/build/BUILD/VTK-9.1.0/Wrapping/Java/Testing/Java/vtk/test/Regression.java:97: error: cannot find symbol
vtkImageData image = w2i.GetOutput();
^
symbol: class vtkImageData
/builddir/build/BUILD/VTK-9.1.0/Wrapping/Java/Testing/Java/vtk/test/Regression.java:99: error: cannot find symbol
vtkUnsignedCharArray da = (vtkUnsignedCharArray) image.GetPointData().GetScalars();
^
symbol: class vtkUnsignedCharArray
/builddir/build/BUILD/VTK-9.1.0/Wrapping/Java/Testing/Java/vtk/test/Regression.java:99: error: cannot find symbol
vtkUnsignedCharArray da = (vtkUnsignedCharArray) image.GetPointData().GetScalars();
^
symbol: class vtkUnsignedCharArray
/builddir/build/BUILD/VTK-9.1.0/Wrapping/Java/Testing/Java/vtk/test/Regression.java:104: error: cannot find symbol
vtkUnsignedCharArray nda = new vtkUnsignedCharArray();
^
symbol: class vtkUnsignedCharArray
/builddir/build/BUILD/VTK-9.1.0/Wrapping/Java/Testing/Java/vtk/test/Regression.java:104: error: cannot find symbol
vtkUnsignedCharArray nda = new vtkUnsignedCharArray();
^
symbol: class vtkUnsignedCharArray
/builddir/build/BUILD/VTK-9.1.0/Wrapping/Java/Testing/Java/vtk/test/Regression.java:107: error: cannot find symbol
vtkImageData nimage = new vtkImageData();
^
symbol: class vtkImageData
/builddir/build/BUILD/VTK-9.1.0/Wrapping/Java/Testing/Java/vtk/test/Regression.java:107: error: cannot find symbol
vtkImageData nimage = new vtkImageData();
^
symbol: class vtkImageData
/builddir/build/BUILD/VTK-9.1.0/Wrapping/Java/Testing/Java/vtk/test/Regression.java:112: error: cannot find symbol
vtkUnsignedCharArray nida = (vtkUnsignedCharArray) nimage.GetPointData().GetScalars();
^
symbol: class vtkUnsignedCharArray
/builddir/build/BUILD/VTK-9.1.0/Wrapping/Java/Testing/Java/vtk/test/Regression.java:112: error: cannot find symbol
vtkUnsignedCharArray nida = (vtkUnsignedCharArray) nimage.GetPointData().GetScalars();
^
symbol: class vtkUnsignedCharArray
/builddir/build/BUILD/VTK-9.1.0/Wrapping/Java/Testing/Java/vtk/test/Regression.java:115: error: cannot find symbol
int retVal0 = vtkJavaTesting.PASSED;
^
symbol: variable vtkJavaTesting
/builddir/build/BUILD/VTK-9.1.0/Wrapping/Java/Testing/Java/vtk/test/Regression.java:124: error: cannot find symbol
retVal0 = vtkJavaTesting.FAILED;
^
symbol: variable vtkJavaTesting
/builddir/build/BUILD/VTK-9.1.0/Wrapping/Java/Testing/Java/vtk/test/Regression.java:130: error: cannot find symbol
retVal0 = vtkJavaTesting.FAILED;
^
symbol: variable vtkJavaTesting
/builddir/build/BUILD/VTK-9.1.0/Wrapping/Java/Testing/Java/vtk/test/Regression.java:134: error: cannot find symbol
retVal0 = vtkJavaTesting.FAILED;
^
symbol: variable vtkJavaTesting
/builddir/build/BUILD/VTK-9.1.0/Wrapping/Java/Testing/Java/vtk/test/Regression.java:138: error: cannot find symbol
vtkImageDifference imgDiff = new vtkImageDifference();
^
symbol: class vtkImageDifference
/builddir/build/BUILD/VTK-9.1.0/Wrapping/Java/Testing/Java/vtk/test/Regression.java:138: error: cannot find symbol
vtkImageDifference imgDiff = new vtkImageDifference();
^
symbol: class vtkImageDifference
/builddir/build/BUILD/VTK-9.1.0/Wrapping/Java/Testing/Java/vtk/test/Regression.java:143: error: cannot find symbol
int retVal1 = vtkJavaTesting.PASSED;
^
symbol: variable vtkJavaTesting
/builddir/build/BUILD/VTK-9.1.0/Wrapping/Java/Testing/Java/vtk/test/Regression.java:146: error: cannot find symbol
vtkPNGWriter wr = new vtkPNGWriter();
^
symbol: class vtkPNGWriter
/builddir/build/BUILD/VTK-9.1.0/Wrapping/Java/Testing/Java/vtk/test/Regression.java:146: error: cannot find symbol
vtkPNGWriter wr = new vtkPNGWriter();
^
symbol: class vtkPNGWriter
/builddir/build/BUILD/VTK-9.1.0/Wrapping/Java/Testing/Java/vtk/test/Regression.java:156: error: cannot find symbol
retVal1 = vtkJavaTesting.FAILED;
^
symbol: variable vtkJavaTesting
/builddir/build/BUILD/VTK-9.1.0/Wrapping/Java/Testing/Java/vtk/test/Regression.java:159: error: cannot find symbol
int retVal2 = vtkJavaTesting.PASSED;
^
symbol: variable vtkJavaTesting
/builddir/build/BUILD/VTK-9.1.0/Wrapping/Java/Testing/Java/vtk/test/Regression.java:160: error: cannot find symbol
if (vtkJavaTesting.IsInteractive()) {
^
symbol: variable vtkJavaTesting
/builddir/build/BUILD/VTK-9.1.0/Wrapping/Java/Testing/Java/vtk/test/Regression.java:163: error: cannot find symbol
retVal2 = vtkJavaTesting.RegressionTest(renWin, 10);
^
symbol: variable vtkJavaTesting
/builddir/build/BUILD/VTK-9.1.0/Wrapping/Java/Testing/Java/vtk/test/Regression.java:166: error: package vtkObject does not exist
vtkObject.JAVA_OBJECT_MANAGER.deleteAll();
^
/builddir/build/BUILD/VTK-9.1.0/Wrapping/Java/Testing/Java/vtk/test/Regression.java:168: error: cannot find symbol
if (retVal0 != vtkJavaTesting.PASSED) {
^
symbol: variable vtkJavaTesting
/builddir/build/BUILD/VTK-9.1.0/Wrapping/Java/Testing/Java/vtk/test/Regression.java:169: error: cannot find symbol
vtkJavaTesting.Exit(retVal0);
^
symbol: variable vtkJavaTesting
/builddir/build/BUILD/VTK-9.1.0/Wrapping/Java/Testing/Java/vtk/test/Regression.java:171: error: cannot find symbol
if (retVal1 != vtkJavaTesting.PASSED) {
^
symbol: variable vtkJavaTesting
/builddir/build/BUILD/VTK-9.1.0/Wrapping/Java/Testing/Java/vtk/test/Regression.java:172: error: cannot find symbol
vtkJavaTesting.Exit(retVal1);
^
symbol: variable vtkJavaTesting
/builddir/build/BUILD/VTK-9.1.0/Wrapping/Java/Testing/Java/vtk/test/Regression.java:174: error: cannot find symbol
vtkJavaTesting.Exit(retVal2);
^
symbol: variable vtkJavaTesting
62 errors
1 warning
[20438/25379] cd /builddir/build/BUILD/VTK-9.1.0/build/Wrapping/Java && /builddir/build/BUILD/VTK-9.1.0/build/bin/vtkWrapJava @/builddir/build/BUILD/VTK-9.1.0/build/Wrapping/Java/CMakeFiles/vtkParallelCoreJava/vtkParallelCore-java.Debug.args -o /builddir/build/BUILD/VTK-9.1.0/build/Wrapping/Java/CMakeFiles/vtkParallelCoreJava/vtkDummyCommunicatorJava.cxx /builddir/build/BUILD/VTK-9.1.0/Parallel/Core/vtkDummyCommunicator.h
[20439/25379] /usr/bin/javac -classpath /builddir/build/BUILD/VTK-9.1.0/build/share/java/vtk.jar -source 1.7 -target 1.7 /builddir/build/BUILD/VTK-9.1.0/Wrapping/Java/Testing/Java/vtk/test/ConcurrencyGC.java -d Wrapping/Java/Testing/Java/CMakeFiles/vtkjava_tests.dir
FAILED: Wrapping/Java/Testing/Java/CMakeFiles/vtkjava_tests.dir/vtk/test/ConcurrencyGC.class
/usr/bin/javac -classpath /builddir/build/BUILD/VTK-9.1.0/build/share/java/vtk.jar -source 1.7 -target 1.7 /builddir/build/BUILD/VTK-9.1.0/Wrapping/Java/Testing/Java/vtk/test/ConcurrencyGC.java -d Wrapping/Java/Testing/Java/CMakeFiles/vtkjava_tests.dir
warning: [options] bootstrap class path not set in conjunction with -source 7
/builddir/build/BUILD/VTK-9.1.0/Wrapping/Java/Testing/Java/vtk/test/ConcurrencyGC.java:6: error: cannot find symbol
import vtk.vtkJavaGarbageCollector;
^
symbol: class vtkJavaGarbageCollector
location: package vtk
/builddir/build/BUILD/VTK-9.1.0/Wrapping/Java/Testing/Java/vtk/test/ConcurrencyGC.java:7: error: cannot find symbol
import vtk.vtkJavaTesting;
^
symbol: class vtkJavaTesting
location: package vtk
/builddir/build/BUILD/VTK-9.1.0/Wrapping/Java/Testing/Java/vtk/test/ConcurrencyGC.java:8: error: cannot find symbol
import vtk.vtkPoints;
^
symbol: class vtkPoints
location: package vtk
/builddir/build/BUILD/VTK-9.1.0/Wrapping/Java/Testing/Java/vtk/test/ConcurrencyGC.java:9: error: cannot find symbol
import vtk.vtkUnstructuredGrid;
^
symbol: class vtkUnstructuredGrid
location: package vtk
/builddir/build/BUILD/VTK-9.1.0/Wrapping/Java/Testing/Java/vtk/test/ConcurrencyGC.java:24: error: cannot find symbol
vtkJavaTesting.Initialize(args, true);
^
symbol: variable vtkJavaTesting
location: class ConcurrencyGC
/builddir/build/BUILD/VTK-9.1.0/Wrapping/Java/Testing/Java/vtk/test/ConcurrencyGC.java:30: error: cannot find symbol
vtkUnstructuredGrid grid = new vtkUnstructuredGrid();
^
symbol: class vtkUnstructuredGrid
/builddir/build/BUILD/VTK-9.1.0/Wrapping/Java/Testing/Java/vtk/test/ConcurrencyGC.java:30: error: cannot find symbol
vtkUnstructuredGrid grid = new vtkUnstructuredGrid();
^
symbol: class vtkUnstructuredGrid
/builddir/build/BUILD/VTK-9.1.0/Wrapping/Java/Testing/Java/vtk/test/ConcurrencyGC.java:31: error: cannot find symbol
grid.SetPoints(new vtkPoints());
^
symbol: class vtkPoints
/builddir/build/BUILD/VTK-9.1.0/Wrapping/Java/Testing/Java/vtk/test/ConcurrencyGC.java:32: error: cannot find symbol
vtkPoints p;
^
symbol: class vtkPoints
/builddir/build/BUILD/VTK-9.1.0/Wrapping/Java/Testing/Java/vtk/test/ConcurrencyGC.java:45: error: cannot find symbol
vtkJavaTesting.Exit(vtkJavaTesting.FAILED);
^
symbol: variable vtkJavaTesting
/builddir/build/BUILD/VTK-9.1.0/Wrapping/Java/Testing/Java/vtk/test/ConcurrencyGC.java:45: error: cannot find symbol
vtkJavaTesting.Exit(vtkJavaTesting.FAILED);
^
symbol: variable vtkJavaTesting
/builddir/build/BUILD/VTK-9.1.0/Wrapping/Java/Testing/Java/vtk/test/ConcurrencyGC.java:59: error: cannot find symbol
vtkJavaGarbageCollector gc = vtkJavaTesting.StartGCInEDT(10, TimeUnit.MILLISECONDS); // Start periodic GC in EDT
^
symbol: class vtkJavaGarbageCollector
location: class ConcurrencyGC
/builddir/build/BUILD/VTK-9.1.0/Wrapping/Java/Testing/Java/vtk/test/ConcurrencyGC.java:59: error: cannot find symbol
vtkJavaGarbageCollector gc = vtkJavaTesting.StartGCInEDT(10, TimeUnit.MILLISECONDS); // Start periodic GC in EDT
^
symbol: variable vtkJavaTesting
location: class ConcurrencyGC
/builddir/build/BUILD/VTK-9.1.0/Wrapping/Java/Testing/Java/vtk/test/ConcurrencyGC.java:66: error: cannot find symbol
vtkJavaTesting.Exit(vtkJavaTesting.PASSED);
^
symbol: variable vtkJavaTesting
location: class ConcurrencyGC
/builddir/build/BUILD/VTK-9.1.0/Wrapping/Java/Testing/Java/vtk/test/ConcurrencyGC.java:66: error: cannot find symbol
vtkJavaTesting.Exit(vtkJavaTesting.PASSED);
^
symbol: variable vtkJavaTesting
location: class ConcurrencyGC
/builddir/build/BUILD/VTK-9.1.0/Wrapping/Java/Testing/Java/vtk/test/ConcurrencyGC.java:70: error: cannot find symbol
vtkJavaTesting.Exit(vtkJavaTesting.FAILED);
^
symbol: variable vtkJavaTesting
location: class ConcurrencyGC
/builddir/build/BUILD/VTK-9.1.0/Wrapping/Java/Testing/Java/vtk/test/ConcurrencyGC.java:70: error: cannot find symbol
vtkJavaTesting.Exit(vtkJavaTesting.FAILED);
^
symbol: variable vtkJavaTesting
location: class ConcurrencyGC
17 errors
1 warning
```
Build info here: https://koji.fedoraproject.org/koji/taskinfo?taskID=79207852https://gitlab.kitware.com/vtk/vtk/-/issues/18413OpenVDBWriter constructor segfaults with openVDB 92023-12-06T11:45:15-05:00Antonio RojasOpenVDBWriter constructor segfaults with openVDB 9This minimal example
```
#include <vtk/vtkOpenVDBWriter.h>
int main() {
vtkOpenVDBWriter* a=vtkOpenVDBWriter::New();
}
```
segfaults with openVDB 9 with this backtrace:
```
(gdb) bt
#0 openvdb::v9_0::Grid<openvdb::v9_0::tree::Tree<...This minimal example
```
#include <vtk/vtkOpenVDBWriter.h>
int main() {
vtkOpenVDBWriter* a=vtkOpenVDBWriter::New();
}
```
segfaults with openVDB 9 with this backtrace:
```
(gdb) bt
#0 openvdb::v9_0::Grid<openvdb::v9_0::tree::Tree<openvdb::v9_0::tree::RootNode<openvdb::v9_0::tree::InternalNode<openvdb::v9_0::tree::InternalNode<openvdb::v9_0::tree::LeafNode<openvdb::v9_0::ValueMask, 3u>, 4u>, 5u> > > >::gridType[abi:cxx11]()
() at /usr/src/debug/openvdb-9.0.0/openvdb/openvdb/Grid.h:719
#1 openvdb::v9_0::Grid<openvdb::v9_0::tree::Tree<openvdb::v9_0::tree::RootNode<openvdb::v9_0::tree::InternalNode<openvdb::v9_0::tree::InternalNode<openvdb::v9_0::tree::LeafNode<openvdb::v9_0::ValueMask, 3u>, 4u>, 5u> > > >::registerGrid ()
at /usr/src/debug/openvdb-9.0.0/openvdb/openvdb/Grid.h:981
#2 openvdb::v9_0::initialize () at /usr/src/debug/openvdb-9.0.0/openvdb/openvdb/openvdb.cc:100
#3 0x00007ffff7e1da25 in vtkOpenVDBWriter::vtkOpenVDBWriter (this=0x55555558a050)
at /usr/src/debug/VTK-9.1.0/IO/OpenVDB/vtkOpenVDBWriter.cxx:365
#4 0x00007ffff7e1dabe in vtkOpenVDBWriter::New () at /usr/src/debug/VTK-9.1.0/IO/OpenVDB/vtkOpenVDBWriter.cxx:357
#5 0x0000555555555166 in main ()
```https://gitlab.kitware.com/vtk/vtk/-/issues/18429FindPython support uses `cmake_path()` which it should not2022-01-08T20:03:11-05:00David ThompsonFindPython support uses `cmake_path()` which it should notThe CMake support for finding python uses the `cmake_path()` command. This command was introduced in cmake 3.20 which causes problems when build VTK with older versions of cmake. See here
https://gitlab.kitware.com/vtk/vtk/-/blob/1cae65...The CMake support for finding python uses the `cmake_path()` command. This command was introduced in cmake 3.20 which causes problems when build VTK with older versions of cmake. See here
https://gitlab.kitware.com/vtk/vtk/-/blob/1cae6585c3015d754c72f545be983e0e41e6ca17/CMake/patches/3.23/FindPython/Support.cmake#L3053-3055
for the 2 places it is used.Ben BoeckelBen Boeckelhttps://gitlab.kitware.com/vtk/vtk/-/issues/18445Build failure with ffmpeg-5.02022-03-28T16:36:20-04:00BerndBuild failure with ffmpeg-5.0The current v9 releases of VTK won't build their IOFFMPEG module, against an installed ffmpeg-5.0 package. We received a bug report on Gentoo on this for 9.0.3. I tested with 9.1.0 which fails as well.
The error is
```
FAILED: IO/FFMPEG...The current v9 releases of VTK won't build their IOFFMPEG module, against an installed ffmpeg-5.0 package. We received a bug report on Gentoo on this for 9.0.3. I tested with 9.1.0 which fails as well.
The error is
```
FAILED: IO/FFMPEG/CMakeFiles/IOFFMPEG.dir/vtkFFMPEGWriter.cxx.o
/usr/bin/mpicxx -DIOFFMPEG_EXPORTS -DVTK_IN_VTK -D__STDC_CONSTANT_MACROS -I/var/tmp/portage/sci-libs/vtk-9.0.3-r3/work/vtk-9.0.3_build/IO/FFMPEG -I/var/tmp/portage/sci-libs/vtk-9.0.3-r3/work/VTK-9.0.3/IO/FFMPEG -I/var/tmp/portage/sci-libs/vtk-9.0.3-r3/work/vtk-9.0.3_build/IO/Movie -I/var/tmp/portage/sci-libs/vtk-9.0.3-r3/work/VTK-9.0.3/IO/Movie -I/var/tmp/portage/sci-libs/vtk-9.0.3-r3/work/vtk-9.0.3_build/Common/ExecutionModel -I/var/tmp/portage/sci-libs/vtk-9.0.3-r3/work/VTK-9.0.3/Common/ExecutionModel -I/var/tmp/portage/sci-libs/vtk-9.0.3-r3/work/vtk-9.0.3_build/Common/Core -I/var/tmp/portage/sci-libs/vtk-9.0.3-r3/work/VTK-9.0.3/Common/Core -I/var/tmp/portage/sci-libs/vtk-9.0.3-r3/work/vtk-9.0.3_build/Common/DataModel -I/var/tmp/portage/sci-libs/vtk-9.0.3-r3/work/VTK-9.0.3/Common/DataModel -I/var/tmp/portage/sci-libs/vtk-9.0.3-r3/work/vtk-9.0.3_build/Common/Math -I/var/tmp/portage/sci-libs/vtk-9.0.3-r3/work/VTK-9.0.3/Common/Math -I/var/tmp/portage/sci-libs/vtk-9.0.3-r3/work/vtk-9.0.3_build/Common/Transforms -I/var/tmp/portage/sci-libs/vtk-9.0.3-r3/work/VTK-9.0.3/Common/Transforms -I/var/tmp/portage/sci-libs/vtk-9.0.3-r3/work/vtk-9.0.3_build/IO/Video -I/var/tmp/portage/sci-libs/vtk-9.0.3-r3/work/VTK-9.0.3/IO/Video -I/var/tmp/portage/sci-libs/vtk-9.0.3-r3/work/vtk-9.0.3_build/Common/Misc -I/var/tmp/portage/sci-libs/vtk-9.0.3-r3/work/VTK-9.0.3/Common/Misc -I/var/tmp/portage/sci-libs/vtk-9.0.3-r3/work/vtk-9.0.3_build/Common/System -I/var/tmp/portage/sci-libs/vtk-9.0.3-r3/work/VTK-9.0.3/Common/System -isystem /var/tmp/portage/sci-libs/vtk-9.0.3-r3/work/vtk-9.0.3_build/Utilities/KWIML -isystem /var/tmp/portage/sci-libs/vtk-9.0.3-r3/work/VTK-9.0.3/Utilities/KWIML -isystem /var/tmp/portage/sci-libs/vtk-9.0.3-r3/work/vtk-9.0.3_build/Utilities/KWSys -isystem /var/tmp/portage/sci-libs/vtk-9.0.3-r3/work/VTK-9.0.3/Utilities/KWSys -O2 -march=native -fomit-frame-pointer -pipe -fvisibility-inlines-hidden -fPIC -fvisibility=hidden -fvisibility-inlines-hidden -fopenmp -std=c++11 -MD -MT IO/FFMPEG/CMakeFiles/IOFFMPEG.dir/vtkFFMPEGWriter.cxx.o -MF IO/FFMPEG/CMakeFiles/IOFFMPEG.dir/vtkFFMPEGWriter.cxx.o.d -o IO/FFMPEG/CMakeFiles/IOFFMPEG.dir/vtkFFMPEGWriter.cxx.o -c /var/tmp/portage/sci-libs/vtk-9.0.3-r3/work/VTK-9.0.3/IO/FFMPEG/vtkFFMPEGWriter.cxx
/var/tmp/portage/sci-libs/vtk-9.0.3-r3/work/VTK-9.0.3/IO/FFMPEG/vtkFFMPEGWriter.cxx: In member function ‘int vtkFFMPEGWriterInternal::Start()’:
/var/tmp/portage/sci-libs/vtk-9.0.3-r3/work/VTK-9.0.3/IO/FFMPEG/vtkFFMPEGWriter.cxx:111:41: error: invalid conversion from ‘const AVOutputFormat*’ to ‘AVOutputFormat*’ [-fpermissive]
111 | this->avOutputFormat = av_guess_format("avi", nullptr, nullptr);
| ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~
| |
| const AVOutputFormat*
/var/tmp/portage/sci-libs/vtk-9.0.3-r3/work/VTK-9.0.3/IO/FFMPEG/vtkFFMPEGWriter.cxx:137:37: error: invalid conversion from ‘const AVCodec*’ to ‘AVCodec*’ [-fpermissive]
137 | if (!(codec = avcodec_find_encoder(this->avOutputFormat->video_codec)))
| ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
| |
| const AVCodec*
/var/tmp/portage/sci-libs/vtk-9.0.3-r3/work/VTK-9.0.3/IO/FFMPEG/vtkFFMPEGWriter.cxx:152:32: error: ‘avcodec_alloc_context3’ was not declared in this scope; did you mean ‘avio_alloc_context’?
```
with more errors after that and similar errors later on in file `vtkFFMPEGVideoSource.cxx`.
See also https://bugs.gentoo.org/831595 with a full build log attached.Ben BoeckelBen Boeckelhttps://gitlab.kitware.com/vtk/vtk/-/issues/18449vtk9.1.0 Emscripten build failed with proj.db and sqlite32023-11-01T10:39:22-04:00勇闯天涯啦vtk9.1.0 Emscripten build failed with proj.db and sqlite3I try to build the vtk-9.1.0 with Emscripten&&CLang follow the cmake-setting propose by [dicehub](https://github.com/dicehub/EmVTK) and [issues/18263](https://gitlab.kitware.com/vtk/vtk/-/issues/18263). But I met the error below.
```
...I try to build the vtk-9.1.0 with Emscripten&&CLang follow the cmake-setting propose by [dicehub](https://github.com/dicehub/EmVTK) and [issues/18263](https://gitlab.kitware.com/vtk/vtk/-/issues/18263). But I met the error below.
```
[1/214] Generating proj.db
FAILED: share/vtk-9.1/proj/proj.db
C:/DevTools/vtksource/VTK-9.1.0/Examples/Emscripten/Cxx/work/build-vtk-wasm/share/vtk-9.1/proj/proj.db
cmd.exe /C "cd /D C:\DevTools\vtksource\VTK-9.1.0\Examples\Emscripten\Cxx\work\src\ThirdParty\libproj\vtklibproj\data && "C:\Program Files\CMake\bin\cmake.exe" -E remove -f C:/DevTools/vtksource/VTK-9.1.0/Examples/Emscripten/Cxx/work/build-vtk-wasm/lib/../share/vtk-9.1/proj/proj.db && "C:\Program Files\CMake\bin\cmake.exe" -DALL_SQL_IN=C:/DevTools/vtksource/VTK-9.1.0/Examples/Emscripten/Cxx/work/build-vtk-wasm/ThirdParty/libproj/vtklibproj/data/all.sql.in -DEXE_SQLITE3=C:/DevTools/vtksource/VTK-9.1.0/Examples/Emscripten/Cxx/work/build-vtk-wasm/bin/sqlitebin-9.1.js -DPROJ_DB=C:/DevTools/vtksource/VTK-9.1.0/Examples/Emscripten/Cxx/work/build-vtk-wasm/lib/../share/vtk-9.1/proj/proj.db -DPROJ_VERSION=8.1.0 -P C:/DevTools/vtksource/VTK-9.1.0/Examples/Emscripten/Cxx/work/src/ThirdParty/libproj/vtklibproj/data/generate_proj_db.cmake && "C:\Program Files\CMake\bin\cmake.exe" -E copy C:/DevTools/vtksource/VTK-9.1.0/Examples/Emscripten/Cxx/work/build-vtk-wasm/lib/../share/vtk-9.1/proj/proj.db C:/DevTools/vtksource/VTK-9.1.0/Examples/Emscripten/Cxx/work/build-vtk-wasm/ThirdParty/libproj/vtklibproj/data/for_tests"
CMake Error at generate_proj_db.cmake:22 (message):
SQLite3 failed
[2/214] Building CXX object ThirdParty/libproj/vtklibproj/src/CMakeFiles/libproj.dir/transformations/horner.cpp.o
[3/214] Building CXX object ThirdParty/libproj/vtklibproj/src/CMakeFiles/libproj.dir/transformations/xyzgridshift.cpp.o
[4/214] Building CXX object ThirdParty/libproj/vtklibproj/src/CMakeFiles/libproj.dir/transformations/molodensky.cpp.o
[5/214] Building CXX object ThirdParty/libproj/vtklibproj/src/CMakeFiles/libproj.dir/transformations/deformation.cpp.o
[6/214] Building CXX object ThirdParty/libproj/vtklibproj/src/CMakeFiles/libproj.dir/transformations/hgridshift.cpp.o
[7/214] Building CXX object ThirdParty/libproj/vtklibproj/src/CMakeFiles/libproj.dir/transformations/vgridshift.cpp.o
[8/214] Building CXX object ThirdParty/libproj/vtklibproj/src/CMakeFiles/libproj.dir/iso19111/metadata.cpp.o
[9/214] Building CXX object ThirdParty/libproj/vtklibproj/src/CMakeFiles/libproj.dir/transformations/tinshift.cpp.o
[10/214] Building CXX object ThirdParty/libproj/vtklibproj/src/CMakeFiles/libproj.dir/transformations/defmodel.cpp.o
ninja: build stopped: subcommand failed.
```
here is my cmake-setting:
```
cmake \
-G Ninja \
-DCMAKE_TOOLCHAIN_FILE=C:/DevTools/emsdk/upstream/emscripten/cmake/Modules/Platform/Emscripten.cmake \
-DBUILD_SHARED_LIBS=OFF \
-DCMAKE_BUILD_TYPE=Release \
-DBUILD_EXAMPLES:BOOL=OFF \
-DBUILD_TESTING:BOOL=OFF \
-DVTK_ENABLE_LOGGING=OFF \
-DVTK_ENABLE_WRAPPING=OFF \
-DVTK_GROUP_ENABLE_Imaging=NO \
-DVTK_GROUP_ENABLE_MPI=NO \
-DVTK_GROUP_ENABLE_Qt=NO \
-DVTK_GROUP_ENABLE_Rendering=WANT \
-DVTK_GROUP_ENABLE_StandAlone=WANT \
-DVTK_GROUP_ENABLE_Views=NO \
-DVTK_GROUP_ENABLE_Web=NO \
-DVTK_LEGACY_REMOVE=ON \
-DVTK_NO_PLATFORM_SOCKETS=ON \
-DVTK_MODULE_ENABLE_VTK_hdf5=NO \
-DVTK_MODULE_ENABLE_VTK_InteractionStyle=WANT \
-DVTK_MODULE_ENABLE_VTK_InteractionWidgets=WANT \
-DVTK_MODULE_ENABLE_VTK_RenderingContext2D=DONT_WANT \
-DVTK_MODULE_ENABLE_VTK_RenderingContextOpenGL2=DONT_WANT \
-DOPENGL_INCLUDE_DIR:PATH=C:/DevTools/emsdk/upstream/emscripten/system/include \
-DOPENGL_EGL_INCLUDE_DIR:PATH=C:/DevTools/emsdk/upstream/emscripten/system/include \
-DOPENGL_GLES2_INCLUDE_DIR:PATH=C:/DevTools/emsdk/upstream/emscripten/system/include \
-DOPENGL_GLES3_INCLUDE_DIR:PATH=C:/DevTools/emsdk/upstream/emscripten/system/include \
-DVTK_OPENGL_USE_GLES:BOOL=ON \
-DVTK_USE_SYSTEM_FREETYPE:BOOL=ON \
-DH5_HAVE_GETPWUID:BOOL=OFF \
-DFREETYPE_INCLUDE_DIRS:PATH='include' \
-DFREETYPE_LIBRARY:STRING='freetype' \
C:/DevTools/vtksource/VTK-9.1.0/Examples/Emscripten/Cxx/work/src
cmake --build .
```
where did it go wrong?https://gitlab.kitware.com/vtk/vtk/-/issues/18471Add tests to verify that third party libraries are mangled2022-02-16T15:14:04-05:00Ben BoeckelAdd tests to verify that third party libraries are mangledThere should be tests to ensure that all public symbols in third party libraries are properly mangled.
Cc: @seanmThere should be tests to ensure that all public symbols in third party libraries are properly mangled.
Cc: @seanmhttps://gitlab.kitware.com/vtk/vtk/-/issues/18482VTK testing macros are not external module friendly2023-04-24T08:36:13-04:00Mathieu Westphal (Kitware)VTK testing macros are not external module friendlyAdding tests to VTK modules outside of VTK is not friendly at all.
Here is how it currently works in VTK.
- VTK rely on ExternalData to recover data. This is fine and generally not used outside of VTK and optional generally, nothing to...Adding tests to VTK modules outside of VTK is not friendly at all.
Here is how it currently works in VTK.
- VTK rely on ExternalData to recover data. This is fine and generally not used outside of VTK and optional generally, nothing to fix here
- vtkTesting.cxx rely on the -V/-B/-D/-T to find out where is located the baselines, data and such, this is fine and could be used outside of VTK
- vtkModuleTesting.cmake is where the fix should happens
in **vtk_add_test_cxx** macro we should be able to:
- set if external data should be used or not
- set if only baseline dir should be used or full baseline name
- set the baseline dir
- set the data dir
- set the temporary dir
in **vtk_add_test_python** we should be able to:
- set the baseline dir
- set the data dir
- set the temporary dir
Currently, these dirs are hardcoded which is not practical at all. They can be specified with env vars but this is not the right way to go.
FYI @ben.boeckelhttps://gitlab.kitware.com/vtk/vtk/-/issues/18487Configuration error with CMake 3.142022-07-26T21:03:11-04:00Sergey KlevtsovConfiguration error with CMake 3.14Apologies if this has been reported, issue search did not reveal anything.
When trying to configure latest release (9.1.0) with CMake 3.14, the following error occurs (full log is attached):
```
CMake Error at /usr/local/share/cmake-3.1...Apologies if this has been reported, issue search did not reveal anything.
When trying to configure latest release (9.1.0) with CMake 3.14, the following error occurs (full log is attached):
```
CMake Error at /usr/local/share/cmake-3.14/Modules/FindPackageHandleStandardArgs.cmake:195 (message):
Unknown keywords given to FIND_PACKAGE_HANDLE_STANDARD_ARGS():
"REASON_FAILURE_MESSAGE"
Call Stack (most recent call first):
CMake/patches/3.22/FindMPI.cmake:1823 (find_package_handle_standard_args)
CMake/vtkModule.cmake:4397 (find_package)
CMake/vtkModule.cmake:4997 (vtk_module_find_package)
Utilities/MPI/CMakeLists.txt:1 (vtk_module_third_party_external)
-- Configuring incomplete, errors occurred!
```
The error is caused by the following line, which uses a new CMake 3.16 keyword `REASON_FAILURE_MESSAGE`: https://gitlab.kitware.com/vtk/vtk/-/blob/d79e2977b601db1e0592c02b1536f39b6b367314/CMake/patches/3.22/FindMPI.cmake#L1826
The error did not occur in 9.0.3. The change was introduced in https://gitlab.kitware.com/vtk/vtk/-/commit/6343855027c54bed98183d5b4001f02eb1c1b705.
[vtk-9.1.0-cmake-3.14-configure.txt](/uploads/4f9288c4c08a5cba0fa8e5b5d20bbf97/vtk-9.1.0-cmake-3.14-configure.txt)Ben BoeckelBen Boeckelhttps://gitlab.kitware.com/vtk/vtk/-/issues/18493Fix all clang -Wstrict-prototypes warnings2022-04-13T20:11:42-04:00Sean McBrideFix all clang -Wstrict-prototypes warningsClang is considering making the -Wstrict-prototypes warning an error by default, see: https://discourse.llvm.org/t/rfc-enabling-wstrict-prototypes-by-default-in-c/60521
vtk has several such warnings, but they are *all* from third party ...Clang is considering making the -Wstrict-prototypes warning an error by default, see: https://discourse.llvm.org/t/rfc-enabling-wstrict-prototypes-by-default-in-c/60521
vtk has several such warnings, but they are *all* from third party libs.
I have fixed most upstream:
https://github.com/CGNS/CGNS/pull/332
https://github.com/Unidata/netcdf-c/pull/2239
https://gitlab.onelab.info/seanm/gl2ps/-/merge_requests/1
and created a ticket for another:
https://github.com/gsjaardema/seacas/issues/290
VTK just needs to update its copy of these third party libs...https://gitlab.kitware.com/vtk/vtk/-/issues/18506VTKDetermineVersion.cmake bug2022-07-25T16:39:30-04:00olesenVTKDetermineVersion.cmake bugCompiling a git version of paraview with the various submodules.
VTKDetermineVersion.cmake (Line 64) reports that it detected a VTK git version v5.10.1-884-gefeaf2c2c5 but has a hardcoded version of 9.1.xyz.
It appears to be running _g...Compiling a git version of paraview with the various submodules.
VTKDetermineVersion.cmake (Line 64) reports that it detected a VTK git version v5.10.1-884-gefeaf2c2c5 but has a hardcoded version of 9.1.xyz.
It appears to be running _git describe_ from one directory below where it should be.9.2Ben BoeckelBen Boeckelhttps://gitlab.kitware.com/vtk/vtk/-/issues/18512vtk_module_compile_options does not behave exactly like target_compile_options2022-04-15T21:03:12-04:00Mathieu Westphal (Kitware)vtk_module_compile_options does not behave exactly like target_compile_options`vtk_module_compile_options(target PUBLIC PRIVATE)` fails with:
```
target_compile_options called with incorrect number of arguments
```
While
target_compile_options(target PUBLIC PRIVATE) works without issue.
The problem is that ...`vtk_module_compile_options(target PUBLIC PRIVATE)` fails with:
```
target_compile_options called with incorrect number of arguments
```
While
target_compile_options(target PUBLIC PRIVATE) works without issue.
The problem is that during the argument processing in vtk_module_compile_options, if none are provided, the resulting call is:
`target_compile_options(target)`, which is incorrect.
This is highly impractical with these kind of codes:
```
vtk_module_compile_options(target PUBLIC ${ACCUMULATED_PUBLIC_OPTIONS} PRIVATE ${ACCUMULATED_PRIVATE_OPTIONS} )
```
@ben.boeckel9.2Ben BoeckelBen Boeckelhttps://gitlab.kitware.com/vtk/vtk/-/issues/18514libvtkhdf5 contains unmangled symbols2022-04-19T06:49:53-04:00Menno Deij - van Rijswijklibvtkhdf5 contains unmangled symbolsWhen I build paraview with HDF5 coming from VTK/ThirdParty/hdf5, the resulting libvtkhdf5-pv10.so contains many unmangled symbols starting with H5. For example `H5D_def_layout_chunk_g`, which I also find in a build-from-vanilla-source li...When I build paraview with HDF5 coming from VTK/ThirdParty/hdf5, the resulting libvtkhdf5-pv10.so contains many unmangled symbols starting with H5. For example `H5D_def_layout_chunk_g`, which I also find in a build-from-vanilla-source libhdf5.so shared library.
I thought the idea was that no symbol clashes between a loaded vanilla libhdf5 and the libvtkhdf5 shared libraries could occur, thereby enabling another code to have libhdf5 loaded, and also load libvtkhdf5 (maybe as part of in-situ processing) and not have symbols clashing, leading to unpredictable behavior, especially when the two libraries have different versions.
For reference, find attached the results of
`nm libvtkhdf5-pv5.10.so | grep \ vtkhdf5 > libvtkhdf5-mangled.txt`
[libvtkhdf5-mangled.txt](/uploads/b95b058546fa9581bda3a0e6c4678515/libvtkhdf5-mangled.txt)
and `nm libvtkhdf5-pv5.10.so | grep \ H5 > libvtkhdf5-unmangled.txt`
[libvtkhdf5-unmangled.txt](/uploads/48d9e94dd28127b1fb579a2ac3c12fe9/libvtkhdf5-unmangled.txt)
Maybe I'm going about this the wrong way, and this is not a problem.
@utkarsh.ayachit I hope it is OK if I assign this to you, I saw some MR's that also related to symbol mangling of HDF5 with your name on it.Jaswant Panchumarti (Kitware)Jaswant Panchumarti (Kitware)https://gitlab.kitware.com/vtk/vtk/-/issues/18516VTK failed to cmake with MSVC on windows arm642022-04-14T08:47:58-04:00LinGaoVTK failed to cmake with MSVC on windows arm64Environment: Windows Server 2016 + VS2019 VTK master branch c87efc1 commit.
VTK failed to cmake with MSVC on windows arm64. Does VTK support windows arm64? Could you please help look at this issue?
Steps to reproduce the behavior:
1. g...Environment: Windows Server 2016 + VS2019 VTK master branch c87efc1 commit.
VTK failed to cmake with MSVC on windows arm64. Does VTK support windows arm64? Could you please help look at this issue?
Steps to reproduce the behavior:
1. git clone https://gitlab.kitware.com/vtk/vtk F:\gitP\vtk\vtk
2. cd F:\gitP\vtk\vtk && git submodule update --init --recursive
3. mkdir build_arm64 && cd build_arm64
4. cmake -G "Visual Studio 16 2019" -A arm64 -DCMAKE_SYSTEM_VERSION=10.0.18362.0 -DBUILD_SHARED_LIBS=OFF -DVTK_BUILD_TESTING=OFF -DVTK_BUILD_EXAMPLES=OFF ..
Error message:
CMake Error at ThirdParty/hdf5/vtkhdf5/config/cmake/ConfigureChecks.cmake:367 (list):
list index: 1 out of range (-1, 0)
Call Stack (most recent call first):
ThirdParty/hdf5/vtkhdf5/CMakeLists.txt:503 (include)https://gitlab.kitware.com/vtk/vtk/-/issues/18547GLX not working if `VTK_OPENGL_HAS_EGL` is enabled2024-01-30T01:29:00-05:00Michael MiglioreGLX not working if `VTK_OPENGL_HAS_EGL` is enabledWhen enabling the option `VTK_OPENGL_HAS_EGL` without `VTK_DEFAULT_RENDER_WINDOW_HEADLESS` option, `vtkNew<vtkRenderWindow>` still instantiate a `vtkXOpenGLRenderWindow`, which is fine.
However, `vtkXOpenGLRenderWindow` is not working ...When enabling the option `VTK_OPENGL_HAS_EGL` without `VTK_DEFAULT_RENDER_WINDOW_HEADLESS` option, `vtkNew<vtkRenderWindow>` still instantiate a `vtkXOpenGLRenderWindow`, which is fine.
However, `vtkXOpenGLRenderWindow` is not working because GLEW is built using `GLEW_EGL` variable (see https://gitlab.kitware.com/vtk/vtk/-/blob/master/ThirdParty/glew/vtkglew/CMakeLists.txt).
It seems that it is currently not possible to have both `vtkEGLRenderWindow` and `vtkXOpenGLRenderWindow` working in the same VTK build, because if I understood correctly, GLEW is not compatible with GLX and EGL at the same time.
Is it intended?https://gitlab.kitware.com/vtk/vtk/-/issues/18552Error when mpi is not selected after installing hdf5[parallel]2022-05-30T03:34:31-04:00Jack·Boos·YuError when mpi is not selected after installing hdf5[parallel]Hi guys,
I'm vcpkg maintainer.
Recently we received an issue about vtk build issues: https://github.com/microsoft/vcpkg/pull/24740.
The issue is:
When you first install hdf5 including feature parallel, and use it as a dependency of vt...Hi guys,
I'm vcpkg maintainer.
Recently we received an issue about vtk build issues: https://github.com/microsoft/vcpkg/pull/24740.
The issue is:
When you first install hdf5 including feature parallel, and use it as a dependency of vtk to install vtk that does not select mpi as a feature, an error will be reported:
```
-- VTK module debug building: VTK::hdf5 is being built
-- Checking for module 'mpi-c'
-- Package 'mpi-c', required by 'virtual:world', not found
-- Checking for module 'mpi-cxx'
-- Package 'mpi-cxx', required by 'virtual:world', not found
CMake Error at ThirdParty/hdf5/CMakeLists.txt:21 (message):
An external MPI-aware HDF5 requires that VTK be built with MPI support as
well.
```
In vcpkg and other package management, dependencies should be forward: if I select a feature in a downstream library, the upstream library should be asked to select the corresponding feature; not that if the upstream library enables a feature, the downstream library must be enabled a corresponding feature.
This has a disastrous effect on dependencies.
What do you guys think about?
How can we "fix" this issue?
Thanks,
Jackhttps://gitlab.kitware.com/vtk/vtk/-/issues/18561Java Wrapping is missing methods in generated code2023-08-31T05:59:38-04:00JensgwJava Wrapping is missing methods in generated codeHi there,
there seems to be an issue with java wrapping and VTK-9.1.0.
vtkOpenGLRenderWindow.h specifies new inline methods:
```
void SetFrameBlitModeToBlitToHardware() { this->SetFrameBlitMode(BlitToHardware); }
void SetFrameBli...Hi there,
there seems to be an issue with java wrapping and VTK-9.1.0.
vtkOpenGLRenderWindow.h specifies new inline methods:
```
void SetFrameBlitModeToBlitToHardware() { this->SetFrameBlitMode(BlitToHardware); }
void SetFrameBlitModeToBlitToCurrent() { this->SetFrameBlitMode(BlitToCurrent); }
void SetFrameBlitModeToNoBlit() { this->SetFrameBlitMode(NoBlit); }
```
However, these methods do not show up in the generated java code, therefore the generation of the java wrapper fails.https://gitlab.kitware.com/vtk/vtk/-/issues/18567Build failure when building thirdparty mpi4py2023-04-24T16:34:46-04:00Jack·Boos·YuBuild failure when building thirdparty mpi4pyHi guys,
Recently I'm trying to build vtk with internal module mpi4py (https://github.com/microsoft/vcpkg/pull/24740), but I got some failures:
```
FAILED: ThirdParty/mpi4py/vtkmpi4py/src/CMakeFiles/vtkmpi4py.MPI.dir/MPI.c.obj
C:\PROGRA...Hi guys,
Recently I'm trying to build vtk with internal module mpi4py (https://github.com/microsoft/vcpkg/pull/24740), but I got some failures:
```
FAILED: ThirdParty/mpi4py/vtkmpi4py/src/CMakeFiles/vtkmpi4py.MPI.dir/MPI.c.obj
C:\PROGRA~1\MICROS~1\2022\ENTERP~1\VC\Tools\MSVC\1432~1.313\bin\Hostx64\x64\cl.exe -DMPICH_SKIP_MPICXX -DMPI_NO_CPPBIND -DOMPI_SKIP_MPICXX -DPyMPI_MISSING_MPI_Status_c2f -DPyMPI_MISSING_MPI_Status_f2c -DPyMPI_MISSING_MPI_Type_create_f90_complex -DPyMPI_MISSING_MPI_Type_create_f90_integer -DPyMPI_MISSING_MPI_Type_create_f90_real -DVTK_IN_VTK -D_CRT_NONSTDC_NO_DEPRECATE -D_CRT_SECURE_NO_DEPRECATE -D_CRT_SECURE_NO_WARNINGS -D_MPICC_H -D_SCL_SECURE_NO_DEPRECATE -D_SCL_SECURE_NO_WARNINGS -Dvtkmpi4py_MPI_EXPORTS -ID:\buildtrees\vtk\x64-windows-dbg\Utilities\Python -ID:\buildtrees\vtk\src\edd2e5233f-2ed574e023.clean\Utilities\Python -ID:\buildtrees\vtk\x64-windows-dbg\Common\Core -ID:\buildtrees\vtk\src\edd2e5233f-2ed574e023.clean\Common\Core -external:ID:\buildtrees\vtk\x64-windows-dbg\Utilities\MPI -external:ID:\buildtrees\vtk\src\edd2e5233f-2ed574e023.clean\Utilities\MPI -external:ID:\installed\x64-windows\include -external:ID:\buildtrees\vtk\x64-windows-dbg\Utilities\KWIML -external:ID:\buildtrees\vtk\src\edd2e5233f-2ed574e023.clean\Utilities\KWIML -external:ID:\buildtrees\vtk\x64-windows-dbg\Utilities\KWSys -external:ID:\buildtrees\vtk\src\edd2e5233f-2ed574e023.clean\Utilities\KWSys -external:ID:\installed\x64-windows\include\python3.10 -external:W0 /nologo /DWIN32 /D_WINDOWS /W3 /utf-8 /MP /bigobj /D_DEBUG /MDd /Z7 /Ob0 /Od /RTC1 -MDd /showIncludes /FoThirdParty\mpi4py\vtkmpi4py\src\CMakeFiles\vtkmpi4py.MPI.dir\MPI.c.obj /FdThirdParty\mpi4py\vtkmpi4py\src\CMakeFiles\vtkmpi4py.MPI.dir\ /FS -c D:\buildtrees\vtk\src\edd2e5233f-2ed574e023.clean\ThirdParty\mpi4py\vtkmpi4py\src\MPI.c
D:\buildtrees\vtk\src\edd2e5233f-2ed574e023.clean\ThirdParty\mpi4py\vtkmpi4py\src\mpi4py.MPI.c(154210): error C2105: '++' needs l-value
D:\buildtrees\vtk\src\edd2e5233f-2ed574e023.clean\ThirdParty\mpi4py\vtkmpi4py\src\mpi4py.MPI.c(154212): error C2105: '--' needs l-value
D:\buildtrees\vtk\src\edd2e5233f-2ed574e023.clean\ThirdParty\mpi4py\vtkmpi4py\src\mpi4py.MPI.c(154500): error C2105: '++' needs l-value
D:\buildtrees\vtk\src\edd2e5233f-2ed574e023.clean\ThirdParty\mpi4py\vtkmpi4py\src\mpi4py.MPI.c(154502): error C2105: '--' needs l-value
D:\buildtrees\vtk\src\edd2e5233f-2ed574e023.clean\ThirdParty\mpi4py\vtkmpi4py\src\mpi4py.MPI.c(154880): error C2105: '++' needs l-value
D:\buildtrees\vtk\src\edd2e5233f-2ed574e023.clean\ThirdParty\mpi4py\vtkmpi4py\src\mpi4py.MPI.c(154882): error C2105: '--' needs l-value
D:\buildtrees\vtk\src\edd2e5233f-2ed574e023.clean\ThirdParty\mpi4py\vtkmpi4py\src\mpi4py.MPI.c(155076): error C2105: '++' needs l-value
D:\buildtrees\vtk\src\edd2e5233f-2ed574e023.clean\ThirdParty\mpi4py\vtkmpi4py\src\mpi4py.MPI.c(155078): error C2105: '--' needs l-value
D:\buildtrees\vtk\src\edd2e5233f-2ed574e023.clean\ThirdParty\mpi4py\vtkmpi4py\src\mpi4py.MPI.c(155263): error C2105: '++' needs l-value
D:\buildtrees\vtk\src\edd2e5233f-2ed574e023.clean\ThirdParty\mpi4py\vtkmpi4py\src\mpi4py.MPI.c(155265): error C2105: '--' needs l-value
D:\buildtrees\vtk\src\edd2e5233f-2ed574e023.clean\ThirdParty\mpi4py\vtkmpi4py\src\mpi4py.MPI.c(155459): error C2105: '++' needs l-value
D:\buildtrees\vtk\src\edd2e5233f-2ed574e023.clean\ThirdParty\mpi4py\vtkmpi4py\src\mpi4py.MPI.c(155461): error C2105: '--' needs l-value
D:\buildtrees\vtk\src\edd2e5233f-2ed574e023.clean\ThirdParty\mpi4py\vtkmpi4py\src\mpi4py.MPI.c(155678): error C2105: '++' needs l-value
D:\buildtrees\vtk\src\edd2e5233f-2ed574e023.clean\ThirdParty\mpi4py\vtkmpi4py\src\mpi4py.MPI.c(155680): error C2105: '--' needs l-value
D:\buildtrees\vtk\src\edd2e5233f-2ed574e023.clean\ThirdParty\mpi4py\vtkmpi4py\src\mpi4py.MPI.c(155848): error C2105: '++' needs l-value
D:\buildtrees\vtk\src\edd2e5233f-2ed574e023.clean\ThirdParty\mpi4py\vtkmpi4py\src\mpi4py.MPI.c(155850): error C2105: '--' needs l-value
D:\buildtrees\vtk\src\edd2e5233f-2ed574e023.clean\ThirdParty\mpi4py\vtkmpi4py\src\mpi4py.MPI.c(156863): error C2105: '++' needs l-value
D:\buildtrees\vtk\src\edd2e5233f-2ed574e023.clean\ThirdParty\mpi4py\vtkmpi4py\src\mpi4py.MPI.c(156865): error C2105: '--' needs l-value
D:\buildtrees\vtk\src\edd2e5233f-2ed574e023.clean\ThirdParty\mpi4py\vtkmpi4py\src\mpi4py.MPI.c(157169): error C2105: '++' needs l-value
D:\buildtrees\vtk\src\edd2e5233f-2ed574e023.clean\ThirdParty\mpi4py\vtkmpi4py\src\mpi4py.MPI.c(157171): error C2105: '--' needs l-value
D:\buildtrees\vtk\src\edd2e5233f-2ed574e023.clean\ThirdParty\mpi4py\vtkmpi4py\src\mpi4py.MPI.c(157439): error C2105: '++' needs l-value
D:\buildtrees\vtk\src\edd2e5233f-2ed574e023.clean\ThirdParty\mpi4py\vtkmpi4py\src\mpi4py.MPI.c(157441): error C2105: '--' needs l-value
D:\buildtrees\vtk\src\edd2e5233f-2ed574e023.clean\ThirdParty\mpi4py\vtkmpi4py\src\mpi4py.MPI.c(157612): error C2105: '++' needs l-value
D:\buildtrees\vtk\src\edd2e5233f-2ed574e023.clean\ThirdParty\mpi4py\vtkmpi4py\src\mpi4py.MPI.c(157614): error C2105: '--' needs l-value
D:\buildtrees\vtk\src\edd2e5233f-2ed574e023.clean\ThirdParty\mpi4py\vtkmpi4py\src\mpi4py.MPI.c(174420): warning C4996: '_PyUnicode_get_wstr_length': deprecated in 3.3
D:\buildtrees\vtk\src\edd2e5233f-2ed574e023.clean\ThirdParty\mpi4py\vtkmpi4py\src\mpi4py.MPI.c(174436): warning C4996: '_PyUnicode_get_wstr_length': deprecated in 3.3
```
Then I searched the same issue by google, and I found the workaround is:
```patch
diff --git a/ThirdParty/mpi4py/vtkmpi4py/src/mpi4py.MPI.c b/ThirdParty/mpi4py/vtkmpi4py/src/mpi4py.MPI.c
index d01c266..9983ac9 100644
--- a/ThirdParty/mpi4py/vtkmpi4py/src/mpi4py.MPI.c
+++ b/ThirdParty/mpi4py/vtkmpi4py/src/mpi4py.MPI.c
@@ -154207,9 +154207,9 @@ static void __pyx_tp_dealloc_6mpi4py_3MPI_Datatype(PyObject *o) {
{
PyObject *etype, *eval, *etb;
PyErr_Fetch(&etype, &eval, &etb);
- ++Py_REFCNT(o);
+ Py_SET_REFCNT(o, Py_REFCNT(o) + 1);
__pyx_pw_6mpi4py_3MPI_8Datatype_3__dealloc__(o);
- --Py_REFCNT(o);
+ Py_SET_REFCNT(o, Py_REFCNT(o) - 1);
PyErr_Restore(etype, eval, etb);
}
(*Py_TYPE(o)->tp_free)(o);
```
It seems that the problem is caused by the wrong version of cpython (or python? maybe).
And I found the mpi4py was updated to 3.1.3 now: https://github.com/mpi4py/mpi4py/tree/master.
Any ideas on this issue?
Thanks,
JackBen BoeckelBen Boeckelhttps://gitlab.kitware.com/vtk/vtk/-/issues/18572vtkGeometryFilter does not compile in Debug2022-06-14T19:29:20-04:00Ryan Krattigerryan.krattiger@kitware.comvtkGeometryFilter does not compile in Debug@spiros.tsalikis It looks like the refactor of vtkGeometryFilter changed some class memeber functions to free functions, but didn't change the `vtkDebugMacro` -> `vtkDebugWithObjectMacro` and it no longer compiles.
```
../Filters/Geomet...@spiros.tsalikis It looks like the refactor of vtkGeometryFilter changed some class memeber functions to free functions, but didn't change the `vtkDebugMacro` -> `vtkDebugWithObjectMacro` and it no longer compiles.
```
../Filters/Geometry/vtkGeometryFilter.cxx:2317:3: error: invalid use of 'this' outside of a non-static member function
vtkDebugMacro(<< "Executing geometry filter for poly data input");
^
../Common/Core/vtkSetGet.h:792:50: note: expanded from macro 'vtkDebugMacro'
#define vtkDebugMacro(x) vtkDebugWithObjectMacro(this, x)
```Spiros TsalikisSpiros Tsalikishttps://gitlab.kitware.com/vtk/vtk/-/issues/18576Fails to build with NetCDF 4.9.02022-07-07T21:03:17-04:00Bas CouwenbergFails to build with NetCDF 4.9.0As reported in [Debian Bug #1012703](https://bugs.debian.org/1012703), VTK fails to build with NetCDF 4.9.0:
```
In file included from /<<PKGBUILDDIR>>/debian/build/ThirdParty/netcdf/vtk_netcdf.h:22,
from /<<PKGBUILDDIR>...As reported in [Debian Bug #1012703](https://bugs.debian.org/1012703), VTK fails to build with NetCDF 4.9.0:
```
In file included from /<<PKGBUILDDIR>>/debian/build/ThirdParty/netcdf/vtk_netcdf.h:22,
from /<<PKGBUILDDIR>>/ThirdParty/exodusII/vtkexodusII/include/exodusII.h:22,
from /<<PKGBUILDDIR>>/ThirdParty/exodusII/vtkexodusII/src/ex_utils.c:20:
/<<PKGBUILDDIR>>/ThirdParty/exodusII/vtkexodusII/src/ex_utils.c: In function ‘vtkexodusII_ex__compress_variable’:
/<<PKGBUILDDIR>>/ThirdParty/exodusII/vtkexodusII/src/ex_utils.c:1773:19: error: expected identifier or ‘(’ before numeric constant
1773 | const int NC_SZIP_NN = 32; /* Selects nearest neighbor coding method for szip. */
| ^~~~~~~~~~
```
`netcdf.h` was updated in 4.9.0 to include:
```C
#define NC_SZIP_NN 32 /**< SZIP NN option mask. */
```
One solution to this conflict is renaming the variable, as done in this patch: [netcdf-4.9.0.patch](/uploads/a56d692dbc148ca790f9f9f2a897cc0a/netcdf-4.9.0.patch)9.2Ben BoeckelBen Boeckelhttps://gitlab.kitware.com/vtk/vtk/-/issues/18593CMake CheckCompilerFlag not found error with CMake version lower than 3.192022-07-13T07:09:06-04:00Stéphane ALBERTCMake CheckCompilerFlag not found error with CMake version lower than 3.19Building on Debian 10 with _GCC 8.3_ and _CMake 3.13.4_ causes the following _CMake_ configure error:
```
CMake Error at CMake/vtkCompilerWarningFlags.cmake:5 (include):
include could not find load file:
CheckCompilerFlag
Call Sta...Building on Debian 10 with _GCC 8.3_ and _CMake 3.13.4_ causes the following _CMake_ configure error:
```
CMake Error at CMake/vtkCompilerWarningFlags.cmake:5 (include):
include could not find load file:
CheckCompilerFlag
Call Stack (most recent call first):
CMakeLists.txt:54 (include)
```
In deed, [`CheckCompilerFlag`](https://cmake.org/cmake/help/latest/module/CheckCompilerFlag.html) is available since _CMake 3.19_, but the `cmake_minimum_required()` is limited to the `3.12...3.16` range in the main `CMakeLists.txt`.
I followed the contribution and development guidelines and pushed a fix on the [`CMake-3.19-CheckCompilerFlag`](https://gitlab.kitware.com/stephane.albert/vtk/-/commits/CMake-3.19-CheckCompilerFlag) branch of my [fork](https://gitlab.kitware.com/stephane.albert/vtk/). I'm not sure about the correct workflow to create a merge-request etc. and would need some help (all read the development guidelines).
Finally, I created a https://gitlab.kitware.com, forked, added a access token etc., but the _Gitlab_ account seems to be disabled or deleted a few days later since I wasn't able to log in. However, I succeeded to access an account using GMail sign in, but had to regenerate an access token.
Also, when using `git gitlab-push` I got an SSH key error. I then generated one and added the public key to my account, but still had some errors saying that the remote could be read nor written.Ben BoeckelBen Boeckelhttps://gitlab.kitware.com/vtk/vtk/-/issues/18595Follow-up from "vtkCompilerWarningFlags: populate warning flags"2022-08-08T11:05:54-04:00Ben BoeckelFollow-up from "vtkCompilerWarningFlags: populate warning flags"`-Wno-zero-as-null-pointer-constant`
The following discussion from !9321 should be addressed:
- [ ] @ben.boeckel started a [discussion](https://gitlab.kitware.com/vtk/vtk/-/merge_requests/9321#note_1207947):
> `clang-tidy` should...`-Wno-zero-as-null-pointer-constant`
The following discussion from !9321 should be addressed:
- [ ] @ben.boeckel started a [discussion](https://gitlab.kitware.com/vtk/vtk/-/merge_requests/9321#note_1207947):
> `clang-tidy` should be enforcing this; why is this disabled?
Cc: @seanmhttps://gitlab.kitware.com/vtk/vtk/-/issues/18596Follow-up from "vtkCompilerWarningFlags: populate warning flags"2022-07-05T18:10:51-04:00Ben BoeckelFollow-up from "vtkCompilerWarningFlags: populate warning flags"`-Wno-vla-extension` and `-Wno-vla`
The following discussion from !9321 should be addressed:
- [ ] @ben.boeckel started a [discussion](https://gitlab.kitware.com/vtk/vtk/-/merge_requests/9321#note_1207948):
> Where are we using V...`-Wno-vla-extension` and `-Wno-vla`
The following discussion from !9321 should be addressed:
- [ ] @ben.boeckel started a [discussion](https://gitlab.kitware.com/vtk/vtk/-/merge_requests/9321#note_1207948):
> Where are we using VLAs? We really shouldn't.
Cc: @seanmhttps://gitlab.kitware.com/vtk/vtk/-/issues/18605CI: Unit tests being skipped in mac2022-08-02T17:35:16-04:00Vicente Boleavicente.bolea@kitware.comCI: Unit tests being skipped in macOSX VTK CI instances are skipping a set of unit-tests since it cannot find numpy.
Examples are here:
- https://open.cdash.org/test/749318603
- https://open.cdash.org/viewTest.php?onlydelta&buildid=8027779
We either need to install num...OSX VTK CI instances are skipping a set of unit-tests since it cannot find numpy.
Examples are here:
- https://open.cdash.org/test/749318603
- https://open.cdash.org/viewTest.php?onlydelta&buildid=8027779
We either need to install numpy in those machines or properly disable these tests for OSX buildshttps://gitlab.kitware.com/vtk/vtk/-/issues/18624Update diy2 ti fix build errors.2023-08-17T16:15:22-04:00Alexander NeumannUpdate diy2 ti fix build errors.diy dropped small vector form choco to itlib.
Reason:
choco small vector won't compile with C++20 (and I currently see those errors.)diy dropped small vector form choco to itlib.
Reason:
choco small vector won't compile with C++20 (and I currently see those errors.)9.3Ben BoeckelBen Boeckelhttps://gitlab.kitware.com/vtk/vtk/-/issues/18625Build error in vtkDataReader2022-07-27T21:03:13-04:00Alexander NeumannBuild error in vtkDataReaderhttps://gitlab.kitware.com/vtk/vtk/-/blob/master/IO/Legacy/vtkDataReader.cxx#L297
won't compile for me using clang-cl and latest MSVC. It says it cannot find a valid overload or conversion. (e.g. char * to unsigned/signed char & etc.)
...https://gitlab.kitware.com/vtk/vtk/-/blob/master/IO/Legacy/vtkDataReader.cxx#L297
won't compile for me using clang-cl and latest MSVC. It says it cannot find a valid overload or conversion. (e.g. char * to unsigned/signed char & etc.)
(I am compiling 9.0 but since it did not change until know the error is probably still there)Ben BoeckelBen Boeckelhttps://gitlab.kitware.com/vtk/vtk/-/issues/18648Support for manylinux_aarch64?2024-01-26T15:35:05-05:00Hammad RehmanSupport for manylinux_aarch64?Are there any plans to include Pypi wheels for manylinux_aarch64 in future releases? Right now I'm having to build it from source with Python bindings.Are there any plans to include Pypi wheels for manylinux_aarch64 in future releases? Right now I'm having to build it from source with Python bindings.https://gitlab.kitware.com/vtk/vtk/-/issues/18671Improve Java packaging and CI2022-09-29T04:43:59-04:00Ben BoeckelImprove Java packaging and CIThere is a Maven packaging effort of VTK. Find out what could make things better from VTK's side.
/cc @sebastien.jourdainThere is a Maven packaging effort of VTK. Find out what could make things better from VTK's side.
/cc @sebastien.jourdainhttps://gitlab.kitware.com/vtk/vtk/-/issues/18705find_package(VTK QUIET COMPONENTS GUISupportQt) fails without qmake and moc b...2022-11-04T02:10:23-04:00yurivictfind_package(VTK QUIET COMPONENTS GUISupportQt) fails without qmake and moc being presentThe failure message:
```
Make Error at /usr/local/lib/cmake/Qt5Core/Qt5CoreConfig.cmake:14 (message):
The imported target "Qt5::Core" references the file
"/usr/local/lib/qt5/bin/qmake"
but this file does not exist. Possible r...The failure message:
```
Make Error at /usr/local/lib/cmake/Qt5Core/Qt5CoreConfig.cmake:14 (message):
The imported target "Qt5::Core" references the file
"/usr/local/lib/qt5/bin/qmake"
but this file does not exist. Possible reasons include:
* The file was deleted, renamed, or moved to another location.
* An install or uninstall procedure did not complete successfully.
* The installation package was faulty and contained
"/usr/local/lib/cmake/Qt5Core/Qt5CoreConfigExtras.cmake"
but not all the files it references.
Call Stack (most recent call first):
/usr/local/lib/cmake/Qt5Core/Qt5CoreConfigExtras.cmake:9 (_qt5_Core_check_file_exists)
/usr/local/lib/cmake/Qt5Core/Qt5CoreConfig.cmake:232 (include)
/usr/local/lib/cmake/Qt5Gui/Qt5GuiConfig.cmake:99 (find_package)
/usr/local/lib/cmake/Qt5Widgets/Qt5WidgetsConfig.cmake:99 (find_package)
/usr/local/lib/cmake/Qt5OpenGL/Qt5OpenGLConfig.cmake:99 (find_package)
/usr/local/lib/cmake/Qt5/Qt5Config.cmake:28 (find_package)
/usr/local/lib/cmake/vtk-9.2/VTK-vtk-module-find-packages.cmake:773 (find_package)
/usr/local/lib/cmake/vtk-9.2/vtk-config.cmake:152 (include)
CMakeLists.txt:4 (find_package)
```
qmakeand moc shouldn't be required by VTK because qmake and moc are build tools.
Version: 9.2.2
FreeBSD 13.1 STABLEhttps://gitlab.kitware.com/vtk/vtk/-/issues/18714Vtk9 fails to build when some other (unknown) package is installed: QQMLCompo...2023-05-11T10:20:07-04:00yurivictVtk9 fails to build when some other (unknown) package is installed: QQMLComponent: Component is not readyError:
```
FAILED: /lib/qml/VTK.9.2/libqmlvtkplugin.so lib/qml/VTK.9.2/plugins.qmltypes /usr/ports/math/vtk9/work/.build/lib/qml/VTK.9.2/plugins.qmltypes
QQMLComponent: Component is not ready
```
This error occurs on FreeBSD only when s...Error:
```
FAILED: /lib/qml/VTK.9.2/libqmlvtkplugin.so lib/qml/VTK.9.2/plugins.qmltypes /usr/ports/math/vtk9/work/.build/lib/qml/VTK.9.2/plugins.qmltypes
QQMLComponent: Component is not ready
```
This error occurs on FreeBSD only when some unrelated, unknown package is installed.
Please see the [downstream bug report](https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=267718).https://gitlab.kitware.com/vtk/vtk/-/issues/18738Build vtk 9.2 with pdal 2.4.3 on windows2023-02-24T05:50:24-05:00Timothée Coubletimothee.couble@kitware.comBuild vtk 9.2 with pdal 2.4.3 on windowsHi,
I could not build vtk with pdal 2.4.3 on windows. I think it is because pdal libraries are not link correctly (it's named differently on windows https://github.com/PDAL/PDAL/blob/master/CMakeLists.txt#L63).
In order to build vtk I ...Hi,
I could not build vtk with pdal 2.4.3 on windows. I think it is because pdal libraries are not link correctly (it's named differently on windows https://github.com/PDAL/PDAL/blob/master/CMakeLists.txt#L63).
In order to build vtk I had to replace in `IO/PDAL/CMakeLists.txt`:
```
vtk_module_link(VTK::IOPDAL
PRIVATE
pdal_base)
```
with
```
vtk_module_link(VTK::IOPDAL
PRIVATE
${PDAL_LIBRARIES})
```https://gitlab.kitware.com/vtk/vtk/-/issues/18739For vtk in python, add typing + `py.typed` so vtk code can be type checked pr...2023-01-18T16:05:31-05:00Jan RüeggFor vtk in python, add typing + `py.typed` so vtk code can be type checked properlySee also https://peps.python.org/pep-0561/
and http://www.mypy-lang.org
Right now, `mypy` can't even catch wrongly typed function names, like:
```
camera = vtkCamera()
camera.SetProsition() # instead of SetPosition
```
...See also https://peps.python.org/pep-0561/
and http://www.mypy-lang.org
Right now, `mypy` can't even catch wrongly typed function names, like:
```
camera = vtkCamera()
camera.SetProsition() # instead of SetPosition
```
Adding a `py.typed` file to the python package would catch these basic errors, even without adding more "real" typing information.