Compile error: ‘std::enable_if_t’ has not been declared
I am updating Flatpak package of ParaView on Linux. I failed to compile ParaView v5.11.2 on Linux.
From my understanding,
std::enable_if_t
is in C++14 standard but the compile flag is set to -std=c++11 an cause an error as seen in the log below.
I don't know what set -std=c++11.
I tried putting -DCMAKE_CXX_STANDARD=14 below but same error.
Compile options
- -DCMAKE_BUILD_TYPE:STRING=Release
- -DPARAVIEW_BUILD_DEVELOPER_DOCUMENTATION:BOOL=OFF
- -DPARAVIEW_BUILD_LEGACY_REMOVE:BOOL=OFF
- -DPARAVIEW_BUILD_LEGACY_SILENT:BOOL=OFF
- -DPARAVIEW_BUILD_SHARED_LIBS:BOOL=ON
- -DPARAVIEW_BUILD_TESTING:STRING=OFF
- -DPARAVIEW_BUILD_WITH_EXTERNAL:BOOL=OFF
- -DPARAVIEW_BUILD_WITH_KITS:BOOL=OFF
- -DPARAVIEW_ENABLE_ADIOS2:BOOL=ON
- -DPARAVIEW_ENABLE_CATALYST:BOOL=ON
- -DPARAVIEW_ENABLE_EXAMPLES:BOOL=ON
- -DPARAVIEW_ENABLE_FFMPEG:BOOL=ON
- -DPARAVIEW_ENABLE_FIDES:BOOL=ON
- -DPARAVIEW_ENABLE_GDAL:BOOL=ON
- -DPARAVIEW_ENABLE_LAS:BOOL=ON
- -DPARAVIEW_ENABLE_LOOKINGGLASS:BOOL=OFF
- -DPARAVIEW_ENABLE_MOMENTINVARIANTS:BOOL=OFF
- -DPARAVIEW_ENABLE_MOTIONFX:BOOL=ON
- -DPARAVIEW_ENABLE_NVPIPE:BOOL=OFF
- -DPARAVIEW_ENABLE_OPENTURNS:BOOL=ON
- -DPARAVIEW_ENABLE_OPENVDB:BOOL=OFF
- -DPARAVIEW_ENABLE_PDAL:BOOL=ON
- -DPARAVIEW_ENABLE_RAYTRACING:BOOL=ON
- -DPARAVIEW_ENABLE_VISITBRIDGE:BOOL=ON
- -DPARAVIEW_ENABLE_XDMF2:BOOL=ON
- -DPARAVIEW_ENABLE_XDMF3:BOOL=ON
- -DPARAVIEW_PLUGINS_DEFAULT:BOOL=ON
- -DPARAVIEW_PLUGIN_DISABLE_XML_DOCUMENTATION:BOOL=OFF
- -DPARAVIEW_PLUGIN_ENABLE_AcceleratedAlgorithms:BOOL=ON
- -DPARAVIEW_PLUGIN_ENABLE_AnalyzeNIfTIReaderWriter:BOOL=ON
- -DPARAVIEW_PLUGIN_ENABLE_ArrowGlyph:BOOL=ON
- -DPARAVIEW_PLUGIN_ENABLE_BagPlotViewsAndFilters:BOOL=ON
- -DPARAVIEW_PLUGIN_ENABLE_CAVEInteraction:BOOL=ON
- -DPARAVIEW_PLUGIN_ENABLE_CDIReader:BOOL=OFF
- -DPARAVIEW_PLUGIN_ENABLE_Datamine:BOOL=ON
- -DPARAVIEW_PLUGIN_ENABLE_DigitalRockPhysics:BOOL=ON
- -DPARAVIEW_PLUGIN_ENABLE_EmbossingRepresentations:BOOL=ON
- -DPARAVIEW_PLUGIN_ENABLE_ExplicitStructuredGrid:BOOL=ON
- -DPARAVIEW_PLUGIN_ENABLE_FlipBookPlugin:BOOL=ON
- -DPARAVIEW_PLUGIN_ENABLE_GMVReader:BOOL=ON
- -DPARAVIEW_PLUGIN_ENABLE_GeodesicMeasurement:BOOL=ON
- -DPARAVIEW_PLUGIN_ENABLE_GeographicalMap:BOOL=ON
- -DPARAVIEW_PLUGIN_ENABLE_GmshIO:BOOL=ON
- -DPARAVIEW_PLUGIN_ENABLE_GmshReader:BOOL=ON
- -DPARAVIEW_PLUGIN_ENABLE_HyperTreeGridADR:BOOL=ON
- -DPARAVIEW_PLUGIN_ENABLE_InSituExodus:BOOL=ON
- -DPARAVIEW_PLUGIN_ENABLE_LANLX3DReader:BOOL=ON
- -DPARAVIEW_PLUGIN_ENABLE_LagrangianParticleTracker:BOOL=ON
- -DPARAVIEW_PLUGIN_ENABLE_LegacyExodusReader:BOOL=ON
- -DPARAVIEW_PLUGIN_ENABLE_LookingGlass:BOOL=OFF
- -DPARAVIEW_PLUGIN_ENABLE_Moments:BOOL=ON
- -DPARAVIEW_PLUGIN_ENABLE_MooseXfemClip:BOOL=ON
- -DPARAVIEW_PLUGIN_ENABLE_NodeEditor:BOOL=ON
- -DPARAVIEW_PLUGIN_ENABLE_NonOrthogonalSource:BOOL=ON
- -DPARAVIEW_PLUGIN_ENABLE_PanoramicProjectionView:BOOL=ON
- -DPARAVIEW_PLUGIN_ENABLE_ParFlow:BOOL=OFF
- -DPARAVIEW_PLUGIN_ENABLE_ParametricSurfaces:BOOL=ON
- -DPARAVIEW_PLUGIN_ENABLE_SLACTools:BOOL=ON
- -DPARAVIEW_PLUGIN_ENABLE_SaveStateAndScreenshot:BOOL=ON
- -DPARAVIEW_PLUGIN_ENABLE_SpaceMouseInteractor:BOOL=ON
- -DPARAVIEW_PLUGIN_ENABLE_StreamLinesRepresentation:BOOL=ON
- -DPARAVIEW_PLUGIN_ENABLE_StreamingParticles:BOOL=ON
- -DPARAVIEW_PLUGIN_ENABLE_SurfaceLIC:BOOL=ON
- -DPARAVIEW_PLUGIN_ENABLE_ThickenLayeredCells:BOOL=ON
- -DPARAVIEW_PLUGIN_ENABLE_VDFReaderPlugin:BOOL=OFF
- -DPARAVIEW_PLUGIN_ENABLE_VTKmFilters:BOOL=ON
- -DPARAVIEW_PLUGIN_ENABLE_XRInterface:BOOL=OFF
- -DPARAVIEW_PLUGIN_ENABLE_pvNVIDIAIndeX:BOOL=OFF
- -DPARAVIEW_PLUGIN_ENABLE_zSpace:BOOL=OFF
- -DPARAVIEW_USE_CUDA:BOOL=OFF
- -DPARAVIEW_USE_HIP:BOOL=OFF
- -DPARAVIEW_USE_MEMKIND:BOOL=ON
- -DPARAVIEW_USE_MPI:BOOL=ON
- -DPARAVIEW_USE_PYTHON:BOOL=ON
- -DPARAVIEW_USE_QT:BOOL=ON
- -DPARAVIEW_USE_QTHELP:BOOL=ON
- -DPARAVIEW_USE_QTWEBENGINE:BOOL=ON
- -DPARAVIEW_USE_VTKM:BOOL=ON
- -DBUILD_EXAMPLES:BOOL=ON
- -DPARAVIEW_PLUGINS_DEFAULT:BOOL=ON
- -DPARAVIEW_INSTALL_DEVELOPMENT_FILES:BOOL=OFF
- -DGmsh_INCLUDE_DIR=/app/include
- -DGmsh_PRIVATE_INCLUDE_DIR=/app/include/gmsh
- -DCMAKE_CXX_STANDARD=14
cmake version 3.27.7
gcc (GCC) 13.2.0
g++ (GCC) 13.2.0
Operating System: openSUSE Tumbleweed 20231114
KDE Plasma Version: 5.27.9
KDE Frameworks Version: 5.112.0
Qt Version: 5.15.11
Kernel Version: 6.6.1-1-default (64-bit)
Graphics Platform: X11
Processors: 12 × AMD Ryzen 5 4600H with Radeon Graphics
Memory: 7.6 GiB of RAM
Graphics Processor: NVIDIA GeForce GTX 1650 Ti/PCIe/SSE2
Manufacturer: LENOVO
Product Name: 82B5
System Version: Lenovo Legion 5 15ARH05
[8712/22948] Building CXX object VTK/IO/PDAL/CMakeFiles/IOPDAL.dir/vtkPDALReader.cxx.o
FAILED: VTK/IO/PDAL/CMakeFiles/IOPDAL.dir/vtkPDALReader.cxx.o
/usr/bin/c++ -DIOPDAL_EXPORTS -Dkiss_fft_scalar=double -I/run/build/Paraview/_flatpak_build/VTK/IO/PDAL -I/run/build/Paraview/VTK/IO/PDAL -I/run/build/Paraview/_flatpak_build/VTK/Common/Core -I/run/build/Paraview/VTK/Common/Core -I/run/build/Paraview/_flatpak_build/VTK/Common/ExecutionModel -I/run/build/Paraview/VTK/Common/ExecutionModel -I/run/build/Paraview/_flatpak_build/VTK/Common/DataModel -I/run/build/Paraview/VTK/Common/DataModel -I/run/build/Paraview/_flatpak_build/VTK/Common/Math -I/run/build/Paraview/VTK/Common/Math -I/run/build/Paraview/_flatpak_build/VTK/ThirdParty/kissfft/vtkkissfft -I/run/build/Paraview/VTK/ThirdParty/kissfft/vtkkissfft -I/run/build/Paraview/_flatpak_build/VTK/Common/Transforms -I/run/build/Paraview/VTK/Common/Transforms -I/run/build/Paraview/_flatpak_build/VTK/Filters/General -I/run/build/Paraview/VTK/Filters/General -I/run/build/Paraview/_flatpak_build/VTK/Common/Misc -I/run/build/Paraview/VTK/Common/Misc -I/run/build/Paraview/_flatpak_build/VTK/Filters/Core -I/run/build/Paraview/VTK/Filters/Core -isystem /run/build/Paraview/_flatpak_build/VTK/Utilities/KWIML -isystem /run/build/Paraview/VTK/Utilities/KWIML -isystem /run/build/Paraview/_flatpak_build/VTK/Utilities/KWSys -isystem /run/build/Paraview/VTK/Utilities/KWSys -isystem /run/build/Paraview/_flatpak_build/VTK/ThirdParty/kissfft -isystem /run/build/Paraview/VTK/ThirdParty/kissfft -O2 -g -pipe -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -O3 -DNDEBUG -std=c++11 -fPIC -fvisibility=hidden -fvisibility-inlines-hidden -MD -MT VTK/IO/PDAL/CMakeFiles/IOPDAL.dir/vtkPDALReader.cxx.o -MF VTK/IO/PDAL/CMakeFiles/IOPDAL.dir/vtkPDALReader.cxx.o.d -o VTK/IO/PDAL/CMakeFiles/IOPDAL.dir/vtkPDALReader.cxx.o -c /run/build/Paraview/VTK/IO/PDAL/vtkPDALReader.cxx
In file included from /app/include/pdal/DimUtil.hpp:40,
from /app/include/pdal/Dimension.hpp:9,
from /app/include/pdal/Stage.hpp:39,
from /app/include/pdal/Reader.hpp:37,
from /run/build/Paraview/VTK/IO/PDAL/vtkPDALReader.cxx:45:
/app/include/pdal/util/Utils.hpp:975:31: error: ‘std::enable_if_t’ has not been declared
975 | template<typename T, std::enable_if_t<!std::is_integral<T>::value>* = nullptr>
| ^~~~~~~~~~~
/app/include/pdal/util/Utils.hpp:975:42: error: expected ‘>’ before ‘<’ token
975 | template<typename T, std::enable_if_t<!std::is_integral<T>::value>* = nullptr>
| ^
/app/include/pdal/util/Utils.hpp:994:31: error: ‘std::enable_if_t’ has not been declared
994 | template<typename T, std::enable_if_t<std::is_integral<T>::value>* = nullptr>
| ^~~~~~~~~~~
/app/include/pdal/util/Utils.hpp:994:42: error: expected ‘>’ before ‘<’ token
994 | template<typename T, std::enable_if_t<std::is_integral<T>::value>* = nullptr>
| ^
/app/include/pdal/util/Utils.hpp:995:22: error: redefinition of ‘template<class T, <typeprefixerror><anonymous> > pdal::Utils::StatusWithReason pdal::Utils::fromString(const std::string&, T&)’
995 | StatusWithReason fromString(const std::string& from, T& to)
| ^~~~~~~~~~
/app/include/pdal/util/Utils.hpp:976:22: note: ‘template<class T, <typeprefixerror><anonymous> > pdal::Utils::StatusWithReason pdal::Utils::fromString(const std::string&, T&)’ previously declared here
976 | StatusWithReason fromString(const std::string& from, T& to)
| ^~~~~~~~~~
/app/include/pdal/util/Utils.hpp:1012:29: error: template-id ‘fromString<>’ for ‘pdal::Utils::StatusWithReason pdal::Utils::fromString(const std::string&, std::string&)’ does not match any template declaration
1012 | inline StatusWithReason fromString(const std::string& from, std::string& to)
| ^~~~~~~~~~
/app/include/pdal/util/Utils.hpp:976:22: note: candidates are: ‘template<class T, <typeprefixerror><anonymous> > pdal::Utils::StatusWithReason pdal::Utils::fromString(const std::string&, T&)’
976 | StatusWithReason fromString(const std::string& from, T& to)
| ^~~~~~~~~~
/app/include/pdal/util/Utils.hpp:953:22: note: ‘template<class T> pdal::Utils::StatusWithReason pdal::Utils::fromString(const std::string&, T*&)’
953 | StatusWithReason fromString(const std::string& from, T* & to)
| ^~~~~~~~~~
/app/include/pdal/util/Utils.hpp:1026:29: error: template-id ‘fromString<>’ for ‘pdal::Utils::StatusWithReason pdal::Utils::fromString(const std::string&, char&)’ does not match any template declaration
1026 | inline StatusWithReason fromString(const std::string& s, char& to)
| ^~~~~~~~~~
/app/include/pdal/util/Utils.hpp:976:22: note: candidates are: ‘template<class T, <typeprefixerror><anonymous> > pdal::Utils::StatusWithReason pdal::Utils::fromString(const std::string&, T&)’
976 | StatusWithReason fromString(const std::string& from, T& to)
| ^~~~~~~~~~
/app/include/pdal/util/Utils.hpp:953:22: note: ‘template<class T> pdal::Utils::StatusWithReason pdal::Utils::fromString(const std::string&, T*&)’
953 | StatusWithReason fromString(const std::string& from, T* & to)
| ^~~~~~~~~~
/app/include/pdal/util/Utils.hpp:1057:29: error: template-id ‘fromString<>’ for ‘pdal::Utils::StatusWithReason pdal::Utils::fromString(const std::string&, unsigned char&)’ does not match any template declaration
1057 | inline StatusWithReason fromString(const std::string& s, unsigned char& to)
| ^~~~~~~~~~
/app/include/pdal/util/Utils.hpp:976:22: note: candidates are: ‘template<class T, <typeprefixerror><anonymous> > pdal::Utils::StatusWithReason pdal::Utils::fromString(const std::string&, T&)’
976 | StatusWithReason fromString(const std::string& from, T& to)
| ^~~~~~~~~~
/app/include/pdal/util/Utils.hpp:953:22: note: ‘template<class T> pdal::Utils::StatusWithReason pdal::Utils::fromString(const std::string&, T*&)’
953 | StatusWithReason fromString(const std::string& from, T* & to)
| ^~~~~~~~~~
/app/include/pdal/util/Utils.hpp:1089:29: error: template-id ‘fromString<>’ for ‘pdal::Utils::StatusWithReason pdal::Utils::fromString(const std::string&, signed char&)’ does not match any template declaration
1089 | inline StatusWithReason fromString(const std::string& s, signed char& to)
| ^~~~~~~~~~
/app/include/pdal/util/Utils.hpp:976:22: note: candidates are: ‘template<class T, <typeprefixerror><anonymous> > pdal::Utils::StatusWithReason pdal::Utils::fromString(const std::string&, T&)’
976 | StatusWithReason fromString(const std::string& from, T& to)
| ^~~~~~~~~~
/app/include/pdal/util/Utils.hpp:953:22: note: ‘template<class T> pdal::Utils::StatusWithReason pdal::Utils::fromString(const std::string&, T*&)’
953 | StatusWithReason fromString(const std::string& from, T* & to)
| ^~~~~~~~~~
/app/include/pdal/util/Utils.hpp:1120:29: error: template-id ‘fromString<>’ for ‘pdal::Utils::StatusWithReason pdal::Utils::fromString(const std::string&, double&)’ does not match any template declaration
1120 | inline StatusWithReason fromString(const std::string& s, double& d)
| ^~~~~~~~~~
/app/include/pdal/util/Utils.hpp:976:22: note: candidates are: ‘template<class T, <typeprefixerror><anonymous> > pdal::Utils::StatusWithReason pdal::Utils::fromString(const std::string&, T&)’
976 | StatusWithReason fromString(const std::string& from, T& to)
| ^~~~~~~~~~
/app/include/pdal/util/Utils.hpp:953:22: note: ‘template<class T> pdal::Utils::StatusWithReason pdal::Utils::fromString(const std::string&, T*&)’
953 | StatusWithReason fromString(const std::string& from, T* & to)
| ^~~~~~~~~~
In file included from /app/include/pdal/Dimension.hpp:10:
/app/include/pdal/pdal_types.hpp: In member function ‘bool pdal::XForm::XFormComponent::set(const std::string&)’:
/app/include/pdal/pdal_types.hpp:156:48: error: no matching function for call to ‘fromString(const std::string&, double&)’
156 | failed = !Utils::fromString(sval, m_val);
| ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~
/app/include/pdal/util/Utils.hpp:953:22: note: candidate: ‘template<class T> pdal::Utils::StatusWithReason pdal::Utils::fromString(const std::string&, T*&)’
953 | StatusWithReason fromString(const std::string& from, T* & to)
| ^~~~~~~~~~
/app/include/pdal/util/Utils.hpp:953:22: note: template argument deduction/substitution failed:
/app/include/pdal/pdal_types.hpp:156:48: note: mismatched types ‘T*’ and ‘double’
156 | failed = !Utils::fromString(sval, m_val);
| ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~
/app/include/pdal/util/Utils.hpp:976:22: note: candidate: ‘template<class T, <typeprefixerror><anonymous> > pdal::Utils::StatusWithReason pdal::Utils::fromString(const std::string&, T&)’
976 | StatusWithReason fromString(const std::string& from, T& to)
| ^~~~~~~~~~
/app/include/pdal/util/Utils.hpp:976:22: note: template argument deduction/substitution failed:
/app/include/pdal/pdal_types.hpp:156:48: note: couldn’t deduce template parameter ‘<anonymous>’
156 | failed = !Utils::fromString(sval, m_val);
| ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~
In file included from /app/include/pdal/Metadata.hpp:39,
from /app/include/pdal/Stage.hpp:42:
/app/include/pdal/util/Bounds.hpp: At global scope:
/app/include/pdal/util/Bounds.hpp:738:29: error: template-id ‘fromString<>’ for ‘pdal::Utils::StatusWithReason pdal::Utils::fromString(const std::string&, pdal::BOX2D&)’ does not match any template declaration
738 | inline StatusWithReason fromString(const std::string& s, BOX2D& bounds)
| ^~~~~~~~~~
/app/include/pdal/util/Utils.hpp:976:22: note: candidates are: ‘template<class T, <typeprefixerror><anonymous> > pdal::Utils::StatusWithReason pdal::Utils::fromString(const std::string&, T&)’
976 | StatusWithReason fromString(const std::string& from, T& to)
| ^~~~~~~~~~
/app/include/pdal/util/Utils.hpp:953:22: note: ‘template<class T> pdal::Utils::StatusWithReason pdal::Utils::fromString(const std::string&, T*&)’
953 | StatusWithReason fromString(const std::string& from, T* & to)
| ^~~~~~~~~~
/app/include/pdal/util/Bounds.hpp:755:29: error: template-id ‘fromString<>’ for ‘pdal::Utils::StatusWithReason pdal::Utils::fromString(const std::string&, pdal::BOX3D&)’ does not match any template declaration
755 | inline StatusWithReason fromString(const std::string& s, BOX3D& bounds)
| ^~~~~~~~~~
/app/include/pdal/util/Utils.hpp:976:22: note: candidates are: ‘template<class T, <typeprefixerror><anonymous> > pdal::Utils::StatusWithReason pdal::Utils::fromString(const std::string&, T&)’
976 | StatusWithReason fromString(const std::string& from, T& to)
| ^~~~~~~~~~
/app/include/pdal/util/Utils.hpp:953:22: note: ‘template<class T> pdal::Utils::StatusWithReason pdal::Utils::fromString(const std::string&, T*&)’
953 | StatusWithReason fromString(const std::string& from, T* & to)
| ^~~~~~~~~~
/app/include/pdal/util/Bounds.hpp:772:29: error: template-id ‘fromString<>’ for ‘pdal::Utils::StatusWithReason pdal::Utils::fromString(const std::string&, pdal::Bounds&)’ does not match any template declaration
772 | inline StatusWithReason fromString(const std::string& s, Bounds& bounds)
| ^~~~~~~~~~
/app/include/pdal/util/Utils.hpp:976:22: note: candidates are: ‘template<class T, <typeprefixerror><anonymous> > pdal::Utils::StatusWithReason pdal::Utils::fromString(const std::string&, T&)’
976 | StatusWithReason fromString(const std::string& from, T& to)
| ^~~~~~~~~~
/app/include/pdal/util/Utils.hpp:953:22: note: ‘template<class T> pdal::Utils::StatusWithReason pdal::Utils::fromString(const std::string&, T*&)’
953 | StatusWithReason fromString(const std::string& from, T* & to)
| ^~~~~~~~~~
/app/include/pdal/Metadata.hpp: In function ‘T pdal::MetadataDetail::value(const std::string&, const std::string&) [with T = bool; std::string = std::__cxx11::basic_string<char>]’:
/app/include/pdal/Metadata.hpp:398:27: error: no matching function for call to ‘fromString(const std::string&, bool&)’
398 | if (!Utils::fromString(value, b))
| ~~~~~~~~~~~~~~~~~^~~~~~~~~~
/app/include/pdal/util/Utils.hpp:953:22: note: candidate: ‘template<class T> pdal::Utils::StatusWithReason pdal::Utils::fromString(const std::string&, T*&)’
953 | StatusWithReason fromString(const std::string& from, T* & to)
| ^~~~~~~~~~
/app/include/pdal/util/Utils.hpp:953:22: note: template argument deduction/substitution failed:
/app/include/pdal/Metadata.hpp:398:27: note: mismatched types ‘T*’ and ‘bool’
398 | if (!Utils::fromString(value, b))
| ~~~~~~~~~~~~~~~~~^~~~~~~~~~
/app/include/pdal/util/Utils.hpp:976:22: note: candidate: ‘template<class T, <typeprefixerror><anonymous> > pdal::Utils::StatusWithReason pdal::Utils::fromString(const std::string&, T&)’
976 | StatusWithReason fromString(const std::string& from, T& to)
| ^~~~~~~~~~
/app/include/pdal/util/Utils.hpp:976:22: note: template argument deduction/substitution failed:
/app/include/pdal/Metadata.hpp:398:27: note: couldn’t deduce template parameter ‘<anonymous>’
398 | if (!Utils::fromString(value, b))
| ~~~~~~~~~~~~~~~~~^~~~~~~~~~
In file included from /app/include/pdal/Kernel.hpp:46,
from /app/include/pdal/PluginHelper.hpp:43,
from /app/include/pdal/Stage.hpp:45:
/app/include/pdal/util/ProgramArgs.hpp: In instantiation of ‘void pdal::TArg<T>::setValue(const std::string&) [with T = std::__cxx11::basic_string<char>; std::string = std::__cxx11::basic_string<char>]’:
/app/include/pdal/util/ProgramArgs.hpp:400:18: required from here
/app/include/pdal/util/ProgramArgs.hpp:414:40: error: no matching function for call to ‘fromString(const std::string&, std::__cxx11::basic_string<char>&)’
414 | auto status = Utils::fromString(s, m_var);
| ~~~~~~~~~~~~~~~~~^~~~~~~~~~
/app/include/pdal/util/Utils.hpp:953:22: note: candidate: ‘template<class T> pdal::Utils::StatusWithReason pdal::Utils::fromString(const std::string&, T*&)’
953 | StatusWithReason fromString(const std::string& from, T* & to)
| ^~~~~~~~~~
/app/include/pdal/util/Utils.hpp:953:22: note: template argument deduction/substitution failed:
/app/include/pdal/util/ProgramArgs.hpp:414:40: note: mismatched types ‘T*’ and ‘std::__cxx11::basic_string<char>’
414 | auto status = Utils::fromString(s, m_var);
| ~~~~~~~~~~~~~~~~~^~~~~~~~~~
/app/include/pdal/util/Utils.hpp:976:22: note: candidate: ‘template<class T, <typeprefixerror><anonymous> > pdal::Utils::StatusWithReason pdal::Utils::fromString(const std::string&, T&)’
976 | StatusWithReason fromString(const std::string& from, T& to)
| ^~~~~~~~~~
/app/include/pdal/util/Utils.hpp:976:22: note: template argument deduction/substitution failed:
/app/include/pdal/util/ProgramArgs.hpp:414:40: note: couldn’t deduce template parameter ‘<anonymous>’
414 | auto status = Utils::fromString(s, m_var);
| ~~~~~~~~~~~~~~~~~^~~~~~~~~~
[8715/22948] Building C object VTK/ThirdParty/theora/vtktheora/CMakeFiles/theora.dir/lib/decode.c.o
In function ‘oc_dec_init’,
inlined from ‘vtktheora_th_decode_alloc’ at /run/build/Paraview/VTK/ThirdParty/theora/vtktheora/lib/decode.c:1957:17:
/run/build/Paraview/VTK/ThirdParty/theora/vtktheora/lib/decode.c:400:49: warning: iteration 2 invokes undefined behavior [-Waggressive-loop-optimizations]
400 | qsum+=_dec->state.dequant_tables[qti][pli][qi][12]+
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~
/run/build/Paraview/VTK/ThirdParty/theora/vtktheora/lib/decode.c:396:14: note: within this loop
396 | for(qi=0;qi<64;qi++){
| ~~^~~
[8723/22948] Building CXX object VTK/IO/Exodus/CMakeFiles/IOExodus.dir/vtkExodusIIReader.cxx.o
ninja: build stopped: subcommand failed.