OpenTURNS filters do not compile with OpenTURNS 1.11
OpenTURNS filters do not compile with OpenTURNS 1.11
it fails with :
/home/glow/work/paraview/paraviewThird/paraview/VTK/Filters/OpenTurns/vtkOTDensityMap.cxx: In member function ‘virtual int vtkOTDensityMap::RequestData(vtkInformation*, vtkInformationVector**, vtkInformationVector*)’:
/home/glow/work/paraview/paraviewThird/paraview/VTK/Filters/OpenTurns/vtkOTDensityMap.cxx:164:93: error: no matching function for call to ‘vtkOTDistributionImplementationWrapper::vtkOTDistributionImplementationWrapper(OT::Distribution)’
this->DensityDistribution = new vtkOTDistributionImplementationWrapper(ks->build(*input));
^
In file included from /home/glow/work/paraview/paraviewThird/paraview/VTK/Filters/OpenTurns/vtkOTDensityMap.cxx:34:
/home/glow/work/paraview/paraviewThird/paraview/VTK/Filters/OpenTurns/vtkOTDistributionImplementationWrapper.h:30:3: note: candidate: ‘vtkOTDistributionImplementationWrapper::vtkOTDistributionImplementationWrapper(OT::DistributionFactoryImplementation::Implementation)’
vtkOTDistributionImplementationWrapper(OT::DistributionFactoryImplementation::Implementation impl)
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/glow/work/paraview/paraviewThird/paraview/VTK/Filters/OpenTurns/vtkOTDistributionImplementationWrapper.h:30:3: note: no known conversion for argument 1 from ‘OT::Distribution’ to ‘OT::DistributionFactoryImplementation::Implementation’ {aka ‘OT::Pointer<OT::DistributionImplementation>’}
/home/glow/work/paraview/paraviewThird/paraview/VTK/Filters/OpenTurns/vtkOTDistributionImplementationWrapper.h:27:7: note: candidate: ‘vtkOTDistributionImplementationWrapper::vtkOTDistributionImplementationWrapper(const vtkOTDistributionImplementationWrapper&)’
class vtkOTDistributionImplementationWrapper
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/glow/work/paraview/paraviewThird/paraview/VTK/Filters/OpenTurns/vtkOTDistributionImplementationWrapper.h:27:7: note: no known conversion for argument 1 from ‘OT::Distribution’ to ‘const vtkOTDistributionImplementationWrapper&’
/home/glow/work/paraview/paraviewThird/paraview/VTK/Filters/OpenTurns/vtkOTDistributionImplementationWrapper.h:27:7: note: candidate: ‘vtkOTDistributionImplementationWrapper::vtkOTDistributionImplementationWrapper(vtkOTDistributionImplementationWrapper&&)’
/home/glow/work/paraview/paraviewThird/paraview/VTK/Filters/OpenTurns/vtkOTDistributionImplementationWrapper.h:27:7: note: no known conversion for argument 1 from ‘OT::Distribution’ to ‘vtkOTDistributionImplementationWrapper&&’
In file included from /home/glow/work/openturns/openturns_install/include/openturns/PersistentCollection.hxx:26,
from /home/glow/work/openturns/openturns_install/include/openturns/Point.hxx:25,
from /home/glow/work/paraview/paraviewThird/paraview/VTK/Filters/OpenTurns/vtkOTIncludes.h:28,
from /home/glow/work/paraview/paraviewThird/paraview/VTK/Filters/OpenTurns/vtkOTDistributionImplementationWrapper.h:25,
from /home/glow/work/paraview/paraviewThird/paraview/VTK/Filters/OpenTurns/vtkOTDensityMap.cxx:34:
/home/glow/work/openturns/openturns_install/include/openturns/Collection.hxx: In instantiation of ‘OT::String OT::Collection<T>::__str__(const String&) const [with T = double; OT::String = std::__cxx11::basic_string<char>]’:
/home/glow/work/openturns/openturns_install/include/openturns/PersistentCollection.hxx:193:34: required from ‘OT::String OT::PersistentCollection<T>::__str__(const String&) const [with T = double; OT::String = std::__cxx11::basic_string<char>]’
/home/glow/work/openturns/openturns_install/include/openturns/PersistentCollection.hxx:56:13: required from ‘std::ostream& OT::operator<<(std::ostream&, const OT::PersistentCollection<T>&) [with T = double; std::ostream = std::basic_ostream<char>]’
/home/glow/work/openturns/openturns_install/include/openturns/OSS.hxx:74:9: required from ‘static void OT::OSSFormater<T>::apply(std::ostringstream&, T, int) [with T = OT::Point; std::ostringstream = std::__cxx11::basic_ostringstream<char>]’
/home/glow/work/openturns/openturns_install/include/openturns/OSS.hxx:178:31: required from ‘OT::OSS& OT::OSS::operator<<(T) [with T = OT::Point]’
/home/glow/work/openturns/openturns_install/include/openturns/DistributionImplementation.hxx:880:7: required from here
/home/glow/work/openturns/openturns_install/include/openturns/Collection.hxx:382:40: warning: unused parameter ‘offset’ [-Wunused-parameter]
inline String __str__(const String & offset = "") const
~~~~~~~~~~~~~~~^~~~~~~~~~~
/home/glow/work/openturns/openturns_install/include/openturns/Collection.hxx: In instantiation of ‘OT::String OT::Collection<T>::__str__(const String&) const [with T = long unsigned int; OT::String = std::__cxx11::basic_string<char>]’:
/home/glow/work/openturns/openturns_install/include/openturns/PersistentCollection.hxx:193:34: required from ‘OT::String OT::PersistentCollection<T>::__str__(const String&) const [with T = long unsigned int; OT::String = std::__cxx11::basic_string<char>]’
/home/glow/work/openturns/openturns_install/include/openturns/PersistentCollection.hxx:191:10: required from here
/home/glow/work/openturns/openturns_install/include/openturns/Collection.hxx:382:40: warning: unused parameter ‘offset’ [-Wunused-parameter]
/home/glow/work/openturns/openturns_install/include/openturns/Collection.hxx: In instantiation of ‘OT::String OT::Collection<T>::__str__(const String&) const [with T = std::__cxx11::basic_string<char>; OT::String = std::__cxx11::basic_string<char>]’:
/home/glow/work/openturns/openturns_install/include/openturns/PersistentCollection.hxx:193:34: required from ‘OT::String OT::PersistentCollection<T>::__str__(const String&) const [with T = std::__cxx11::basic_string<char>; OT::String = std::__cxx11::basic_string<char>]’
/home/glow/work/openturns/openturns_install/include/openturns/PersistentCollection.hxx:191:10: required from here
/home/glow/work/openturns/openturns_install/include/openturns/Collection.hxx:382:40: warning: unused parameter ‘offset’ [-Wunused-parameter]
ninja: build stopped: subcommand failed.