I’m trying now to build an updated superbuild (master, with a git checkout of today) without mesa but using NVIDIA openGL. Now it arrives to paraview compilation but it gives the following error.
I’ve seen from paraview gitlab repository that the file that gives the error (pqMultiViewWidget.cxx) has been changed 3 days ago. Is there any known issue about this problem?
Thank you for your help
/home/local/paraview/BUILD/ParaViewSuperBuild_5.6.0_11.03.2019/superbuild/paraview/src/Qt/Components/pqMultiViewWidget.cxx: In constructor ‘pqMultiViewWidget::pqInternals::pqInternals(pqMultiViewWidget*)’:
/home/local/paraview/BUILD/ParaViewSuperBuild_5.6.0_11.03.2019/superbuild/paraview/src/Qt/Components/pqMultiViewWidget.cxx:123:8: error: no matching function for call to ‘QObject::connect(QPointer<pqHierarchicalGridWidget>&, void (pqHierarchicalGridWidget::*)(int, double), pqMultiViewWidget::pqInternals::pqInternals(pqMultiViewWidget*)::__lambda5)’
});
^
/home/local/paraview/BUILD/ParaViewSuperBuild_5.6.0_11.03.2019/superbuild/paraview/src/Qt/Components/pqMultiViewWidget.cxx:123:8: note: candidates are:
In file included from /home/local/paraview/BUILD/ParaViewSuperBuild_5.6.0_11.03.2019/install/include/QtWidgets/qwidget.h:45:0,
from /home/local/paraview/BUILD/ParaViewSuperBuild_5.6.0_11.03.2019/install/include/QtWidgets/QWidget:1,
from /home/local/paraview/BUILD/ParaViewSuperBuild_5.6.0_11.03.2019/superbuild/paraview/src/Qt/Components/pqMultiViewWidget.h:36,
from /home/local/paraview/BUILD/ParaViewSuperBuild_5.6.0_11.03.2019/superbuild/paraview/src/Qt/Components/pqMultiViewWidget.cxx:32:
/home/local/paraview/BUILD/ParaViewSuperBuild_5.6.0_11.03.2019/install/include/QtCore/qobject.h:214:36: note: static QMetaObject::Connection QObject::connect(const QObject*, const char*, const QObject*, const char*, Qt::ConnectionType)
static QMetaObject::Connection connect(const QObject *sender, const char *signal,
^
/home/local/paraview/BUILD/ParaViewSuperBuild_5.6.0_11.03.2019/install/include/QtCore/qobject.h:214:36: note: candidate expects 5 arguments, 3 provided
/home/local/paraview/BUILD/ParaViewSuperBuild_5.6.0_11.03.2019/install/include/QtCore/qobject.h:217:36: note: static QMetaObject::Connection QObject::connect(const QObject*, const QMetaMethod&, const QObject*, const QMetaMethod&, Qt::ConnectionType)
static QMetaObject::Connection connect(const QObject *sender, const QMetaMethod &signal,
^
/home/local/paraview/BUILD/ParaViewSuperBuild_5.6.0_11.03.2019/install/include/QtCore/qobject.h:217:36: note: candidate expects 5 arguments, 3 provided
/home/local/paraview/BUILD/ParaViewSuperBuild_5.6.0_11.03.2019/install/include/QtCore/qobject.h:469:32: note: QMetaObject::Connection QObject::connect(const QObject*, const char*, const char*, Qt::ConnectionType) const
inline QMetaObject::Connection QObject::connect(const QObject *asender, const char *asignal,
^
/home/local/paraview/BUILD/ParaViewSuperBuild_5.6.0_11.03.2019/install/include/QtCore/qobject.h:469:32: note: no known conversion for argument 2 from ‘void (pqHierarchicalGridWidget::*)(int, double)’ to ‘const char*’
/home/local/paraview/BUILD/ParaViewSuperBuild_5.6.0_11.03.2019/install/include/QtCore/qobject.h:234:43: note: template<class Func1, class Func2> static QMetaObject::Connection QObject::connect(const typename QtPrivate::FunctionPointer<Func>::Object*, Func1, const typename QtPrivate::FunctionPointer<Func2>::Object*, Func2, Qt::ConnectionType)
static inline QMetaObject::Connection connect(const typename QtPrivate::FunctionPointer<Func1>::Object *sender, Func1 signal,
^
/home/local/paraview/BUILD/ParaViewSuperBuild_5.6.0_11.03.2019/install/include/QtCore/qobject.h:234:43: note: template argument deduction/substitution failed:
/home/local/paraview/BUILD/ParaViewSuperBuild_5.6.0_11.03.2019/superbuild/paraview/src/Qt/Components/pqMultiViewWidget.cxx:123:8: note: mismatched types ‘const typename QtPrivate::FunctionPointer<Func>::Object*’ and ‘QPointer<pqHierarchicalGridWidget>’
});
^
In file included from /home/local/paraview/BUILD/ParaViewSuperBuild_5.6.0_11.03.2019/install/include/QtWidgets/qwidget.h:45:0,
from /home/local/paraview/BUILD/ParaViewSuperBuild_5.6.0_11.03.2019/install/include/QtWidgets/QWidget:1,
from /home/local/paraview/BUILD/ParaViewSuperBuild_5.6.0_11.03.2019/superbuild/paraview/src/Qt/Components/pqMultiViewWidget.h:36,
from /home/local/paraview/BUILD/ParaViewSuperBuild_5.6.0_11.03.2019/superbuild/paraview/src/Qt/Components/pqMultiViewWidget.cxx:32:
/home/local/paraview/BUILD/ParaViewSuperBuild_5.6.0_11.03.2019/install/include/QtCore/qobject.h:266:13: note: template<class Func1, class Func2> static typename std::enable_if<((int)(QtPrivate::FunctionPointer<Func2>::ArgumentCount) >= 0), QMetaObject::Connection>::type QObject::connect(const typename QtPrivate::FunctionPointer<Func>::Object*, Func1, Func2)
connect(const typename QtPrivate::FunctionPointer<Func1>::Object *sender, Func1 signal, Func2 slot)
^
/home/local/paraview/BUILD/ParaViewSuperBuild_5.6.0_11.03.2019/install/include/QtCore/qobject.h:266:13: note: template argument deduction/substitution failed:
/home/local/paraview/BUILD/ParaViewSuperBuild_5.6.0_11.03.2019/superbuild/paraview/src/Qt/Components/pqMultiViewWidget.cxx:123:8: note: mismatched types ‘const typename QtPrivate::FunctionPointer<Func>::Object*’ and ‘QPointer<pqHierarchicalGridWidget>’
});
^
In file included from /home/local/paraview/BUILD/ParaViewSuperBuild_5.6.0_11.03.2019/install/include/QtWidgets/qwidget.h:45:0,
from /home/local/paraview/BUILD/ParaViewSuperBuild_5.6.0_11.03.2019/install/include/QtWidgets/QWidget:1,
from /home/local/paraview/BUILD/ParaViewSuperBuild_5.6.0_11.03.2019/superbuild/paraview/src/Qt/Components/pqMultiViewWidget.h:36,
from /home/local/paraview/BUILD/ParaViewSuperBuild_5.6.0_11.03.2019/superbuild/paraview/src/Qt/Components/pqMultiViewWidget.cxx:32:
/home/local/paraview/BUILD/ParaViewSuperBuild_5.6.0_11.03.2019/install/include/QtCore/qobject.h:275:13: note: template<class Func1, class Func2> static typename std::enable_if<(((int)(QtPrivate::FunctionPointer<Func2>::ArgumentCount) >= 0) && (! QtPrivate::FunctionPointer<Func2>::IsPointerToMemberFunction)), QMetaObject::Connection>::type QObject::connect(const typename QtPrivate::FunctionPointer<Func>::Object*, Func1, const QObject*, Func2, Qt::ConnectionType)
connect(const typename QtPrivate::FunctionPointer<Func1>::Object *sender, Func1 signal, const QObject *context, Func2 slot,
^
/home/local/paraview/BUILD/ParaViewSuperBuild_5.6.0_11.03.2019/install/include/QtCore/qobject.h:275:13: note: template argument deduction/substitution failed:
/home/local/paraview/BUILD/ParaViewSuperBuild_5.6.0_11.03.2019/superbuild/paraview/src/Qt/Components/pqMultiViewWidget.cxx:123:8: note: mismatched types ‘const typename QtPrivate::FunctionPointer<Func>::Object*’ and ‘QPointer<pqHierarchicalGridWidget>’
});
^
In file included from /home/local/paraview/BUILD/ParaViewSuperBuild_5.6.0_11.03.2019/install/include/QtWidgets/qwidget.h:45:0,
from /home/local/paraview/BUILD/ParaViewSuperBuild_5.6.0_11.03.2019/install/include/QtWidgets/QWidget:1,
from /home/local/paraview/BUILD/ParaViewSuperBuild_5.6.0_11.03.2019/superbuild/paraview/src/Qt/Components/pqMultiViewWidget.h:36,
from /home/local/paraview/BUILD/ParaViewSuperBuild_5.6.0_11.03.2019/superbuild/paraview/src/Qt/Components/pqMultiViewWidget.cxx:32:
/home/local/paraview/BUILD/ParaViewSuperBuild_5.6.0_11.03.2019/install/include/QtCore/qobject.h:306:13: note: template<class Func1, class Func2> static typename std::enable_if<(QtPrivate::FunctionPointer<Func2>::ArgumentCount == (-1)), QMetaObject::Connection>::type QObject::connect(const typename QtPrivate::FunctionPointer<Func>::Object*, Func1, Func2)
connect(const typename QtPrivate::FunctionPointer<Func1>::Object *sender, Func1 signal, Func2 slot)
^
/home/local/paraview/BUILD/ParaViewSuperBuild_5.6.0_11.03.2019/install/include/QtCore/qobject.h:306:13: note: template argument deduction/substitution failed:
/home/local/paraview/BUILD/ParaViewSuperBuild_5.6.0_11.03.2019/superbuild/paraview/src/Qt/Components/pqMultiViewWidget.cxx:123:8: note: mismatched types ‘const typename QtPrivate::FunctionPointer<Func>::Object*’ and ‘QPointer<pqHierarchicalGridWidget>’
});
^
In file included from /home/local/paraview/BUILD/ParaViewSuperBuild_5.6.0_11.03.2019/install/include/QtWidgets/qwidget.h:45:0,
from /home/local/paraview/BUILD/ParaViewSuperBuild_5.6.0_11.03.2019/install/include/QtWidgets/QWidget:1,
from /home/local/paraview/BUILD/ParaViewSuperBuild_5.6.0_11.03.2019/superbuild/paraview/src/Qt/Components/pqMultiViewWidget.h:36,
from /home/local/paraview/BUILD/ParaViewSuperBuild_5.6.0_11.03.2019/superbuild/paraview/src/Qt/Components/pqMultiViewWidget.cxx:32:
/home/local/paraview/BUILD/ParaViewSuperBuild_5.6.0_11.03.2019/install/include/QtCore/qobject.h:314:13: note: template<class Func1, class Func2> static typename std::enable_if<(QtPrivate::FunctionPointer<Func2>::ArgumentCount == (-1)), QMetaObject::Connection>::type QObject::connect(const typename QtPrivate::FunctionPointer<Func>::Object*, Func1, const QObject*, Func2, Qt::ConnectionType)
connect(const typename QtPrivate::FunctionPointer<Func1>::Object *sender, Func1 signal, const QObject *context, Func2 slot,
^
/home/local/paraview/BUILD/ParaViewSuperBuild_5.6.0_11.03.2019/install/include/QtCore/qobject.h:314:13: note: template argument deduction/substitution failed:
/home/local/paraview/BUILD/ParaViewSuperBuild_5.6.0_11.03.2019/superbuild/paraview/src/Qt/Components/pqMultiViewWidget.cxx:123:8: note: mismatched types ‘const typename QtPrivate::FunctionPointer<Func>::Object*’ and ‘QPointer<pqHierarchicalGridWidget>’
});
^
[ 98%] Building CXX object Qt/Components/CMakeFiles/pqComponents.dir/pqPropertyGroupWidget.cxx.o
[ 98%] Building CXX object Qt/Components/CMakeFiles/pqComponents.dir/pqPropertyWidget.cxx.o
Qt/Components/CMakeFiles/pqComponents.dir/build.make:1376: set di istruzioni per l'obiettivo "Qt/Components/CMakeFiles/pqComponents.dir/pqMultiViewWidget.cxx.o" non riuscito
gmake[5]: *** [Qt/Components/CMakeFiles/pqComponents.dir/pqMultiViewWidget.cxx.o] Errore 1
gmake[5]: *** Attesa per i processi non terminati....
CMakeFiles/Makefile2:33787: set di istruzioni per l'obiettivo "Qt/Components/CMakeFiles/pqComponents.dir/all" non riuscito
gmake[4]: *** [Qt/Components/CMakeFiles/pqComponents.dir/all] Errore 2
Makefile:129: set di istruzioni per l'obiettivo "all" non riuscito
gmake[3]: *** [all] Errore 2
CMake Error at /home/local/paraview/BUILD/ParaViewSuperBuild_5.6.0_11.03.2019/superbuild/sb-paraview-build.cmake:47 (message):
Failed with exit code 2
superbuild/CMakeFiles/paraview.dir/build.make:136: set di istruzioni per l'obiettivo "superbuild/paraview/stamp/paraview-build" non riuscito
make[2]: *** [superbuild/paraview/stamp/paraview-build] Errore 1
CMakeFiles/Makefile2:767: set di istruzioni per l'obiettivo "superbuild/CMakeFiles/paraview.dir/all" non riuscito
make[1]: *** [superbuild/CMakeFiles/paraview.dir/all] Errore 2
Makefile:129: set di istruzioni per l'obiettivo "all" non riuscito
make: *** [all] Errore 2