GollyGang / ready

A cross-platform implementation of various reaction-diffusion systems and PDEs.
GNU General Public License v3.0
768 stars 60 forks source link

Problems at run-time in xwayland #171

Open danwills opened 1 week ago

danwills commented 1 week ago

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.)

danwills commented 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..

danwills commented 1 week ago

env GDK_BACKEND=x11 golly

That starts golly with no warnings.. but it doesn't seem to help ready

danwills commented 1 week ago

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!

danwills commented 1 week ago

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, long int, int)’ does not match any template declaration 577 | VTK_DECLARE_VALUERANGE_VALUETYPE(long) | ^~~~~~~~ /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, long int, int)’ does not match any template declaration 577 | VTK_DECLARE_VALUERANGE_VALUETYPE(long) | ^~~~~~~~ /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, long unsigned int, int)’ does not match any template declaration 578 | VTK_DECLARE_VALUERANGE_VALUETYPE(unsigned long) | ^~~~~~~~ /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, long unsigned int, int)’ does not match any template declaration 578 | VTK_DECLARE_VALUERANGE_VALUETYPE(unsigned long) | ^~~~~~~~ /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, long long int, int)’ does not match any template declaration 579 | VTK_DECLARE_VALUERANGE_VALUETYPE(long long) | ^~~~~~~~ /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, long long int, int)’ does not match any template declaration 579 | VTK_DECLARE_VALUERANGE_VALUETYPE(long long) | ^~~~~~~~ /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, long long unsigned int, int)’ does not match any template declaration 580 | VTK_DECLARE_VALUERANGE_VALUETYPE(unsigned long long) | ^~~~~~~~ /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, long long unsigned int, int)’ does not match any template declaration 580 | VTK_DECLARE_VALUERANGE_VALUETYPE(unsigned long long) | ^~~~~~~~ /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, double) | ^~~~~~~~ /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, double, int)’ does not match any template declaration 586 | VTK_DECLARE_VALUERANGE_ARRAYTYPE(vtkAOSDataArrayTemplate, 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:586:1: error: expected identifier before numeric constant 586 | VTK_DECLARE_VALUERANGE_ARRAYTYPE(vtkAOSDataArrayTemplate, double) | ^~~~~~~~ /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, double) | ^~~~~~~~ /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, double, int)’ does not match any template declaration 587 | VTK_DECLARE_VALUERANGE_ARRAYTYPE(vtkAOSDataArrayTemplate, 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:587:1: error: expected identifier before numeric constant 587 | VTK_DECLARE_VALUERANGE_ARRAYTYPE(vtkAOSDataArrayTemplate, double) | ^~~~~~~~ /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, double) | ^~~~~~~~ /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, double, int)’ does not match any template declaration 588 | VTK_DECLARE_VALUERANGE_ARRAYTYPE(vtkAOSDataArrayTemplate, 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:588:1: error: expected identifier before numeric constant 588 | VTK_DECLARE_VALUERANGE_ARRAYTYPE(vtkAOSDataArrayTemplate, double) | ^~~~~~~~ /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, double) | ^~~~~~~~ /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, double, int)’ does not match any template declaration 589 | VTK_DECLARE_VALUERANGE_ARRAYTYPE(vtkAOSDataArrayTemplate, 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:589:1: error: expected identifier before numeric constant 589 | VTK_DECLARE_VALUERANGE_ARRAYTYPE(vtkAOSDataArrayTemplate, double) | ^~~~~~~~ /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, double) | ^~~~~~~~ /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, double, int)’ does not match any template declaration 590 | VTK_DECLARE_VALUERANGE_ARRAYTYPE(vtkAOSDataArrayTemplate, 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:590:1: error: expected identifier before numeric constant 590 | VTK_DECLARE_VALUERANGE_ARRAYTYPE(vtkAOSDataArrayTemplate, double) | ^~~~~~~~ /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, double) | ^~~~~~~~ /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, double, int)’ does not match any template declaration 591 | VTK_DECLARE_VALUERANGE_ARRAYTYPE(vtkAOSDataArrayTemplate, 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:591:1: error: expected identifier before numeric constant 591 | VTK_DECLARE_VALUERANGE_ARRAYTYPE(vtkAOSDataArrayTemplate, double) | ^~~~~~~~ /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, double) | ^~~~~~~~ /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, double, int)’ does not match any template declaration 592 | VTK_DECLARE_VALUERANGE_ARRAYTYPE(vtkAOSDataArrayTemplate, 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:592:1: error: expected identifier before numeric constant 592 | VTK_DECLARE_VALUERANGE_ARRAYTYPE(vtkAOSDataArrayTemplate, double) | ^~~~~~~~ /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, double) | ^~~~~~~~ /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, double, int)’ does not match any template declaration 593 | VTK_DECLARE_VALUERANGE_ARRAYTYPE(vtkAOSDataArrayTemplate, 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:593:1: error: expected identifier before numeric constant 593 | VTK_DECLARE_VALUERANGE_ARRAYTYPE(vtkAOSDataArrayTemplate, double) | ^~~~~~~~ /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, double) | ^~~~~~~~ /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, double, int)’ does not match any template declaration 594 | VTK_DECLARE_VALUERANGE_ARRAYTYPE(vtkAOSDataArrayTemplate, 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:594:1: error: expected identifier before numeric constant 594 | VTK_DECLARE_VALUERANGE_ARRAYTYPE(vtkAOSDataArrayTemplate, double) | ^~~~~~~~ /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, double) | ^~~~~~~~ /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, double, int)’ does not match any template declaration 595 | VTK_DECLARE_VALUERANGE_ARRAYTYPE(vtkAOSDataArrayTemplate, 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:595:1: error: expected identifier before numeric constant 595 | VTK_DECLARE_VALUERANGE_ARRAYTYPE(vtkAOSDataArrayTemplate, double) | ^~~~~~~~ /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, double) | ^~~~~~~~ /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, double, int)’ does not match any template declaration 596 | VTK_DECLARE_VALUERANGE_ARRAYTYPE(vtkAOSDataArrayTemplate, 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:596:1: error: expected identifier before numeric constant 596 | VTK_DECLARE_VALUERANGE_ARRAYTYPE(vtkAOSDataArrayTemplate, double) | ^~~~~~~~ /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, double) | ^~~~~~~~ /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, double, int)’ does not match any template declaration 597 | VTK_DECLARE_VALUERANGE_ARRAYTYPE(vtkAOSDataArrayTemplate, 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:597:1: error: expected identifier before numeric constant 597 | VTK_DECLARE_VALUERANGE_ARRAYTYPE(vtkAOSDataArrayTemplate, double) | ^~~~~~~~ /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, double) | ^~~~~~~~ /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, double, int)’ does not match any template declaration 598 | VTK_DECLARE_VALUERANGE_ARRAYTYPE(vtkAOSDataArrayTemplate, 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:598:1: error: expected identifier before numeric constant 598 | VTK_DECLARE_VALUERANGE_ARRAYTYPE(vtkAOSDataArrayTemplate, double) | ^~~~~~~~ /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, double) | ^~~~~~~~ /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, double, int)’ does not match any template declaration 601 | VTK_DECLARE_VALUERANGE_ARRAYTYPE(vtkSOADataArrayTemplate, 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:601:1: error: expected identifier before numeric constant 601 | VTK_DECLARE_VALUERANGE_ARRAYTYPE(vtkSOADataArrayTemplate, double) | ^~~~~~~~ /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, double) | ^~~~~~~~ /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, double, int)’ does not match any template declaration 602 | VTK_DECLARE_VALUERANGE_ARRAYTYPE(vtkSOADataArrayTemplate, 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:602:1: error: expected identifier before numeric constant 602 | VTK_DECLARE_VALUERANGE_ARRAYTYPE(vtkSOADataArrayTemplate, double) | ^~~~~~~~ /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, double) | ^~~~~~~~ /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, double, int)’ does not match any template declaration 603 | VTK_DECLARE_VALUERANGE_ARRAYTYPE(vtkSOADataArrayTemplate, 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:603:1: error: expected identifier before numeric constant 603 | VTK_DECLARE_VALUERANGE_ARRAYTYPE(vtkSOADataArrayTemplate, double) | ^~~~~~~~ /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, double) | ^~~~~~~~ /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, double, int)’ does not match any template declaration 604 | VTK_DECLARE_VALUERANGE_ARRAYTYPE(vtkSOADataArrayTemplate, 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:604:1: error: expected identifier before numeric constant 604 | VTK_DECLARE_VALUERANGE_ARRAYTYPE(vtkSOADataArrayTemplate, double) | ^~~~~~~~ /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, double) | ^~~~~~~~ /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, double, int)’ does not match any template declaration 605 | VTK_DECLARE_VALUERANGE_ARRAYTYPE(vtkSOADataArrayTemplate, 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:605:1: error: expected identifier before numeric constant 605 | VTK_DECLARE_VALUERANGE_ARRAYTYPE(vtkSOADataArrayTemplate, double) | ^~~~~~~~ /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, double) | ^~~~~~~~ /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, double, int)’ does not match any template declaration 606 | VTK_DECLARE_VALUERANGE_ARRAYTYPE(vtkSOADataArrayTemplate, 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:606:1: error: expected identifier before numeric constant 606 | VTK_DECLARE_VALUERANGE_ARRAYTYPE(vtkSOADataArrayTemplate, double) | ^~~~~~~~ /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, double) | ^~~~~~~~ /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, double, int)’ does not match any template declaration 607 | VTK_DECLARE_VALUERANGE_ARRAYTYPE(vtkSOADataArrayTemplate, 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:607:1: error: expected identifier before numeric constant 607 | VTK_DECLARE_VALUERANGE_ARRAYTYPE(vtkSOADataArrayTemplate, double) | ^~~~~~~~ /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, double) | ^~~~~~~~ /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, double, int)’ does not match any template declaration 608 | VTK_DECLARE_VALUERANGE_ARRAYTYPE(vtkSOADataArrayTemplate, 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:608:1: error: expected identifier before numeric constant 608 | VTK_DECLARE_VALUERANGE_ARRAYTYPE(vtkSOADataArrayTemplate, double) | ^~~~~~~~ /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, double) | ^~~~~~~~ /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, double, int)’ does not match any template declaration 609 | VTK_DECLARE_VALUERANGE_ARRAYTYPE(vtkSOADataArrayTemplate, 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:609:1: error: expected identifier before numeric constant 609 | VTK_DECLARE_VALUERANGE_ARRAYTYPE(vtkSOADataArrayTemplate, double) | ^~~~~~~~ /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, double) | ^~~~~~~~ /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, double, int)’ does not match any template declaration 610 | VTK_DECLARE_VALUERANGE_ARRAYTYPE(vtkSOADataArrayTemplate, 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:610:1: error: expected identifier before numeric constant 610 | VTK_DECLARE_VALUERANGE_ARRAYTYPE(vtkSOADataArrayTemplate, double) | ^~~~~~~~ /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, double) | ^~~~~~~~ /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, double, int)’ does not match any template declaration 611 | VTK_DECLARE_VALUERANGE_ARRAYTYPE(vtkSOADataArrayTemplate, 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:611:1: error: expected identifier before numeric constant 611 | VTK_DECLARE_VALUERANGE_ARRAYTYPE(vtkSOADataArrayTemplate, double) | ^~~~~~~~ /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, double) | ^~~~~~~~ /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, double, int)’ does not match any template declaration 612 | VTK_DECLARE_VALUERANGE_ARRAYTYPE(vtkSOADataArrayTemplate, 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:612:1: error: expected identifier before numeric constant 612 | VTK_DECLARE_VALUERANGE_ARRAYTYPE(vtkSOADataArrayTemplate, double) | ^~~~~~~~ /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, double) | ^~~~~~~~ /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, double, int)’ does not match any template declaration 613 | VTK_DECLARE_VALUERANGE_ARRAYTYPE(vtkSOADataArrayTemplate, 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:613:1: error: expected identifier before numeric constant 613 | VTK_DECLARE_VALUERANGE_ARRAYTYPE(vtkSOADataArrayTemplate, double) | ^~~~~~~~ /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, const unsigned char, unsigned char)’: /home/dan/dev/vtk/9.2.2/VTK-9.3.1/Common/Core/vtkGenericDataArray.txx:1286:26: error: expected unqualified-id before numeric constant 1286 | vtkDataArrayPrivate::AllValues{}, Supported{}, ghosts, ghostsToSkip); | ^~~~~ /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

danwills commented 1 week ago

All the above seemed to lead to this code in src/gui/wxVTKRenderWindowInteractor.cxx:

// Find and return the actual X-Window.

if defined(WXGTK) || defined(WXX11)

GtkWidget* gtk_widget = this->GetHandle();
GdkWindow* gdk_window = gtk_widget_get_window(gtk_widget);

if GTK_MAJOR_VERSION >= 3

Window win = gdk_x11_window_get_xid(gdk_window);

else

Window win = gdk_x11_drawable_get_xid(gdk_window);

endif

return win;

endif

Could this maybe have a condition that works with wayland? I will check whether this is actually where things are going wrong as well.

danwills commented 1 week ago

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

danwills commented 1 week ago

Sounds like maybe wx-3.0 and gtk-3.0 disagree about who defines GdkWindow?!

danwills commented 1 week ago

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!

danwills commented 1 week ago

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.

danwills commented 1 week ago

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 ?

danwills commented 1 week ago

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)