Open danwills opened 1 week ago
I thought I'd see how golly goes, well when I try to launch golly now I get a dialog that says:
This program wasn't compiled with EGL support required under Wayland, either install EGL libraries and rebuild or run it under X11 backend by setting environment variable GDK_BACKEND=x11 before starting your program.
Am thinking of maybe going back to X for a bit..
env GDK_BACKEND=x11 golly
That starts golly with no warnings.. but it doesn't seem to help ready
Ah I realized I was using an old build of vtk because I've never been able to make it use the system one for some reason! Reconfigured it and am rebuilding it now.. hopefully that will help!
The new VTK seemed to help however I got stuck on a compiler error:
[ 93%] Building CXX object CMakeFiles/ready.dir/src/gui/prefs.cpp.o
[ 93%] Building CXX object CMakeFiles/ready.dir/src/gui/app.cpp.o
[ 94%] Building CXX object CMakeFiles/ready.dir/src/gui/frame.cpp.o
In file included from /usr/include/GL/glx.h:31,
from /usr/include/wx-3.0/wx/unix/glx11.h:13,
from /usr/include/wx-3.0/wx/gtk/glcanvas.h:14,
from /usr/include/wx-3.0/wx/glcanvas.h:195,
from /home/dan/dev/ready/readyGit/8thSept2024/src/gui/wxVTKRenderWindowInteractor.h:67,
from /home/dan/dev/ready/readyGit/8thSept2024/src/gui/frame.cpp:61:
/home/dan/dev/vtk/9.2.2/VTK-9.3.1/Common/Core/vtkDataArray.h:707:8: error: expected identifier before numeric constant
707 | struct AllValues
| ^~~~~
/home/dan/dev/vtk/9.2.2/VTK-9.3.1/Common/Core/vtkDataArray.h:707:8: error: expected unqualified-id before numeric constant
/home/dan/dev/vtk/9.2.2/VTK-9.3.1/Common/Core/vtkGenericDataArray.h:429:13: error: expected identifier before numeric constant
429 | A, R[2], AllValues, const unsigned char ghosts, unsigned char ghostsToSkip);
| ^~~~~
/home/dan/dev/vtk/9.2.2/VTK-9.3.1/Common/Core/vtkGenericDataArray.h:429:13: error: expected ‘,’ or ‘...’ before numeric constant
/home/dan/dev/vtk/9.2.2/VTK-9.3.1/Common/Core/vtkGenericDataArray.h:541:13: error: expected identifier before numeric constant
541 | A, R[2], AllValues, const unsigned char ghosts, unsigned char ghostsToSkip);
| ^~~~~
/home/dan/dev/vtk/9.2.2/VTK-9.3.1/Common/Core/vtkGenericDataArray.h:541:13: error: expected ‘,’ or ‘...’ before numeric constant
/home/dan/dev/vtk/9.2.2/VTK-9.3.1/Common/Core/vtkGenericDataArray.h:577:1: error: expected identifier before numeric constant
577 | VTK_DECLARE_VALUERANGE_VALUETYPE(long)
| ^~~~~~~~
/home/dan/dev/vtk/9.2.2/VTK-9.3.1/Common/Core/vtkGenericDataArray.h:577:1: error: expected ‘,’ or ‘...’ before numeric constant
In file included from /home/dan/dev/vtk/9.2.2/VTK-9.3.1/Common/Core/vtkGenericDataArray.txx:6,
from /home/dan/dev/vtk/9.2.2/VTK-9.3.1/Common/Core/vtkGenericDataArray.h:436,
from /home/dan/dev/vtk/9.2.2/VTK-9.3.1/Common/Core/vtkAOSDataArrayTemplate.h:26,
from /home/dan/dev/vtk/9.2.2/VTK-9.3.1/Common/DataModel/vtkCellArray.h:129,
from /home/dan/dev/ready/readyGit/8thSept2024/src/gui/frame.cpp:69:
/home/dan/dev/vtk/9.2.2/VTK-9.3.1/Common/Core/vtkGenericDataArray.h:577:1: error: template-id ‘DoComputeScalarRange<>’ for ‘bool vtkDataArrayPrivate::DoComputeScalarRange(vtkAOSDataArrayTemplate~~~~~~~
/home/dan/dev/vtk/9.2.2/VTK-9.3.1/Common/Core/vtkGenericDataArray.h:425:27: note: candidate is: ‘template<class A, class R, class T> bool vtkDataArrayPrivate::DoComputeScalarRange(A, R, T, const unsigned char, unsigned char)’
425 | VTKCOMMONCORE_EXPORT bool DoComputeScalarRange(
| ^~~~~~~~
/home/dan/dev/vtk/9.2.2/VTK-9.3.1/Common/Core/vtkGenericDataArray.h:577:1: error: expected identifier before numeric constant
577 | VTK_DECLARE_VALUERANGE_VALUETYPE(long)
| ^~~~~~~~
/home/dan/dev/vtk/9.2.2/VTK-9.3.1/Common/Core/vtkGenericDataArray.h:577:1: error: expected ‘,’ or ‘...’ before numeric constant
/home/dan/dev/vtk/9.2.2/VTK-9.3.1/Common/Core/vtkGenericDataArray.h:577:1: error: expected identifier before numeric constant
577 | VTK_DECLARE_VALUERANGE_VALUETYPE(long)
| ^~~~~~~~
/home/dan/dev/vtk/9.2.2/VTK-9.3.1/Common/Core/vtkGenericDataArray.h:577:1: error: expected ‘,’ or ‘...’ before numeric constant
/home/dan/dev/vtk/9.2.2/VTK-9.3.1/Common/Core/vtkGenericDataArray.h:577:1: error: template-id ‘DoComputeScalarRange<>’ for ‘bool vtkDataArrayPrivate::DoComputeScalarRange(vtkSOADataArrayTemplate~~~~~~~
/home/dan/dev/vtk/9.2.2/VTK-9.3.1/Common/Core/vtkGenericDataArray.h:425:27: note: candidate is: ‘template<class A, class R, class T> bool vtkDataArrayPrivate::DoComputeScalarRange(A, R, T, const unsigned char, unsigned char)’
425 | VTKCOMMONCORE_EXPORT bool DoComputeScalarRange(
| ^~~~~~~~
/home/dan/dev/vtk/9.2.2/VTK-9.3.1/Common/Core/vtkGenericDataArray.h:577:1: error: expected identifier before numeric constant
577 | VTK_DECLARE_VALUERANGE_VALUETYPE(long)
| ^~~~~~~~
/home/dan/dev/vtk/9.2.2/VTK-9.3.1/Common/Core/vtkGenericDataArray.h:577:1: error: expected ‘,’ or ‘...’ before numeric constant
/home/dan/dev/vtk/9.2.2/VTK-9.3.1/Common/Core/vtkGenericDataArray.h:578:1: error: expected identifier before numeric constant
578 | VTK_DECLARE_VALUERANGE_VALUETYPE(unsigned long)
| ^~~~~~~~
/home/dan/dev/vtk/9.2.2/VTK-9.3.1/Common/Core/vtkGenericDataArray.h:578:1: error: expected ‘,’ or ‘...’ before numeric constant
/home/dan/dev/vtk/9.2.2/VTK-9.3.1/Common/Core/vtkGenericDataArray.h:578:1: error: template-id ‘DoComputeScalarRange<>’ for ‘bool vtkDataArrayPrivate::DoComputeScalarRange(vtkAOSDataArrayTemplate~~~~~~~
/home/dan/dev/vtk/9.2.2/VTK-9.3.1/Common/Core/vtkGenericDataArray.h:425:27: note: candidate is: ‘template<class A, class R, class T> bool vtkDataArrayPrivate::DoComputeScalarRange(A, R, T, const unsigned char, unsigned char)’
425 | VTKCOMMONCORE_EXPORT bool DoComputeScalarRange(
| ^~~~~~~~
/home/dan/dev/vtk/9.2.2/VTK-9.3.1/Common/Core/vtkGenericDataArray.h:578:1: error: expected identifier before numeric constant
578 | VTK_DECLARE_VALUERANGE_VALUETYPE(unsigned long)
| ^~~~~~~~
/home/dan/dev/vtk/9.2.2/VTK-9.3.1/Common/Core/vtkGenericDataArray.h:578:1: error: expected ‘,’ or ‘...’ before numeric constant
/home/dan/dev/vtk/9.2.2/VTK-9.3.1/Common/Core/vtkGenericDataArray.h:578:1: error: expected identifier before numeric constant
578 | VTK_DECLARE_VALUERANGE_VALUETYPE(unsigned long)
| ^~~~~~~~
/home/dan/dev/vtk/9.2.2/VTK-9.3.1/Common/Core/vtkGenericDataArray.h:578:1: error: expected ‘,’ or ‘...’ before numeric constant
/home/dan/dev/vtk/9.2.2/VTK-9.3.1/Common/Core/vtkGenericDataArray.h:578:1: error: template-id ‘DoComputeScalarRange<>’ for ‘bool vtkDataArrayPrivate::DoComputeScalarRange(vtkSOADataArrayTemplate~~~~~~~
/home/dan/dev/vtk/9.2.2/VTK-9.3.1/Common/Core/vtkGenericDataArray.h:425:27: note: candidate is: ‘template<class A, class R, class T> bool vtkDataArrayPrivate::DoComputeScalarRange(A, R, T, const unsigned char, unsigned char)’
425 | VTKCOMMONCORE_EXPORT bool DoComputeScalarRange(
| ^~~~~~~~
/home/dan/dev/vtk/9.2.2/VTK-9.3.1/Common/Core/vtkGenericDataArray.h:578:1: error: expected identifier before numeric constant
578 | VTK_DECLARE_VALUERANGE_VALUETYPE(unsigned long)
| ^~~~~~~~
/home/dan/dev/vtk/9.2.2/VTK-9.3.1/Common/Core/vtkGenericDataArray.h:578:1: error: expected ‘,’ or ‘...’ before numeric constant
/home/dan/dev/vtk/9.2.2/VTK-9.3.1/Common/Core/vtkGenericDataArray.h:579:1: error: expected identifier before numeric constant
579 | VTK_DECLARE_VALUERANGE_VALUETYPE(long long)
| ^~~~~~~~
/home/dan/dev/vtk/9.2.2/VTK-9.3.1/Common/Core/vtkGenericDataArray.h:579:1: error: expected ‘,’ or ‘...’ before numeric constant
/home/dan/dev/vtk/9.2.2/VTK-9.3.1/Common/Core/vtkGenericDataArray.h:579:1: error: template-id ‘DoComputeScalarRange<>’ for ‘bool vtkDataArrayPrivate::DoComputeScalarRange(vtkAOSDataArrayTemplate~~~~~~~
/home/dan/dev/vtk/9.2.2/VTK-9.3.1/Common/Core/vtkGenericDataArray.h:425:27: note: candidate is: ‘template<class A, class R, class T> bool vtkDataArrayPrivate::DoComputeScalarRange(A, R, T, const unsigned char, unsigned char)’
425 | VTKCOMMONCORE_EXPORT bool DoComputeScalarRange(
| ^~~~~~~~
/home/dan/dev/vtk/9.2.2/VTK-9.3.1/Common/Core/vtkGenericDataArray.h:579:1: error: expected identifier before numeric constant
579 | VTK_DECLARE_VALUERANGE_VALUETYPE(long long)
| ^~~~~~~~
/home/dan/dev/vtk/9.2.2/VTK-9.3.1/Common/Core/vtkGenericDataArray.h:579:1: error: expected ‘,’ or ‘...’ before numeric constant
/home/dan/dev/vtk/9.2.2/VTK-9.3.1/Common/Core/vtkGenericDataArray.h:579:1: error: expected identifier before numeric constant
579 | VTK_DECLARE_VALUERANGE_VALUETYPE(long long)
| ^~~~~~~~
/home/dan/dev/vtk/9.2.2/VTK-9.3.1/Common/Core/vtkGenericDataArray.h:579:1: error: expected ‘,’ or ‘...’ before numeric constant
/home/dan/dev/vtk/9.2.2/VTK-9.3.1/Common/Core/vtkGenericDataArray.h:579:1: error: template-id ‘DoComputeScalarRange<>’ for ‘bool vtkDataArrayPrivate::DoComputeScalarRange(vtkSOADataArrayTemplate~~~~~~~
/home/dan/dev/vtk/9.2.2/VTK-9.3.1/Common/Core/vtkGenericDataArray.h:425:27: note: candidate is: ‘template<class A, class R, class T> bool vtkDataArrayPrivate::DoComputeScalarRange(A, R, T, const unsigned char, unsigned char)’
425 | VTKCOMMONCORE_EXPORT bool DoComputeScalarRange(
| ^~~~~~~~
/home/dan/dev/vtk/9.2.2/VTK-9.3.1/Common/Core/vtkGenericDataArray.h:579:1: error: expected identifier before numeric constant
579 | VTK_DECLARE_VALUERANGE_VALUETYPE(long long)
| ^~~~~~~~
/home/dan/dev/vtk/9.2.2/VTK-9.3.1/Common/Core/vtkGenericDataArray.h:579:1: error: expected ‘,’ or ‘...’ before numeric constant
/home/dan/dev/vtk/9.2.2/VTK-9.3.1/Common/Core/vtkGenericDataArray.h:580:1: error: expected identifier before numeric constant
580 | VTK_DECLARE_VALUERANGE_VALUETYPE(unsigned long long)
| ^~~~~~~~
/home/dan/dev/vtk/9.2.2/VTK-9.3.1/Common/Core/vtkGenericDataArray.h:580:1: error: expected ‘,’ or ‘...’ before numeric constant
/home/dan/dev/vtk/9.2.2/VTK-9.3.1/Common/Core/vtkGenericDataArray.h:580:1: error: template-id ‘DoComputeScalarRange<>’ for ‘bool vtkDataArrayPrivate::DoComputeScalarRange(vtkAOSDataArrayTemplate~~~~~~~
/home/dan/dev/vtk/9.2.2/VTK-9.3.1/Common/Core/vtkGenericDataArray.h:425:27: note: candidate is: ‘template<class A, class R, class T> bool vtkDataArrayPrivate::DoComputeScalarRange(A, R, T, const unsigned char, unsigned char)’
425 | VTKCOMMONCORE_EXPORT bool DoComputeScalarRange(
| ^~~~~~~~
/home/dan/dev/vtk/9.2.2/VTK-9.3.1/Common/Core/vtkGenericDataArray.h:580:1: error: expected identifier before numeric constant
580 | VTK_DECLARE_VALUERANGE_VALUETYPE(unsigned long long)
| ^~~~~~~~
/home/dan/dev/vtk/9.2.2/VTK-9.3.1/Common/Core/vtkGenericDataArray.h:580:1: error: expected ‘,’ or ‘...’ before numeric constant
/home/dan/dev/vtk/9.2.2/VTK-9.3.1/Common/Core/vtkGenericDataArray.h:580:1: error: expected identifier before numeric constant
580 | VTK_DECLARE_VALUERANGE_VALUETYPE(unsigned long long)
| ^~~~~~~~
/home/dan/dev/vtk/9.2.2/VTK-9.3.1/Common/Core/vtkGenericDataArray.h:580:1: error: expected ‘,’ or ‘...’ before numeric constant
/home/dan/dev/vtk/9.2.2/VTK-9.3.1/Common/Core/vtkGenericDataArray.h:580:1: error: template-id ‘DoComputeScalarRange<>’ for ‘bool vtkDataArrayPrivate::DoComputeScalarRange(vtkSOADataArrayTemplate~~~~~~~
/home/dan/dev/vtk/9.2.2/VTK-9.3.1/Common/Core/vtkGenericDataArray.h:425:27: note: candidate is: ‘template<class A, class R, class T> bool vtkDataArrayPrivate::DoComputeScalarRange(A, R, T, const unsigned char, unsigned char)’
425 | VTKCOMMONCORE_EXPORT bool DoComputeScalarRange(
| ^~~~~~~~
/home/dan/dev/vtk/9.2.2/VTK-9.3.1/Common/Core/vtkGenericDataArray.h:580:1: error: expected identifier before numeric constant
580 | VTK_DECLARE_VALUERANGE_VALUETYPE(unsigned long long)
| ^~~~~~~~
/home/dan/dev/vtk/9.2.2/VTK-9.3.1/Common/Core/vtkGenericDataArray.h:580:1: error: expected ‘,’ or ‘...’ before numeric constant
/home/dan/dev/vtk/9.2.2/VTK-9.3.1/Common/Core/vtkGenericDataArray.h:583:1: error: expected identifier before numeric constant
583 | VTK_DECLARE_VALUERANGE_ARRAYTYPE(vtkDataArray, double)
| ^~~~~~~~
/home/dan/dev/vtk/9.2.2/VTK-9.3.1/Common/Core/vtkGenericDataArray.h:583:1: error: expected ‘,’ or ‘...’ before numeric constant
/home/dan/dev/vtk/9.2.2/VTK-9.3.1/Common/Core/vtkGenericDataArray.h:583:1: error: template-id ‘DoComputeScalarRange<>’ for ‘bool vtkDataArrayPrivate::DoComputeScalarRange(vtkDataArray, double, int)’ does not match any template declaration
583 | VTK_DECLARE_VALUERANGE_ARRAYTYPE(vtkDataArray, double)
| ^~~~~~~~
/home/dan/dev/vtk/9.2.2/VTK-9.3.1/Common/Core/vtkGenericDataArray.h:425:27: note: candidate is: ‘template<class A, class R, class T> bool vtkDataArrayPrivate::DoComputeScalarRange(A, R, T, const unsigned char, unsigned char)’
425 | VTKCOMMONCORE_EXPORT bool DoComputeScalarRange(
| ^~~~~~~~
/home/dan/dev/vtk/9.2.2/VTK-9.3.1/Common/Core/vtkGenericDataArray.h:583:1: error: expected identifier before numeric constant
583 | VTK_DECLARE_VALUERANGE_ARRAYTYPE(vtkDataArray, double)
| ^~~~~~~~
/home/dan/dev/vtk/9.2.2/VTK-9.3.1/Common/Core/vtkGenericDataArray.h:583:1: error: expected ‘,’ or ‘...’ before numeric constant
/home/dan/dev/vtk/9.2.2/VTK-9.3.1/Common/Core/vtkGenericDataArray.h:586:1: error: expected identifier before numeric constant
586 | VTK_DECLARE_VALUERANGE_ARRAYTYPE(vtkAOSDataArrayTemplate~~~~~~~
/home/dan/dev/vtk/9.2.2/VTK-9.3.1/Common/Core/vtkGenericDataArray.h:586:1: error: expected ‘,’ or ‘...’ before numeric constant
/home/dan/dev/vtk/9.2.2/VTK-9.3.1/Common/Core/vtkGenericDataArray.h:586:1: error: template-id ‘DoComputeScalarRange<>’ for ‘bool vtkDataArrayPrivate::DoComputeScalarRange(vtkAOSDataArrayTemplate~~~~~~~
/home/dan/dev/vtk/9.2.2/VTK-9.3.1/Common/Core/vtkGenericDataArray.h:425:27: note: candidate is: ‘template<class A, class R, class T> bool vtkDataArrayPrivate::DoComputeScalarRange(A~~~~~~~
/home/dan/dev/vtk/9.2.2/VTK-9.3.1/Common/Core/vtkGenericDataArray.h:586:1: error: expected identifier before numeric constant
586 | VTK_DECLARE_VALUERANGE_ARRAYTYPE(vtkAOSDataArrayTemplate~~~~~~~
/home/dan/dev/vtk/9.2.2/VTK-9.3.1/Common/Core/vtkGenericDataArray.h:586:1: error: expected ‘,’ or ‘...’ before numeric constant
/home/dan/dev/vtk/9.2.2/VTK-9.3.1/Common/Core/vtkGenericDataArray.h:587:1: error: expected identifier before numeric constant
587 | VTK_DECLARE_VALUERANGE_ARRAYTYPE(vtkAOSDataArrayTemplate~~~~~~~
/home/dan/dev/vtk/9.2.2/VTK-9.3.1/Common/Core/vtkGenericDataArray.h:587:1: error: expected ‘,’ or ‘...’ before numeric constant
/home/dan/dev/vtk/9.2.2/VTK-9.3.1/Common/Core/vtkGenericDataArray.h:587:1: error: template-id ‘DoComputeScalarRange<>’ for ‘bool vtkDataArrayPrivate::DoComputeScalarRange(vtkAOSDataArrayTemplate~~~~~~~
/home/dan/dev/vtk/9.2.2/VTK-9.3.1/Common/Core/vtkGenericDataArray.h:425:27: note: candidate is: ‘template<class A, class R, class T> bool vtkDataArrayPrivate::DoComputeScalarRange(A, R, T, const unsigned char, unsigned char)’
425 | VTKCOMMONCORE_EXPORT bool DoComputeScalarRange(
| ^~~~~~~~
/home/dan/dev/vtk/9.2.2/VTK-9.3.1/Common/Core/vtkGenericDataArray.h:587:1: error: expected identifier before numeric constant
587 | VTK_DECLARE_VALUERANGE_ARRAYTYPE(vtkAOSDataArrayTemplate~~~~~~~
/home/dan/dev/vtk/9.2.2/VTK-9.3.1/Common/Core/vtkGenericDataArray.h:587:1: error: expected ‘,’ or ‘...’ before numeric constant
/home/dan/dev/vtk/9.2.2/VTK-9.3.1/Common/Core/vtkGenericDataArray.h:588:1: error: expected identifier before numeric constant
588 | VTK_DECLARE_VALUERANGE_ARRAYTYPE(vtkAOSDataArrayTemplate~~~~~~~
/home/dan/dev/vtk/9.2.2/VTK-9.3.1/Common/Core/vtkGenericDataArray.h:588:1: error: expected ‘,’ or ‘...’ before numeric constant
/home/dan/dev/vtk/9.2.2/VTK-9.3.1/Common/Core/vtkGenericDataArray.h:588:1: error: template-id ‘DoComputeScalarRange<>’ for ‘bool vtkDataArrayPrivate::DoComputeScalarRange(vtkAOSDataArrayTemplate~~~~~~~
/home/dan/dev/vtk/9.2.2/VTK-9.3.1/Common/Core/vtkGenericDataArray.h:425:27: note: candidate is: ‘template<class A, class R, class T> bool vtkDataArrayPrivate::DoComputeScalarRange(A~~~~~~~
/home/dan/dev/vtk/9.2.2/VTK-9.3.1/Common/Core/vtkGenericDataArray.h:588:1: error: expected identifier before numeric constant
588 | VTK_DECLARE_VALUERANGE_ARRAYTYPE(vtkAOSDataArrayTemplate~~~~~~~
/home/dan/dev/vtk/9.2.2/VTK-9.3.1/Common/Core/vtkGenericDataArray.h:588:1: error: expected ‘,’ or ‘...’ before numeric constant
/home/dan/dev/vtk/9.2.2/VTK-9.3.1/Common/Core/vtkGenericDataArray.h:589:1: error: expected identifier before numeric constant
589 | VTK_DECLARE_VALUERANGE_ARRAYTYPE(vtkAOSDataArrayTemplate~~~~~~~
/home/dan/dev/vtk/9.2.2/VTK-9.3.1/Common/Core/vtkGenericDataArray.h:589:1: error: expected ‘,’ or ‘...’ before numeric constant
/home/dan/dev/vtk/9.2.2/VTK-9.3.1/Common/Core/vtkGenericDataArray.h:589:1: error: template-id ‘DoComputeScalarRange<>’ for ‘bool vtkDataArrayPrivate::DoComputeScalarRange(vtkAOSDataArrayTemplate~~~~~~~
/home/dan/dev/vtk/9.2.2/VTK-9.3.1/Common/Core/vtkGenericDataArray.h:425:27: note: candidate is: ‘template<class A, class R, class T> bool vtkDataArrayPrivate::DoComputeScalarRange(A, R, T, const unsigned char, unsigned char)’
425 | VTKCOMMONCORE_EXPORT bool DoComputeScalarRange(
| ^~~~~~~~
/home/dan/dev/vtk/9.2.2/VTK-9.3.1/Common/Core/vtkGenericDataArray.h:589:1: error: expected identifier before numeric constant
589 | VTK_DECLARE_VALUERANGE_ARRAYTYPE(vtkAOSDataArrayTemplate~~~~~~~
/home/dan/dev/vtk/9.2.2/VTK-9.3.1/Common/Core/vtkGenericDataArray.h:589:1: error: expected ‘,’ or ‘...’ before numeric constant
/home/dan/dev/vtk/9.2.2/VTK-9.3.1/Common/Core/vtkGenericDataArray.h:590:1: error: expected identifier before numeric constant
590 | VTK_DECLARE_VALUERANGE_ARRAYTYPE(vtkAOSDataArrayTemplate~~~~~~~
/home/dan/dev/vtk/9.2.2/VTK-9.3.1/Common/Core/vtkGenericDataArray.h:590:1: error: expected ‘,’ or ‘...’ before numeric constant
/home/dan/dev/vtk/9.2.2/VTK-9.3.1/Common/Core/vtkGenericDataArray.h:590:1: error: template-id ‘DoComputeScalarRange<>’ for ‘bool vtkDataArrayPrivate::DoComputeScalarRange(vtkAOSDataArrayTemplate~~~~~~~
/home/dan/dev/vtk/9.2.2/VTK-9.3.1/Common/Core/vtkGenericDataArray.h:425:27: note: candidate is: ‘template<class A, class R, class T> bool vtkDataArrayPrivate::DoComputeScalarRange(A~~~~~~~
/home/dan/dev/vtk/9.2.2/VTK-9.3.1/Common/Core/vtkGenericDataArray.h:590:1: error: expected identifier before numeric constant
590 | VTK_DECLARE_VALUERANGE_ARRAYTYPE(vtkAOSDataArrayTemplate~~~~~~~
/home/dan/dev/vtk/9.2.2/VTK-9.3.1/Common/Core/vtkGenericDataArray.h:590:1: error: expected ‘,’ or ‘...’ before numeric constant
/home/dan/dev/vtk/9.2.2/VTK-9.3.1/Common/Core/vtkGenericDataArray.h:591:1: error: expected identifier before numeric constant
591 | VTK_DECLARE_VALUERANGE_ARRAYTYPE(vtkAOSDataArrayTemplate~~~~~~~
/home/dan/dev/vtk/9.2.2/VTK-9.3.1/Common/Core/vtkGenericDataArray.h:591:1: error: expected ‘,’ or ‘...’ before numeric constant
/home/dan/dev/vtk/9.2.2/VTK-9.3.1/Common/Core/vtkGenericDataArray.h:591:1: error: template-id ‘DoComputeScalarRange<>’ for ‘bool vtkDataArrayPrivate::DoComputeScalarRange(vtkAOSDataArrayTemplate~~~~~~~
/home/dan/dev/vtk/9.2.2/VTK-9.3.1/Common/Core/vtkGenericDataArray.h:425:27: note: candidate is: ‘template<class A, class R, class T> bool vtkDataArrayPrivate::DoComputeScalarRange(A, R, T, const unsigned char, unsigned char)’
425 | VTKCOMMONCORE_EXPORT bool DoComputeScalarRange(
| ^~~~~~~~
/home/dan/dev/vtk/9.2.2/VTK-9.3.1/Common/Core/vtkGenericDataArray.h:591:1: error: expected identifier before numeric constant
591 | VTK_DECLARE_VALUERANGE_ARRAYTYPE(vtkAOSDataArrayTemplate~~~~~~~
/home/dan/dev/vtk/9.2.2/VTK-9.3.1/Common/Core/vtkGenericDataArray.h:591:1: error: expected ‘,’ or ‘...’ before numeric constant
/home/dan/dev/vtk/9.2.2/VTK-9.3.1/Common/Core/vtkGenericDataArray.h:592:1: error: expected identifier before numeric constant
592 | VTK_DECLARE_VALUERANGE_ARRAYTYPE(vtkAOSDataArrayTemplate~~~~~~~
/home/dan/dev/vtk/9.2.2/VTK-9.3.1/Common/Core/vtkGenericDataArray.h:592:1: error: expected ‘,’ or ‘...’ before numeric constant
/home/dan/dev/vtk/9.2.2/VTK-9.3.1/Common/Core/vtkGenericDataArray.h:592:1: error: template-id ‘DoComputeScalarRange<>’ for ‘bool vtkDataArrayPrivate::DoComputeScalarRange(vtkAOSDataArrayTemplate~~~~~~~
/home/dan/dev/vtk/9.2.2/VTK-9.3.1/Common/Core/vtkGenericDataArray.h:425:27: note: candidate is: ‘template<class A, class R, class T> bool vtkDataArrayPrivate::DoComputeScalarRange(A~~~~~~~
/home/dan/dev/vtk/9.2.2/VTK-9.3.1/Common/Core/vtkGenericDataArray.h:592:1: error: expected identifier before numeric constant
592 | VTK_DECLARE_VALUERANGE_ARRAYTYPE(vtkAOSDataArrayTemplate~~~~~~~
/home/dan/dev/vtk/9.2.2/VTK-9.3.1/Common/Core/vtkGenericDataArray.h:592:1: error: expected ‘,’ or ‘...’ before numeric constant
/home/dan/dev/vtk/9.2.2/VTK-9.3.1/Common/Core/vtkGenericDataArray.h:593:1: error: expected identifier before numeric constant
593 | VTK_DECLARE_VALUERANGE_ARRAYTYPE(vtkAOSDataArrayTemplate~~~~~~~
/home/dan/dev/vtk/9.2.2/VTK-9.3.1/Common/Core/vtkGenericDataArray.h:593:1: error: expected ‘,’ or ‘...’ before numeric constant
/home/dan/dev/vtk/9.2.2/VTK-9.3.1/Common/Core/vtkGenericDataArray.h:593:1: error: template-id ‘DoComputeScalarRange<>’ for ‘bool vtkDataArrayPrivate::DoComputeScalarRange(vtkAOSDataArrayTemplate~~~~~~~
/home/dan/dev/vtk/9.2.2/VTK-9.3.1/Common/Core/vtkGenericDataArray.h:425:27: note: candidate is: ‘template<class A, class R, class T> bool vtkDataArrayPrivate::DoComputeScalarRange(A, R, T, const unsigned char, unsigned char)’
425 | VTKCOMMONCORE_EXPORT bool DoComputeScalarRange(
| ^~~~~~~~
/home/dan/dev/vtk/9.2.2/VTK-9.3.1/Common/Core/vtkGenericDataArray.h:593:1: error: expected identifier before numeric constant
593 | VTK_DECLARE_VALUERANGE_ARRAYTYPE(vtkAOSDataArrayTemplate~~~~~~~
/home/dan/dev/vtk/9.2.2/VTK-9.3.1/Common/Core/vtkGenericDataArray.h:593:1: error: expected ‘,’ or ‘...’ before numeric constant
/home/dan/dev/vtk/9.2.2/VTK-9.3.1/Common/Core/vtkGenericDataArray.h:594:1: error: expected identifier before numeric constant
594 | VTK_DECLARE_VALUERANGE_ARRAYTYPE(vtkAOSDataArrayTemplate~~~~~~~
/home/dan/dev/vtk/9.2.2/VTK-9.3.1/Common/Core/vtkGenericDataArray.h:594:1: error: expected ‘,’ or ‘...’ before numeric constant
/home/dan/dev/vtk/9.2.2/VTK-9.3.1/Common/Core/vtkGenericDataArray.h:594:1: error: template-id ‘DoComputeScalarRange<>’ for ‘bool vtkDataArrayPrivate::DoComputeScalarRange(vtkAOSDataArrayTemplate~~~~~~~
/home/dan/dev/vtk/9.2.2/VTK-9.3.1/Common/Core/vtkGenericDataArray.h:425:27: note: candidate is: ‘template<class A, class R, class T> bool vtkDataArrayPrivate::DoComputeScalarRange(A~~~~~~~
/home/dan/dev/vtk/9.2.2/VTK-9.3.1/Common/Core/vtkGenericDataArray.h:594:1: error: expected identifier before numeric constant
594 | VTK_DECLARE_VALUERANGE_ARRAYTYPE(vtkAOSDataArrayTemplate~~~~~~~
/home/dan/dev/vtk/9.2.2/VTK-9.3.1/Common/Core/vtkGenericDataArray.h:594:1: error: expected ‘,’ or ‘...’ before numeric constant
/home/dan/dev/vtk/9.2.2/VTK-9.3.1/Common/Core/vtkGenericDataArray.h:595:1: error: expected identifier before numeric constant
595 | VTK_DECLARE_VALUERANGE_ARRAYTYPE(vtkAOSDataArrayTemplate~~~~~~~
/home/dan/dev/vtk/9.2.2/VTK-9.3.1/Common/Core/vtkGenericDataArray.h:595:1: error: expected ‘,’ or ‘...’ before numeric constant
/home/dan/dev/vtk/9.2.2/VTK-9.3.1/Common/Core/vtkGenericDataArray.h:595:1: error: template-id ‘DoComputeScalarRange<>’ for ‘bool vtkDataArrayPrivate::DoComputeScalarRange(vtkAOSDataArrayTemplate~~~~~~~
/home/dan/dev/vtk/9.2.2/VTK-9.3.1/Common/Core/vtkGenericDataArray.h:425:27: note: candidate is: ‘template<class A, class R, class T> bool vtkDataArrayPrivate::DoComputeScalarRange(A, R, T, const unsigned char, unsigned char)’
425 | VTKCOMMONCORE_EXPORT bool DoComputeScalarRange(
| ^~~~~~~~
/home/dan/dev/vtk/9.2.2/VTK-9.3.1/Common/Core/vtkGenericDataArray.h:595:1: error: expected identifier before numeric constant
595 | VTK_DECLARE_VALUERANGE_ARRAYTYPE(vtkAOSDataArrayTemplate~~~~~~~
/home/dan/dev/vtk/9.2.2/VTK-9.3.1/Common/Core/vtkGenericDataArray.h:595:1: error: expected ‘,’ or ‘...’ before numeric constant
/home/dan/dev/vtk/9.2.2/VTK-9.3.1/Common/Core/vtkGenericDataArray.h:596:1: error: expected identifier before numeric constant
596 | VTK_DECLARE_VALUERANGE_ARRAYTYPE(vtkAOSDataArrayTemplate~~~~~~~
/home/dan/dev/vtk/9.2.2/VTK-9.3.1/Common/Core/vtkGenericDataArray.h:596:1: error: expected ‘,’ or ‘...’ before numeric constant
/home/dan/dev/vtk/9.2.2/VTK-9.3.1/Common/Core/vtkGenericDataArray.h:596:1: error: template-id ‘DoComputeScalarRange<>’ for ‘bool vtkDataArrayPrivate::DoComputeScalarRange(vtkAOSDataArrayTemplate~~~~~~~
/home/dan/dev/vtk/9.2.2/VTK-9.3.1/Common/Core/vtkGenericDataArray.h:425:27: note: candidate is: ‘template<class A, class R, class T> bool vtkDataArrayPrivate::DoComputeScalarRange(A~~~~~~~
/home/dan/dev/vtk/9.2.2/VTK-9.3.1/Common/Core/vtkGenericDataArray.h:596:1: error: expected identifier before numeric constant
596 | VTK_DECLARE_VALUERANGE_ARRAYTYPE(vtkAOSDataArrayTemplate~~~~~~~
/home/dan/dev/vtk/9.2.2/VTK-9.3.1/Common/Core/vtkGenericDataArray.h:596:1: error: expected ‘,’ or ‘...’ before numeric constant
/home/dan/dev/vtk/9.2.2/VTK-9.3.1/Common/Core/vtkGenericDataArray.h:597:1: error: expected identifier before numeric constant
597 | VTK_DECLARE_VALUERANGE_ARRAYTYPE(vtkAOSDataArrayTemplate~~~~~~~
/home/dan/dev/vtk/9.2.2/VTK-9.3.1/Common/Core/vtkGenericDataArray.h:597:1: error: expected ‘,’ or ‘...’ before numeric constant
/home/dan/dev/vtk/9.2.2/VTK-9.3.1/Common/Core/vtkGenericDataArray.h:597:1: error: template-id ‘DoComputeScalarRange<>’ for ‘bool vtkDataArrayPrivate::DoComputeScalarRange(vtkAOSDataArrayTemplate~~~~~~~
/home/dan/dev/vtk/9.2.2/VTK-9.3.1/Common/Core/vtkGenericDataArray.h:425:27: note: candidate is: ‘template<class A, class R, class T> bool vtkDataArrayPrivate::DoComputeScalarRange(A, R, T, const unsigned char, unsigned char)’
425 | VTKCOMMONCORE_EXPORT bool DoComputeScalarRange(
| ^~~~~~~~
/home/dan/dev/vtk/9.2.2/VTK-9.3.1/Common/Core/vtkGenericDataArray.h:597:1: error: expected identifier before numeric constant
597 | VTK_DECLARE_VALUERANGE_ARRAYTYPE(vtkAOSDataArrayTemplate~~~~~~~
/home/dan/dev/vtk/9.2.2/VTK-9.3.1/Common/Core/vtkGenericDataArray.h:597:1: error: expected ‘,’ or ‘...’ before numeric constant
/home/dan/dev/vtk/9.2.2/VTK-9.3.1/Common/Core/vtkGenericDataArray.h:598:1: error: expected identifier before numeric constant
598 | VTK_DECLARE_VALUERANGE_ARRAYTYPE(vtkAOSDataArrayTemplate~~~~~~~
/home/dan/dev/vtk/9.2.2/VTK-9.3.1/Common/Core/vtkGenericDataArray.h:598:1: error: expected ‘,’ or ‘...’ before numeric constant
/home/dan/dev/vtk/9.2.2/VTK-9.3.1/Common/Core/vtkGenericDataArray.h:598:1: error: template-id ‘DoComputeScalarRange<>’ for ‘bool vtkDataArrayPrivate::DoComputeScalarRange(vtkAOSDataArrayTemplate~~~~~~~
/home/dan/dev/vtk/9.2.2/VTK-9.3.1/Common/Core/vtkGenericDataArray.h:425:27: note: candidate is: ‘template<class A, class R, class T> bool vtkDataArrayPrivate::DoComputeScalarRange(A~~~~~~~
/home/dan/dev/vtk/9.2.2/VTK-9.3.1/Common/Core/vtkGenericDataArray.h:598:1: error: expected identifier before numeric constant
598 | VTK_DECLARE_VALUERANGE_ARRAYTYPE(vtkAOSDataArrayTemplate~~~~~~~
/home/dan/dev/vtk/9.2.2/VTK-9.3.1/Common/Core/vtkGenericDataArray.h:598:1: error: expected ‘,’ or ‘...’ before numeric constant
/home/dan/dev/vtk/9.2.2/VTK-9.3.1/Common/Core/vtkGenericDataArray.h:601:1: error: expected identifier before numeric constant
601 | VTK_DECLARE_VALUERANGE_ARRAYTYPE(vtkSOADataArrayTemplate~~~~~~~
/home/dan/dev/vtk/9.2.2/VTK-9.3.1/Common/Core/vtkGenericDataArray.h:601:1: error: expected ‘,’ or ‘...’ before numeric constant
/home/dan/dev/vtk/9.2.2/VTK-9.3.1/Common/Core/vtkGenericDataArray.h:601:1: error: template-id ‘DoComputeScalarRange<>’ for ‘bool vtkDataArrayPrivate::DoComputeScalarRange(vtkSOADataArrayTemplate~~~~~~~
/home/dan/dev/vtk/9.2.2/VTK-9.3.1/Common/Core/vtkGenericDataArray.h:425:27: note: candidate is: ‘template<class A, class R, class T> bool vtkDataArrayPrivate::DoComputeScalarRange(A, R, T, const unsigned char, unsigned char)’
425 | VTKCOMMONCORE_EXPORT bool DoComputeScalarRange(
| ^~~~~~~~
/home/dan/dev/vtk/9.2.2/VTK-9.3.1/Common/Core/vtkGenericDataArray.h:601:1: error: expected identifier before numeric constant
601 | VTK_DECLARE_VALUERANGE_ARRAYTYPE(vtkSOADataArrayTemplate~~~~~~~
/home/dan/dev/vtk/9.2.2/VTK-9.3.1/Common/Core/vtkGenericDataArray.h:601:1: error: expected ‘,’ or ‘...’ before numeric constant
/home/dan/dev/vtk/9.2.2/VTK-9.3.1/Common/Core/vtkGenericDataArray.h:602:1: error: expected identifier before numeric constant
602 | VTK_DECLARE_VALUERANGE_ARRAYTYPE(vtkSOADataArrayTemplate~~~~~~~
/home/dan/dev/vtk/9.2.2/VTK-9.3.1/Common/Core/vtkGenericDataArray.h:602:1: error: expected ‘,’ or ‘...’ before numeric constant
/home/dan/dev/vtk/9.2.2/VTK-9.3.1/Common/Core/vtkGenericDataArray.h:602:1: error: template-id ‘DoComputeScalarRange<>’ for ‘bool vtkDataArrayPrivate::DoComputeScalarRange(vtkSOADataArrayTemplate~~~~~~~
/home/dan/dev/vtk/9.2.2/VTK-9.3.1/Common/Core/vtkGenericDataArray.h:425:27: note: candidate is: ‘template<class A, class R, class T> bool vtkDataArrayPrivate::DoComputeScalarRange(A~~~~~~~
/home/dan/dev/vtk/9.2.2/VTK-9.3.1/Common/Core/vtkGenericDataArray.h:602:1: error: expected identifier before numeric constant
602 | VTK_DECLARE_VALUERANGE_ARRAYTYPE(vtkSOADataArrayTemplate~~~~~~~
/home/dan/dev/vtk/9.2.2/VTK-9.3.1/Common/Core/vtkGenericDataArray.h:602:1: error: expected ‘,’ or ‘...’ before numeric constant
/home/dan/dev/vtk/9.2.2/VTK-9.3.1/Common/Core/vtkGenericDataArray.h:603:1: error: expected identifier before numeric constant
603 | VTK_DECLARE_VALUERANGE_ARRAYTYPE(vtkSOADataArrayTemplate~~~~~~~
/home/dan/dev/vtk/9.2.2/VTK-9.3.1/Common/Core/vtkGenericDataArray.h:603:1: error: expected ‘,’ or ‘...’ before numeric constant
/home/dan/dev/vtk/9.2.2/VTK-9.3.1/Common/Core/vtkGenericDataArray.h:603:1: error: template-id ‘DoComputeScalarRange<>’ for ‘bool vtkDataArrayPrivate::DoComputeScalarRange(vtkSOADataArrayTemplate~~~~~~~
/home/dan/dev/vtk/9.2.2/VTK-9.3.1/Common/Core/vtkGenericDataArray.h:425:27: note: candidate is: ‘template<class A, class R, class T> bool vtkDataArrayPrivate::DoComputeScalarRange(A, R, T, const unsigned char, unsigned char)’
425 | VTKCOMMONCORE_EXPORT bool DoComputeScalarRange(
| ^~~~~~~~
/home/dan/dev/vtk/9.2.2/VTK-9.3.1/Common/Core/vtkGenericDataArray.h:603:1: error: expected identifier before numeric constant
603 | VTK_DECLARE_VALUERANGE_ARRAYTYPE(vtkSOADataArrayTemplate~~~~~~~
/home/dan/dev/vtk/9.2.2/VTK-9.3.1/Common/Core/vtkGenericDataArray.h:603:1: error: expected ‘,’ or ‘...’ before numeric constant
/home/dan/dev/vtk/9.2.2/VTK-9.3.1/Common/Core/vtkGenericDataArray.h:604:1: error: expected identifier before numeric constant
604 | VTK_DECLARE_VALUERANGE_ARRAYTYPE(vtkSOADataArrayTemplate~~~~~~~
/home/dan/dev/vtk/9.2.2/VTK-9.3.1/Common/Core/vtkGenericDataArray.h:604:1: error: expected ‘,’ or ‘...’ before numeric constant
/home/dan/dev/vtk/9.2.2/VTK-9.3.1/Common/Core/vtkGenericDataArray.h:604:1: error: template-id ‘DoComputeScalarRange<>’ for ‘bool vtkDataArrayPrivate::DoComputeScalarRange(vtkSOADataArrayTemplate~~~~~~~
/home/dan/dev/vtk/9.2.2/VTK-9.3.1/Common/Core/vtkGenericDataArray.h:425:27: note: candidate is: ‘template<class A, class R, class T> bool vtkDataArrayPrivate::DoComputeScalarRange(A~~~~~~~
/home/dan/dev/vtk/9.2.2/VTK-9.3.1/Common/Core/vtkGenericDataArray.h:604:1: error: expected identifier before numeric constant
604 | VTK_DECLARE_VALUERANGE_ARRAYTYPE(vtkSOADataArrayTemplate~~~~~~~
/home/dan/dev/vtk/9.2.2/VTK-9.3.1/Common/Core/vtkGenericDataArray.h:604:1: error: expected ‘,’ or ‘...’ before numeric constant
/home/dan/dev/vtk/9.2.2/VTK-9.3.1/Common/Core/vtkGenericDataArray.h:605:1: error: expected identifier before numeric constant
605 | VTK_DECLARE_VALUERANGE_ARRAYTYPE(vtkSOADataArrayTemplate~~~~~~~
/home/dan/dev/vtk/9.2.2/VTK-9.3.1/Common/Core/vtkGenericDataArray.h:605:1: error: expected ‘,’ or ‘...’ before numeric constant
/home/dan/dev/vtk/9.2.2/VTK-9.3.1/Common/Core/vtkGenericDataArray.h:605:1: error: template-id ‘DoComputeScalarRange<>’ for ‘bool vtkDataArrayPrivate::DoComputeScalarRange(vtkSOADataArrayTemplate~~~~~~~
/home/dan/dev/vtk/9.2.2/VTK-9.3.1/Common/Core/vtkGenericDataArray.h:425:27: note: candidate is: ‘template<class A, class R, class T> bool vtkDataArrayPrivate::DoComputeScalarRange(A, R, T, const unsigned char, unsigned char)’
425 | VTKCOMMONCORE_EXPORT bool DoComputeScalarRange(
| ^~~~~~~~
/home/dan/dev/vtk/9.2.2/VTK-9.3.1/Common/Core/vtkGenericDataArray.h:605:1: error: expected identifier before numeric constant
605 | VTK_DECLARE_VALUERANGE_ARRAYTYPE(vtkSOADataArrayTemplate~~~~~~~
/home/dan/dev/vtk/9.2.2/VTK-9.3.1/Common/Core/vtkGenericDataArray.h:605:1: error: expected ‘,’ or ‘...’ before numeric constant
/home/dan/dev/vtk/9.2.2/VTK-9.3.1/Common/Core/vtkGenericDataArray.h:606:1: error: expected identifier before numeric constant
606 | VTK_DECLARE_VALUERANGE_ARRAYTYPE(vtkSOADataArrayTemplate~~~~~~~
/home/dan/dev/vtk/9.2.2/VTK-9.3.1/Common/Core/vtkGenericDataArray.h:606:1: error: expected ‘,’ or ‘...’ before numeric constant
/home/dan/dev/vtk/9.2.2/VTK-9.3.1/Common/Core/vtkGenericDataArray.h:606:1: error: template-id ‘DoComputeScalarRange<>’ for ‘bool vtkDataArrayPrivate::DoComputeScalarRange(vtkSOADataArrayTemplate~~~~~~~
/home/dan/dev/vtk/9.2.2/VTK-9.3.1/Common/Core/vtkGenericDataArray.h:425:27: note: candidate is: ‘template<class A, class R, class T> bool vtkDataArrayPrivate::DoComputeScalarRange(A~~~~~~~
/home/dan/dev/vtk/9.2.2/VTK-9.3.1/Common/Core/vtkGenericDataArray.h:606:1: error: expected identifier before numeric constant
606 | VTK_DECLARE_VALUERANGE_ARRAYTYPE(vtkSOADataArrayTemplate~~~~~~~
/home/dan/dev/vtk/9.2.2/VTK-9.3.1/Common/Core/vtkGenericDataArray.h:606:1: error: expected ‘,’ or ‘...’ before numeric constant
/home/dan/dev/vtk/9.2.2/VTK-9.3.1/Common/Core/vtkGenericDataArray.h:607:1: error: expected identifier before numeric constant
607 | VTK_DECLARE_VALUERANGE_ARRAYTYPE(vtkSOADataArrayTemplate~~~~~~~
/home/dan/dev/vtk/9.2.2/VTK-9.3.1/Common/Core/vtkGenericDataArray.h:607:1: error: expected ‘,’ or ‘...’ before numeric constant
/home/dan/dev/vtk/9.2.2/VTK-9.3.1/Common/Core/vtkGenericDataArray.h:607:1: error: template-id ‘DoComputeScalarRange<>’ for ‘bool vtkDataArrayPrivate::DoComputeScalarRange(vtkSOADataArrayTemplate~~~~~~~
/home/dan/dev/vtk/9.2.2/VTK-9.3.1/Common/Core/vtkGenericDataArray.h:425:27: note: candidate is: ‘template<class A, class R, class T> bool vtkDataArrayPrivate::DoComputeScalarRange(A, R, T, const unsigned char, unsigned char)’
425 | VTKCOMMONCORE_EXPORT bool DoComputeScalarRange(
| ^~~~~~~~
/home/dan/dev/vtk/9.2.2/VTK-9.3.1/Common/Core/vtkGenericDataArray.h:607:1: error: expected identifier before numeric constant
607 | VTK_DECLARE_VALUERANGE_ARRAYTYPE(vtkSOADataArrayTemplate~~~~~~~
/home/dan/dev/vtk/9.2.2/VTK-9.3.1/Common/Core/vtkGenericDataArray.h:607:1: error: expected ‘,’ or ‘...’ before numeric constant
/home/dan/dev/vtk/9.2.2/VTK-9.3.1/Common/Core/vtkGenericDataArray.h:608:1: error: expected identifier before numeric constant
608 | VTK_DECLARE_VALUERANGE_ARRAYTYPE(vtkSOADataArrayTemplate~~~~~~~
/home/dan/dev/vtk/9.2.2/VTK-9.3.1/Common/Core/vtkGenericDataArray.h:608:1: error: expected ‘,’ or ‘...’ before numeric constant
/home/dan/dev/vtk/9.2.2/VTK-9.3.1/Common/Core/vtkGenericDataArray.h:608:1: error: template-id ‘DoComputeScalarRange<>’ for ‘bool vtkDataArrayPrivate::DoComputeScalarRange(vtkSOADataArrayTemplate~~~~~~~
/home/dan/dev/vtk/9.2.2/VTK-9.3.1/Common/Core/vtkGenericDataArray.h:425:27: note: candidate is: ‘template<class A, class R, class T> bool vtkDataArrayPrivate::DoComputeScalarRange(A~~~~~~~
/home/dan/dev/vtk/9.2.2/VTK-9.3.1/Common/Core/vtkGenericDataArray.h:608:1: error: expected identifier before numeric constant
608 | VTK_DECLARE_VALUERANGE_ARRAYTYPE(vtkSOADataArrayTemplate~~~~~~~
/home/dan/dev/vtk/9.2.2/VTK-9.3.1/Common/Core/vtkGenericDataArray.h:608:1: error: expected ‘,’ or ‘...’ before numeric constant
/home/dan/dev/vtk/9.2.2/VTK-9.3.1/Common/Core/vtkGenericDataArray.h:609:1: error: expected identifier before numeric constant
609 | VTK_DECLARE_VALUERANGE_ARRAYTYPE(vtkSOADataArrayTemplate~~~~~~~
/home/dan/dev/vtk/9.2.2/VTK-9.3.1/Common/Core/vtkGenericDataArray.h:609:1: error: expected ‘,’ or ‘...’ before numeric constant
/home/dan/dev/vtk/9.2.2/VTK-9.3.1/Common/Core/vtkGenericDataArray.h:609:1: error: template-id ‘DoComputeScalarRange<>’ for ‘bool vtkDataArrayPrivate::DoComputeScalarRange(vtkSOADataArrayTemplate~~~~~~~
/home/dan/dev/vtk/9.2.2/VTK-9.3.1/Common/Core/vtkGenericDataArray.h:425:27: note: candidate is: ‘template<class A, class R, class T> bool vtkDataArrayPrivate::DoComputeScalarRange(A, R, T, const unsigned char, unsigned char)’
425 | VTKCOMMONCORE_EXPORT bool DoComputeScalarRange(
| ^~~~~~~~
/home/dan/dev/vtk/9.2.2/VTK-9.3.1/Common/Core/vtkGenericDataArray.h:609:1: error: expected identifier before numeric constant
609 | VTK_DECLARE_VALUERANGE_ARRAYTYPE(vtkSOADataArrayTemplate~~~~~~~
/home/dan/dev/vtk/9.2.2/VTK-9.3.1/Common/Core/vtkGenericDataArray.h:609:1: error: expected ‘,’ or ‘...’ before numeric constant
/home/dan/dev/vtk/9.2.2/VTK-9.3.1/Common/Core/vtkGenericDataArray.h:610:1: error: expected identifier before numeric constant
610 | VTK_DECLARE_VALUERANGE_ARRAYTYPE(vtkSOADataArrayTemplate~~~~~~~
/home/dan/dev/vtk/9.2.2/VTK-9.3.1/Common/Core/vtkGenericDataArray.h:610:1: error: expected ‘,’ or ‘...’ before numeric constant
/home/dan/dev/vtk/9.2.2/VTK-9.3.1/Common/Core/vtkGenericDataArray.h:610:1: error: template-id ‘DoComputeScalarRange<>’ for ‘bool vtkDataArrayPrivate::DoComputeScalarRange(vtkSOADataArrayTemplate~~~~~~~
/home/dan/dev/vtk/9.2.2/VTK-9.3.1/Common/Core/vtkGenericDataArray.h:425:27: note: candidate is: ‘template<class A, class R, class T> bool vtkDataArrayPrivate::DoComputeScalarRange(A~~~~~~~
/home/dan/dev/vtk/9.2.2/VTK-9.3.1/Common/Core/vtkGenericDataArray.h:610:1: error: expected identifier before numeric constant
610 | VTK_DECLARE_VALUERANGE_ARRAYTYPE(vtkSOADataArrayTemplate~~~~~~~
/home/dan/dev/vtk/9.2.2/VTK-9.3.1/Common/Core/vtkGenericDataArray.h:610:1: error: expected ‘,’ or ‘...’ before numeric constant
/home/dan/dev/vtk/9.2.2/VTK-9.3.1/Common/Core/vtkGenericDataArray.h:611:1: error: expected identifier before numeric constant
611 | VTK_DECLARE_VALUERANGE_ARRAYTYPE(vtkSOADataArrayTemplate~~~~~~~
/home/dan/dev/vtk/9.2.2/VTK-9.3.1/Common/Core/vtkGenericDataArray.h:611:1: error: expected ‘,’ or ‘...’ before numeric constant
/home/dan/dev/vtk/9.2.2/VTK-9.3.1/Common/Core/vtkGenericDataArray.h:611:1: error: template-id ‘DoComputeScalarRange<>’ for ‘bool vtkDataArrayPrivate::DoComputeScalarRange(vtkSOADataArrayTemplate~~~~~~~
/home/dan/dev/vtk/9.2.2/VTK-9.3.1/Common/Core/vtkGenericDataArray.h:425:27: note: candidate is: ‘template<class A, class R, class T> bool vtkDataArrayPrivate::DoComputeScalarRange(A, R, T, const unsigned char, unsigned char)’
425 | VTKCOMMONCORE_EXPORT bool DoComputeScalarRange(
| ^~~~~~~~
/home/dan/dev/vtk/9.2.2/VTK-9.3.1/Common/Core/vtkGenericDataArray.h:611:1: error: expected identifier before numeric constant
611 | VTK_DECLARE_VALUERANGE_ARRAYTYPE(vtkSOADataArrayTemplate~~~~~~~
/home/dan/dev/vtk/9.2.2/VTK-9.3.1/Common/Core/vtkGenericDataArray.h:611:1: error: expected ‘,’ or ‘...’ before numeric constant
/home/dan/dev/vtk/9.2.2/VTK-9.3.1/Common/Core/vtkGenericDataArray.h:612:1: error: expected identifier before numeric constant
612 | VTK_DECLARE_VALUERANGE_ARRAYTYPE(vtkSOADataArrayTemplate~~~~~~~
/home/dan/dev/vtk/9.2.2/VTK-9.3.1/Common/Core/vtkGenericDataArray.h:612:1: error: expected ‘,’ or ‘...’ before numeric constant
/home/dan/dev/vtk/9.2.2/VTK-9.3.1/Common/Core/vtkGenericDataArray.h:612:1: error: template-id ‘DoComputeScalarRange<>’ for ‘bool vtkDataArrayPrivate::DoComputeScalarRange(vtkSOADataArrayTemplate~~~~~~~
/home/dan/dev/vtk/9.2.2/VTK-9.3.1/Common/Core/vtkGenericDataArray.h:425:27: note: candidate is: ‘template<class A, class R, class T> bool vtkDataArrayPrivate::DoComputeScalarRange(A~~~~~~~
/home/dan/dev/vtk/9.2.2/VTK-9.3.1/Common/Core/vtkGenericDataArray.h:612:1: error: expected identifier before numeric constant
612 | VTK_DECLARE_VALUERANGE_ARRAYTYPE(vtkSOADataArrayTemplate~~~~~~~
/home/dan/dev/vtk/9.2.2/VTK-9.3.1/Common/Core/vtkGenericDataArray.h:612:1: error: expected ‘,’ or ‘...’ before numeric constant
/home/dan/dev/vtk/9.2.2/VTK-9.3.1/Common/Core/vtkGenericDataArray.h:613:1: error: expected identifier before numeric constant
613 | VTK_DECLARE_VALUERANGE_ARRAYTYPE(vtkSOADataArrayTemplate~~~~~~~
/home/dan/dev/vtk/9.2.2/VTK-9.3.1/Common/Core/vtkGenericDataArray.h:613:1: error: expected ‘,’ or ‘...’ before numeric constant
/home/dan/dev/vtk/9.2.2/VTK-9.3.1/Common/Core/vtkGenericDataArray.h:613:1: error: template-id ‘DoComputeScalarRange<>’ for ‘bool vtkDataArrayPrivate::DoComputeScalarRange(vtkSOADataArrayTemplate~~~~~~~
/home/dan/dev/vtk/9.2.2/VTK-9.3.1/Common/Core/vtkGenericDataArray.h:425:27: note: candidate is: ‘template<class A, class R, class T> bool vtkDataArrayPrivate::DoComputeScalarRange(A, R, T, const unsigned char, unsigned char)’
425 | VTKCOMMONCORE_EXPORT bool DoComputeScalarRange(
| ^~~~~~~~
/home/dan/dev/vtk/9.2.2/VTK-9.3.1/Common/Core/vtkGenericDataArray.h:613:1: error: expected identifier before numeric constant
613 | VTK_DECLARE_VALUERANGE_ARRAYTYPE(vtkSOADataArrayTemplate~~~~~~~
/home/dan/dev/vtk/9.2.2/VTK-9.3.1/Common/Core/vtkGenericDataArray.h:613:1: error: expected ‘,’ or ‘...’ before numeric constant
/home/dan/dev/vtk/9.2.2/VTK-9.3.1/Common/Core/vtkGenericDataArray.txx: In member function ‘bool vtkGenericDataArray<DerivedT, ValueTypeT>::ComputeScalarValueRange(ValueType~~~~
/home/dan/dev/vtk/9.2.2/VTK-9.3.1/Common/Core/vtkGenericDataArray.txx: In member function ‘bool vtkGenericDataArray<DerivedT, ValueTypeT>::ComputeVectorValueRange(ValueType, const unsigned char*, unsigned char)’:
/home/dan/dev/vtk/9.2.2/VTK-9.3.1/Common/Core/vtkGenericDataArray.txx:1297:26: error: expected unqualified-id before numeric constant
1297 | vtkDataArrayPrivate::AllValues{}, Supported{}, ghosts, ghostsToSkip);
| ^~~~~
make[2]: [CMakeFiles/ready.dir/build.make:168: CMakeFiles/ready.dir/src/gui/frame.cpp.o] Error 1
make[1]: [CMakeFiles/Makefile2:168: CMakeFiles/ready.dir/all] Error 2
make: *** [Makefile:166: all] Error 2
All the above seemed to lead to this code in src/gui/wxVTKRenderWindowInteractor.cxx:
// Find and return the actual X-Window.
GtkWidget* gtk_widget = this->GetHandle();
GdkWindow* gdk_window = gtk_widget_get_window(gtk_widget);
Window win = gdk_x11_window_get_xid(gdk_window);
Window win = gdk_x11_drawable_get_xid(gdk_window);
return win;
Could this maybe have a condition that works with wayland? I will check whether this is actually where things are going wrong as well.
Hmm the above was far too long!.. I think this is a better summary of the problem:
[ 93%] Building CXX object CMakeFiles/ready.dir/src/gui/wxVTKRenderWindowInteractor.cxx.o
In file included from /usr/include/gtk-3.0/gdk/gdkapplaunchcontext.h:30,
from /usr/include/gtk-3.0/gdk/gdk.h:32,
from /usr/include/gtk-3.0/gdk/gdkx.h:32,
from /home/dan/dev/ready/readyGit/8thSept2024/src/gui/wxVTKRenderWindowInteractor.cxx:61:
/usr/include/gtk-3.0/gdk/gdktypes.h:143:39: error: conflicting declaration ‘typedef struct _GdkWindow GdkWindow’
143 | typedef struct _GdkWindow GdkWindow;
| ^~~~~
In file included from /usr/include/wx-3.0/wx/wxprec.h:12,
from /home/dan/dev/ready/readyGit/8thSept2024/src/gui/wxVTKRenderWindowInteractor.h:41,
from /home/dan/dev/ready/readyGit/8thSept2024/src/gui/wxVTKRenderWindowInteractor.cxx:21:
/usr/include/wx-3.0/wx/defs.h:3477:33: note: previous declaration as ‘typedef struct _GdkDrawable GdkWindow’
3477 | typedef struct _GdkDrawable GdkWindow;
| ^~~~~
make[2]: [CMakeFiles/ready.dir/build.make:266: CMakeFiles/ready.dir/src/gui/wxVTKRenderWindowInteractor.cxx.o] Error 1
make[1]: [CMakeFiles/Makefile2:168: CMakeFiles/ready.dir/all] Error 2
make: *** [Makefile:166: all] Error 2
Sounds like maybe wx-3.0 and gtk-3.0 disagree about who defines GdkWindow?!
I did some gentoo-y checking where these includes are coming from and this is the wx one:
equery b /usr/include/wx-3.0/wx/wxprec.h
and I also checked the gtk one, and indeed it is a different version:
equery b /usr/include/gtk-3.0/gdk/gdktypes.h
This led me to discover I had an older version of wxwidgets selected.. so I've selected the newer one (gtk3-unicode-3.2-gtk3).. and now it builds!
It's asking for GDK_BACKEND=x11.. and the UI is all kinds of messed-up. but that might be because of a left-over dark theme from before I updated things recently.. will try with a light theme next!
Ok it's working now however even after clearing the gtk 'theme' I still have white text on a white background in the 'pattern browser' panel.
I found that commenting this bit in PatternsPanel.cpp sorted it out:
//#if wxCHECK_VERSION(2,9,0) // treectrl->SetBackgroundStyle(wxBG_STYLE_ERASE); //#else // treectrl->SetBackgroundStyle(wxBG_STYLE_COLOUR); //#endif //treectrl->SetBackgroundColour(*wxWHITE);
Not sure that will work for everyone, but something to consider maybe @timhutton ?
Maybe we just need a branch on that 'if' that does the right thing on newer wxwidgets? (I'm on 3.2.2.1 now)
I'm on Gentoo, and yesterday's update took me to KDE6 which uses wayland by default. I wasn't really intending to bite that bullet yet but here we are I guess! Better get used to it! (and I'll be happy to look into and fix this myself if I can!)
I rebuilt ready (admittedly probably just some old trunk!) and the build worked great, but when I run the 'ready' binary, the UI appears for a brief moment and then it crashes, saying:
The program 'ready' received an X Window System error. This probably reflects a bug in the program. The error was 'BadMatch (invalid parameter attributes)'. (Details: serial 39 error_code 8 request_code 145 minor_code 3) (Note to programmers: normally, X errors are reported asynchronously; that is, you will receive the error a while after causing it. To debug your program, run it with the --sync command line option to change this behavior. You can then get a meaningful backtrace from your debugger if you break on the gdk_x_error() function.)