Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Various compilation errors #170

Open
raphael10-collab opened this issue Aug 2, 2024 · 1 comment
Open

Various compilation errors #170

raphael10-collab opened this issue Aug 2, 2024 · 1 comment

Comments

@raphael10-collab
Copy link

raphy@raohy:~/Ready/ready$ cmake -B builddir
CMake Deprecation Warning at CMakeLists.txt:20 (cmake_minimum_required):
  Compatibility with CMake < 3.5 will be removed from a future version of
  CMake.

  Update the VERSION argument <min> value or use a ...<max> suffix to tell
  CMake that the project does not need compatibility with older versions.


-- The C compiler identification is GNU 12.3.0
-- The CXX compiler identification is GNU 13.2.0
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working C compiler: /usr/bin/cc - skipped
-- Detecting C compile features
-- Detecting C compile features - done
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Check for working CXX compiler: /usr/bin/c++ - skipped
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Performing Test CMAKE_HAVE_LIBC_PTHREAD
-- Performing Test CMAKE_HAVE_LIBC_PTHREAD - Success
-- Found Threads: TRUE
-- Found OpenGL: /usr/lib/x86_64-linux-gnu/libOpenGL.so  found components: OpenGL GLX
-- Found X11: /usr/include
-- Looking for XOpenDisplay in /usr/lib/x86_64-linux-gnu/libX11.so;/usr/lib/x86_64-linux-gnu/libXext.so
-- Looking for XOpenDisplay in /usr/lib/x86_64-linux-gnu/libX11.so;/usr/lib/x86_64-linux-gnu/libXext.so - found
-- Looking for gethostbyname
-- Looking for gethostbyname - found
-- Looking for connect
-- Looking for connect - found
-- Looking for remove
-- Looking for remove - found
-- Looking for shmat
-- Looking for shmat - found
-- Looking for IceConnectionNumber in ICE
-- Looking for IceConnectionNumber in ICE - found
-- Found PkgConfig: /usr/bin/pkg-config (found version "1.8.1")
-- Checking for module 'gtk+-2.0'
--   Found gtk+-2.0, version 2.24.33
-- Found wxWidgets: -L/usr/local/lib;-pthread;;;-lwx_gtk3u_html-3.3;-lwx_gtk3u_aui-3.3;-lwx_gtk3u_gl-3.3;-lwx_gtk3u_core-3.3;-lwx_baseu-3.3 (found version "3.3.0")
-- Found OpenCL: /usr/lib/x86_64-linux-gnu/libOpenCL.so
-- Found Doxygen: /usr/bin/doxygen (found version "1.9.8") found components: doxygen dot
-- Configuring done (1.2s)
-- Generating done (0.0s)
-- Build files have been written to: /home/raphy/Ready/ready/builddir
raphy@raohy:~/Ready/ready$ 
raphy@raohy:~/Ready/ready$ cmake --build builddir/
[  0%] Generating BUILD.txt
[  1%] Generating Patterns/Meinhardt1982/stripes.vti
[  1%] Generating Patterns/Meinhardt1982/zebra.vtu
[  1%] Generating Patterns/Schlogl.vti
[  2%] Generating Patterns/heat_equation.vti
[  3%] Generating Patterns/Turing1952/spots.vti
[  3%] Generating Patterns/Turing1952/spots_noisy.vti
[  4%] Generating Patterns/kernel_test.vti
[  4%] Generating Patterns/parameter_modulation_demo.vti
[  5%] Generating Patterns/parameter_modulation_demo2.vti
[  5%] Generating Patterns/bunny.vtu
[  5%] Generating Patterns/lion.vtu
[  5%] Generating Patterns/heat_equation_interpolation.vti
[  5%] Generating Patterns/Ginzburg-Landau/complex_Ginzburg-Landau.vti
[  6%] Generating Patterns/Ginzburg-Landau/complex_Ginzburg-Landau_magnitude.vti
[  6%] Generating Patterns/wave_equation.vti
[  7%] Generating Patterns/oregonator.vti
[  7%] Generating Patterns/Brusselator.vti
[  8%] Generating Patterns/SmoothLife/smoothglider.vti
[  8%] Generating Patterns/SmoothLife/smoothlifeL.vti
[  8%] Generating Patterns/SmoothLife/glider_3D.vti
[  9%] Generating Patterns/Purwins1999/glider.vti
[  9%] Generating Patterns/Purwins1999/glider_3D.vti
[ 10%] Generating Patterns/Purwins1999/multiGlider.vti
[ 11%] Generating Patterns/CPU-only/grayscott_1D.vti
[ 11%] Generating Patterns/CPU-only/grayscott_2D.vti
[ 12%] Generating Patterns/CPU-only/grayscott_3D.vti
[ 13%] Generating Patterns/FitzHugh-Nagumo/tip-splitting.vti
[ 14%] Generating Patterns/FitzHugh-Nagumo/spiral_turbulence.vti
[ 14%] Generating Patterns/FitzHugh-Nagumo/pulsate.vti
[ 14%] Generating Patterns/FitzHugh-Nagumo/squid_axon.vti
[ 15%] Generating Patterns/FitzHugh-Nagumo/Ising_regime.vti
[ 15%] Generating Patterns/Gray-Scott/Lesmes_noisy.vti
[ 16%] Generating Patterns/Gray-Scott/noisy_solitons_mitosis.vti
[ 16%] Generating Patterns/Gray-Scott/parameter-map.vti
[ 17%] Generating Patterns/Gray-Scott/Pearson1993.vti
[ 18%] Generating Patterns/Gray-Scott/self-replicating_spots.vti
[ 18%] Generating Patterns/Gray-Scott/U-Skate/Hutton-and-helix-gliders.vti
[ 19%] Generating Patterns/Gray-Scott/U-Skate/Munafo_glider.vti
[ 19%] Generating Patterns/Gray-Scott/U-Skate/o-ring_2D.vti
[ 19%] Generating Patterns/CellularAutomata/Bays_3D.vti
[ 19%] Generating Patterns/CellularAutomata/Conway_life.vti
[ 19%] Generating Patterns/CellularAutomata/life_torus.vtu
[ 20%] Generating Patterns/CellularAutomata/larger-than-life.vti
[ 21%] Generating Patterns/CellularAutomata/Buss_hex.vtu
[ 22%] Generating Patterns/CellularAutomata/tri_life.vtu
[ 22%] Generating Patterns/CellularAutomata/hex_B2oS2m34_gliders.vtu
[ 22%] Generating Patterns/CellularAutomata/PenroseTilings/life.vtu
[ 23%] Generating Patterns/CellularAutomata/PenroseTilings/life_oscillators.vtu
[ 24%] Generating Patterns/CellularAutomata/PenroseTilings/Goucher_glider.vtu
[ 25%] Generating Patterns/CellularAutomata/PenroseTilings/Imai_glider_B2SC4.vtu
[ 25%] Generating Patterns/CellularAutomata/PenroseTilings/Goucher_loops.vtu
[ 25%] Generating Patterns/CellularAutomata/Salt/salt2D_demo.vti
[ 26%] Generating Patterns/CellularAutomata/Salt/salt3D_circular330.vti
[ 27%] Generating Patterns/Yang2002/Yang_1.vti
[ 27%] Generating Patterns/Yang2002/Yang_2b.vti
[ 28%] Generating Patterns/Yang2002/Yang_2c.vti
[ 28%] Generating Patterns/Yang2002/Yang_2d.vti
[ 29%] Generating Patterns/Yang2002/Yang_3a.vti
[ 29%] Generating Patterns/Yang2002/Yang_3b.vti
[ 30%] Generating Patterns/Yang2002/Yang_3c.vti
[ 30%] Generating Patterns/Yang2002/Yang_3d.vti
[ 31%] Generating Patterns/Yang2002/Yang_4.vti
[ 31%] Generating Patterns/Yang2003/Fig2.vti
[ 32%] Generating Patterns/Yang2003/Fig3a.vti
[ 32%] Generating Patterns/Yang2003/Fig3b.vti
[ 33%] Generating Patterns/Yang2003/Fig3c.vti
[ 34%] Generating Patterns/McCabe/McCabe.vti
[ 34%] Generating Patterns/McCabe/McCabe_simple.vti
[ 35%] Generating Patterns/McCabe/McCabe_additive2b.vti
[ 35%] Generating Patterns/McCabe/McCabe_additive2a.vti
[ 35%] Generating Patterns/Kytta2007/Fig5.7a.vti
[ 36%] Generating Patterns/Kytta2007/Fig5.7c.vti
[ 36%] Generating Patterns/Kytta2007/Fig5.8c.vti
[ 37%] Generating Patterns/Kytta2007/Fig5.8d.vti
[ 37%] Generating Patterns/Kytta2007/Fig5.8e.vti
[ 38%] Generating Patterns/Kytta2007/Fig5.8f.vti
[ 38%] Generating Patterns/Kytta2007/Fig5.8g.vti
[ 38%] Generating Patterns/Yang2006/jumping.vti
[ 39%] Generating Patterns/Yang2006/jumping_cGL.vti
[ 40%] Generating Patterns/Schrodinger1926/packet.vti
[ 41%] Generating Patterns/Schrodinger1926/packet_reflect.vti
[ 41%] Generating Patterns/Schrodinger1926/packet_pass.vti
[ 42%] Generating Patterns/Schrodinger1926/quantum_tunnelling.vti
[ 42%] Generating Patterns/Schrodinger1926/packet_reflect2D.vti
[ 42%] Generating Patterns/Experiments/mutually-catalytic_spots.vti
[ 42%] Generating Patterns/Experiments/cglrd_ramps_example_djw.vti
[ 42%] Generating Patterns/Experiments/grayscott-historyWave_fuseWorms.vti
[ 43%] Generating Patterns/Experiments/grayscott-historyWave_moreLifelike.vti
[ 43%] Generating Patterns/Experiments/grayscott-historyWaveDC_solitonsAndWorms_init.vti
[ 44%] Generating Patterns/Experiments/orbits_explodey_init.djw.vti
[ 44%] Generating Patterns/Experiments/orbits_sharpWaves-init_djw.vti
[ 45%] Generating Patterns/Experiments/grayscott-historyWave_coralGrow_djw.vti
[ 46%] Generating Patterns/Experiments/gladman_vermiformSolitons.vti
[ 46%] Generating Help/about.gif
[ 47%] Generating Help/about.html
[ 47%] Generating Help/action.html
[ 47%] Generating Help/credits.html
[ 47%] Generating Help/file.html
[ 47%] Generating Help/help.html
[ 48%] Generating Help/mouse.html
[ 49%] Generating Help/quickstart.html
[ 49%] Generating Help/tips.html
[ 50%] Generating Help/changes.html
[ 51%] Generating Help/edit.html
[ 52%] Generating Help/formats.html
[ 53%] Generating Help/index.html
[ 53%] Generating Help/problems.html
[ 54%] Generating Help/view.html
[ 54%] Generating Help/introduction.html
[ 55%] Generating resources/ready.rc
[ 55%] Generating resources/appicon.ico
[ 55%] Generating resources/appicon16.ico
[ 56%] Generating resources/appicon32.ico
[ 56%] Generating resources/appicon48.ico
[ 57%] Generating resources/appicon.xpm
[ 57%] Generating resources/Info.plist.in
[ 58%] Generating resources/app.icns
[ 59%] Generating resources/file.icns
[ 60%] Generating README.txt
[ 61%] Generating COPYING.txt
[ 61%] Generating TODO.txt
[ 61%] Generating CMakeLists.txt
[ 62%] Generating src/FindOpenCL.cmake
[ 62%] Generating src/Doxyfile.in
[ 62%] Generating resources/logo.png
[ 62%] Generating resources/Icons/22px/icon-pointer.png
[ 63%] Generating resources/Icons/22px/draw-freehand.png
[ 63%] Generating resources/Icons/22px/draw-brush.png
[ 64%] Generating resources/Icons/22px/color-picker.png
[ 64%] Generating resources/Icons/22px/document-new.png
[ 65%] Generating resources/Icons/22px/document-open.png
[ 66%] Generating resources/Icons/22px/document-save.png
[ 66%] Generating resources/Icons/22px/document-revert.png
[ 67%] Generating resources/Icons/22px/media-playback-start_green.png
[ 67%] Generating resources/Icons/22px/media-playback-pause_red.png
[ 67%] Generating resources/Icons/22px/media-seek-forward.png
[ 68%] Generating resources/Icons/22px/media-seek-backward.png
[ 69%] Generating resources/Icons/22px/media-skip-backward_modified.png
[ 69%] Generating resources/Icons/22px/media-record.png
[ 69%] Generating resources/Icons/22px/system-run.png
[ 70%] Generating resources/Icons/22px/list-add_gray.png
[ 70%] Generating resources/Icons/22px/camera-photo.png
[ 71%] Generating resources/Icons/32px/icon-pointer.png
[ 71%] Generating resources/Icons/32px/draw-freehand.png
[ 72%] Generating resources/Icons/32px/draw-brush.png
[ 72%] Generating resources/Icons/32px/color-picker.png
[ 73%] Generating resources/Icons/32px/document-new.png
[ 73%] Generating resources/Icons/32px/document-open.png
[ 73%] Generating resources/Icons/32px/document-save.png
[ 74%] Generating resources/Icons/32px/document-revert.png
[ 74%] Generating resources/Icons/32px/media-playback-start_green.png
[ 75%] Generating resources/Icons/32px/media-playback-pause_red.png
[ 76%] Generating resources/Icons/32px/media-seek-forward.png
[ 76%] Generating resources/Icons/32px/media-seek-backward.png
[ 76%] Generating resources/Icons/32px/media-skip-backward_modified.png
[ 77%] Generating resources/Icons/32px/media-record.png
[ 78%] Generating resources/Icons/32px/system-run.png
[ 78%] Generating resources/Icons/32px/list-add_gray.png
[ 79%] Generating resources/Icons/32px/camera-photo.png
[ 79%] Generating resources/Cursors/pencil-cursor.png
[ 80%] Generating resources/Cursors/brush-cursor.png
[ 81%] Generating resources/Cursors/picker-cursor.png
[ 81%] Built target CopyFiles
[ 81%] Building CXX object CMakeFiles/readybase.dir/src/readybase/AbstractRD.cpp.o
In file included from /usr/local/include/vtk-9.3/vtksys/SystemTools.hxx:9,
                 from /usr/local/include/vtk-9.3/vtkSetGet.h:22,
                 from /usr/local/include/vtk-9.3/vtkObject.h:34,
                 from /usr/local/include/vtk-9.3/vtkXMLDataElement.h:20,
                 from /home/raphy/Ready/ready/src/readybase/overlays.hpp:26,
                 from /home/raphy/Ready/ready/src/readybase/AbstractRD.cpp:20:
/usr/local/include/vtk-9.3/vtksys/Status.hxx:16:21: error: variable ‘vtksys::vtksys_EXPORT vtksys::Status’ has initializer but incomplete type
   16 | class vtksys_EXPORT Status
      |                     ^~~~~~
/usr/local/include/vtk-9.3/vtksys/Status.hxx:18:1: error: expected primary-expression before ‘public’
   18 | public:
      | ^~~~~~
/usr/local/include/vtk-9.3/vtksys/Status.hxx:18:1: error: expected ‘}’ before ‘public’
/usr/local/include/vtk-9.3/vtksys/Status.hxx:17:1: note: to match this ‘{’
   17 | {
      | ^
/usr/local/include/vtk-9.3/vtksys/Status.hxx:18:1: error: expected ‘,’ or ‘;’ before ‘public’
   18 | public:
      | ^~~~~~
/usr/local/include/vtk-9.3/vtksys/Status.hxx:29:12: error: expected constructor, destructor, or type conversion before ‘=’ token
   29 |   Status() = default;
      |            ^
/usr/local/include/vtk-9.3/vtksys/Status.hxx:32:10: error: ‘Status’ does not name a type
   32 |   static Status Success() { return Status(); }
      |          ^~~~~~
/usr/local/include/vtk-9.3/vtksys/Status.hxx:35:10: error: ‘Status’ does not name a type
   35 |   static Status POSIX(int e)
      |          ^~~~~~
/usr/local/include/vtk-9.3/vtksys/Status.hxx:43:10: error: ‘Status’ does not name a type
   43 |   static Status POSIX_errno();
      |          ^~~~~~
/usr/local/include/vtk-9.3/vtksys/Status.hxx:59:20: error: non-member function ‘bool vtksys::IsSuccess()’ cannot have cv-qualifier
   59 |   bool IsSuccess() const { return this->Kind_ == Kind::Success; }
      |                    ^~~~~
/usr/local/include/vtk-9.3/vtksys/Status.hxx: In function ‘bool vtksys::IsSuccess()’:
/usr/local/include/vtk-9.3/vtksys/Status.hxx:59:35: error: invalid use of ‘this’ in non-member function
   59 |   bool IsSuccess() const { return this->Kind_ == Kind::Success; }
      |                                   ^~~~
/usr/local/include/vtk-9.3/vtksys/Status.hxx:59:50: error: ‘Kind’ has not been declared
   59 |   bool IsSuccess() const { return this->Kind_ == Kind::Success; }
      |                                                  ^~~~
/usr/local/include/vtk-9.3/vtksys/Status.hxx: At global scope:
/usr/local/include/vtk-9.3/vtksys/Status.hxx:62:3: error: ‘explicit’ outside class declaration
   62 |   explicit operator bool() const { return this->IsSuccess(); }
      |   ^~~~~~~~
/usr/local/include/vtk-9.3/vtksys/Status.hxx:62:28: error: non-member function ‘vtksys::operator bool()’ cannot have cv-qualifier
   62 |   explicit operator bool() const { return this->IsSuccess(); }
      |                            ^~~~~
/usr/local/include/vtk-9.3/vtksys/Status.hxx:62:12: error: ‘vtksys::operator bool()’ must be a non-static member function
   62 |   explicit operator bool() const { return this->IsSuccess(); }
      |            ^~~~~~~~
/usr/local/include/vtk-9.3/vtksys/Status.hxx:65:3: error: ‘Kind’ does not name a type
   65 |   Kind GetKind() const { return this->Kind_; }
      |   ^~~~
/usr/local/include/vtk-9.3/vtksys/Status.hxx:69:18: error: non-member function ‘int vtksys::GetPOSIX()’ cannot have cv-qualifier
   69 |   int GetPOSIX() const
      |                  ^~~~~
/usr/local/include/vtk-9.3/vtksys/Status.hxx: In function ‘int vtksys::GetPOSIX()’:
/usr/local/include/vtk-9.3/vtksys/Status.hxx:71:12: error: invalid use of ‘this’ in non-member function
   71 |     return this->Kind_ == Kind::POSIX ? this->POSIX_ : 0;
      |            ^~~~
/usr/local/include/vtk-9.3/vtksys/Status.hxx:71:27: error: ‘Kind’ has not been declared
   71 |     return this->Kind_ == Kind::POSIX ? this->POSIX_ : 0;
      |                           ^~~~
/usr/local/include/vtk-9.3/vtksys/Status.hxx:71:41: error: invalid use of ‘this’ in non-member function
   71 |     return this->Kind_ == Kind::POSIX ? this->POSIX_ : 0;
      |                                         ^~~~
/usr/local/include/vtk-9.3/vtksys/Status.hxx: At global scope:
/usr/local/include/vtk-9.3/vtksys/Status.hxx:84:27: error: non-member function ‘std::string vtksys::GetString()’ cannot have cv-qualifier
   84 |   std::string GetString() const;
      |                           ^~~~~
/usr/local/include/vtk-9.3/vtksys/Status.hxx:86:1: error: expected unqualified-id before ‘private’
   86 | private:
      | ^~~~~~~
/usr/local/include/vtk-9.3/vtksys/Status.hxx:92:3: error: ‘Kind’ does not name a type
   92 |   Kind Kind_ = Kind::Success;
      |   ^~~~
/usr/local/include/vtk-9.3/vtksys/Status.hxx:100:3: error: namespace-scope anonymous aggregates must be static
  100 |   };
      |   ^
/usr/local/include/vtk-9.3/vtksys/Status.hxx:103:1: error: expected declaration before ‘}’ token
  103 | } // namespace vtksys
      | ^
/usr/local/include/vtk-9.3/vtksys/SystemTools.hxx:53:21: error: variable ‘vtksys::vtksys_EXPORT vtksys::SystemToolsManager’ has initializer but incomplete type
   53 | class vtksys_EXPORT SystemToolsManager
      |                     ^~~~~~~~~~~~~~~~~~
/usr/local/include/vtk-9.3/vtksys/SystemTools.hxx:55:1: error: expected primary-expression before ‘public’
   55 | public:
      | ^~~~~~
/usr/local/include/vtk-9.3/vtksys/SystemTools.hxx:55:1: error: expected ‘}’ before ‘public’
/usr/local/include/vtk-9.3/vtksys/SystemTools.hxx:54:1: note: to match this ‘{’
   54 | {
      | ^
/usr/local/include/vtk-9.3/vtksys/SystemTools.hxx:55:1: error: expected ‘,’ or ‘;’ before ‘public’
   55 | public:
      | ^~~~~~
/usr/local/include/vtk-9.3/vtksys/SystemTools.hxx:57:22: error: expected class-name before ‘(’ token
   57 |   ~SystemToolsManager();
      |                      ^
/usr/local/include/vtk-9.3/vtksys/SystemTools.hxx:59:28: error: ‘SystemToolsManager’ does not name a type; did you mean ‘SystemToolsStatic’?
   59 |   SystemToolsManager(const SystemToolsManager&) = delete;
      |                            ^~~~~~~~~~~~~~~~~~
      |                            SystemToolsStatic
/usr/local/include/vtk-9.3/vtksys/SystemTools.hxx:59:49: error: expected constructor, destructor, or type conversion before ‘=’ token
   59 |   SystemToolsManager(const SystemToolsManager&) = delete;
      |                                                 ^
/usr/local/include/vtk-9.3/vtksys/SystemTools.hxx:60:3: error: ‘SystemToolsManager’ does not name a type; did you mean ‘SystemToolsStatic’?
   60 |   SystemToolsManager& operator=(const SystemToolsManager&) = delete;
      |   ^~~~~~~~~~~~~~~~~~
      |   SystemToolsStatic
/usr/local/include/vtk-9.3/vtksys/SystemTools.hxx:66:8: error: ‘SystemToolsManager’ does not name a type
   66 | static SystemToolsManager SystemToolsManagerInstance;
      |        ^~~~~~~~~~~~~~~~~~
/usr/local/include/vtk-9.3/vtksys/SystemTools.hxx:89:21: error: variable ‘vtksys_EXPORT SystemTools’ has initializer but incomplete type
   89 | class vtksys_EXPORT SystemTools
      |                     ^~~~~~~~~~~
/usr/local/include/vtk-9.3/vtksys/SystemTools.hxx:91:1: error: expected primary-expression before ‘public’
   91 | public:
      | ^~~~~~
/usr/local/include/vtk-9.3/vtksys/SystemTools.hxx:91:1: error: expected ‘}’ before ‘public’
/usr/local/include/vtk-9.3/vtksys/SystemTools.hxx:90:1: note: to match this ‘{’
   90 | {
      | ^
/usr/local/include/vtk-9.3/vtksys/SystemTools.hxx:91:1: error: expected ‘,’ or ‘;’ before ‘public’
   91 | public:
      | ^~~~~~
/usr/local/include/vtk-9.3/vtksys/SystemTools.hxx: In function ‘std::string MakeCindentifier(const std::string&)’:
/usr/local/include/vtk-9.3/vtksys/SystemTools.hxx:108:12: error: ‘MakeCidentifier’ was not declared in this scope; did you mean ‘MakeCindentifier’?
  108 |     return MakeCidentifier(s);
      |            ^~~~~~~~~~~~~~~
      |            MakeCindentifier
/usr/local/include/vtk-9.3/vtksys/SystemTools.hxx: At global scope:
/usr/local/include/vtk-9.3/vtksys/SystemTools.hxx:352:10: error: ‘Status’ does not name a type; did you mean ‘Stat_t’?
  352 |   static Status Touch(std::string const& filename, bool create);
      |          ^~~~~~
      |          Stat_t
/usr/local/include/vtk-9.3/vtksys/SystemTools.hxx:360:10: error: ‘Status’ does not name a type; did you mean ‘Stat_t’?
  360 |   static Status FileTimeCompare(std::string const& f1, std::string const& f2,
      |          ^~~~~~
      |          Stat_t
/usr/local/include/vtk-9.3/vtksys/SystemTools.hxx:520:10: error: ‘Status’ does not name a type; did you mean ‘Stat_t’?
  520 |   static Status GetShortPath(std::string const& path, std::string& result);
      |          ^~~~~~
      |          Stat_t
/usr/local/include/vtk-9.3/vtksys/SystemTools.hxx:566:10: error: ‘Status’ does not name a type; did you mean ‘Stat_t’?
  566 |   static Status MakeDirectory(const char* path, const mode_t* mode = nullptr);
      |          ^~~~~~
      |          Stat_t
/usr/local/include/vtk-9.3/vtksys/SystemTools.hxx:567:10: error: ‘Status’ does not name a type; did you mean ‘Stat_t’?
  567 |   static Status MakeDirectory(std::string const& path,
      |          ^~~~~~
      |          Stat_t
/usr/local/include/vtk-9.3/vtksys/SystemTools.hxx:574:10: error: ‘Status’ does not name a type; did you mean ‘Stat_t’?
  574 |   static Status CopyFileIfDifferent(std::string const& source,
      |          ^~~~~~
      |          Stat_t
/usr/local/include/vtk-9.3/vtksys/SystemTools.hxx:593:10: error: ‘Status’ does not name a type; did you mean ‘Stat_t’?
  593 |   static Status CopyFileContentBlockwise(std::string const& source,
      |          ^~~~~~
      |          Stat_t
/usr/local/include/vtk-9.3/vtksys/SystemTools.hxx:598:10: error: ‘Status’ does not name a type; did you mean ‘Stat_t’?
  598 |   static Status CloneFileContent(std::string const& source,
      |          ^~~~~~
      |          Stat_t
/usr/local/include/vtk-9.3/vtksys/SystemTools.hxx:609:10: error: ‘Status’ does not name a type; did you mean ‘Stat_t’?
  609 |   static Status CopyFileAlways(std::string const& source,
      |          ^~~~~~
      |          Stat_t
/usr/local/include/vtk-9.3/vtksys/SystemTools.hxx:617:10: error: ‘Status’ does not name a type; did you mean ‘Stat_t’?
  617 |   static Status CopyAFile(std::string const& source,
      |          ^~~~~~
      |          Stat_t
/usr/local/include/vtk-9.3/vtksys/SystemTools.hxx:626:10: error: ‘Status’ does not name a type; did you mean ‘Stat_t’?
  626 |   static Status CopyADirectory(std::string const& source,
      |          ^~~~~~
      |          Stat_t
/usr/local/include/vtk-9.3/vtksys/SystemTools.hxx:633:10: error: ‘Status’ does not name a type; did you mean ‘Stat_t’?
  633 |   static Status RemoveFile(std::string const& source);
      |          ^~~~~~
      |          Stat_t
/usr/local/include/vtk-9.3/vtksys/SystemTools.hxx:638:10: error: ‘Status’ does not name a type; did you mean ‘Stat_t’?
  638 |   static Status RemoveADirectory(std::string const& source);
      |          ^~~~~~
      |          Stat_t
/usr/local/include/vtk-9.3/vtksys/SystemTools.hxx:734:10: error: ‘SystemTools’ does not name a type
  734 |   static SystemTools::FileTypeEnum DetectFileType(const char* filename,
      |          ^~~~~~~~~~~
/usr/local/include/vtk-9.3/vtksys/SystemTools.hxx:742:10: error: ‘Status’ does not name a type; did you mean ‘Stat_t’?
  742 |   static Status CreateSymlink(std::string const& origName,
      |          ^~~~~~
      |          Stat_t
/usr/local/include/vtk-9.3/vtksys/SystemTools.hxx:749:10: error: ‘Status’ does not name a type; did you mean ‘Stat_t’?
  749 |   static Status ReadSymlink(std::string const& newName, std::string& origName);
      |          ^~~~~~
      |          Stat_t
/usr/local/include/vtk-9.3/vtksys/SystemTools.hxx:799:10: error: ‘Status’ does not name a type; did you mean ‘Stat_t’?
  799 |   static Status GetPermissions(const char* file, mode_t& mode);
      |          ^~~~~~
      |          Stat_t
/usr/local/include/vtk-9.3/vtksys/SystemTools.hxx:800:10: error: ‘Status’ does not name a type; did you mean ‘Stat_t’?
  800 |   static Status GetPermissions(std::string const& file, mode_t& mode);
      |          ^~~~~~
      |          Stat_t
/usr/local/include/vtk-9.3/vtksys/SystemTools.hxx:801:10: error: ‘Status’ does not name a type; did you mean ‘Stat_t’?
  801 |   static Status SetPermissions(const char* file, mode_t mode,
      |          ^~~~~~
      |          Stat_t
/usr/local/include/vtk-9.3/vtksys/SystemTools.hxx:803:10: error: ‘Status’ does not name a type; did you mean ‘Stat_t’?
  803 |   static Status SetPermissions(std::string const& file, mode_t mode,
      |          ^~~~~~
      |          Stat_t
/usr/local/include/vtk-9.3/vtksys/SystemTools.hxx:901:10: error: ‘Status’ does not name a type; did you mean ‘Stat_t’?
  901 |   static Status ChangeDirectory(std::string const& dir);
      |          ^~~~~~
      |          Stat_t
/usr/local/include/vtk-9.3/vtksys/SystemTools.hxx:989:1: error: expected unqualified-id before ‘private’
  989 | private:
      | ^~~~~~~
/usr/local/include/vtk-9.3/vtksys/SystemTools.hxx:1003:3: error: ‘SystemToolsManager’ does not name a type
 1003 |   SystemToolsManager* GetSystemToolsManager()
      |   ^~~~~~~~~~~~~~~~~~
/usr/local/include/vtk-9.3/vtksys/SystemTools.hxx:1008:3: error: ‘friend’ used outside of class
 1008 |   friend class SystemToolsStatic;
      |   ^~~~~~
      |   ------
/usr/local/include/vtk-9.3/vtksys/SystemTools.hxx:1009:3: error: ‘friend’ used outside of class
 1009 |   friend class SystemToolsManager;
      |   ^~~~~~
      |   ------
/usr/local/include/vtk-9.3/vtksys/SystemTools.hxx:1010:1: error: expected declaration before ‘}’ token
 1010 | };
      | ^
/usr/local/include/vtk-9.3/vtksys/SystemTools.hxx:1012:1: error: expected declaration before ‘}’ token
 1012 | } // namespace vtksys
      | ^
/usr/local/include/vtk-9.3/vtkXMLDataElement.h: In member function ‘virtual char* vtkXMLDataElement::GetName()’:
/usr/local/include/vtk-9.3/vtkSetGet.h:941:45: error: ‘vtksys::SystemTools’ has not been declared
  941 |       std::string const _filename = vtksys::SystemTools::GetFilenameName(__FILE__);                \
      |                                             ^~~~~~~~~~~
/usr/local/include/vtk-9.3/vtkSetGet.h:833:26: note: in expansion of macro ‘vtkDebugWithObjectMacro’
  833 | #define vtkDebugMacro(x) vtkDebugWithObjectMacro(this, x)
      |                          ^~~~~~~~~~~~~~~~~~~~~~~
/usr/local/include/vtk-9.3/vtkSetGet.h:281:5: note: in expansion of macro ‘vtkDebugMacro’
  281 |     vtkDebugMacro(<< " returning " #name " of " << (this->name ? this->name : "(null)"));          \
      |     ^~~~~~~~~~~~~
/usr/local/include/vtk-9.3/vtkSetGet.h:250:59: note: in expansion of macro ‘vtkGetStringBodyMacro’
  250 | #define vtkGetStringMacro(name) virtual char* Get##name() vtkGetStringBodyMacro(name)
      |                                                           ^~~~~~~~~~~~~~~~~~~~~
/usr/local/include/vtk-9.3/vtkXMLDataElement.h:36:3: note: in expansion of macro ‘vtkGetStringMacro’
   36 |   vtkGetStringMacro(Name);
      |   ^~~~~~~~~~~~~~~~~
/usr/local/include/vtk-9.3/vtkXMLDataElement.h: In member function ‘virtual char* vtkXMLDataElement::GetId()’:
/usr/local/include/vtk-9.3/vtkSetGet.h:941:45: error: ‘vtksys::SystemTools’ has not been declared
  941 |       std::string const _filename = vtksys::SystemTools::GetFilenameName(__FILE__);                \
      |                                             ^~~~~~~~~~~
/usr/local/include/vtk-9.3/vtkSetGet.h:833:26: note: in expansion of macro ‘vtkDebugWithObjectMacro’
  833 | #define vtkDebugMacro(x) vtkDebugWithObjectMacro(this, x)
      |                          ^~~~~~~~~~~~~~~~~~~~~~~
/usr/local/include/vtk-9.3/vtkSetGet.h:281:5: note: in expansion of macro ‘vtkDebugMacro’
  281 |     vtkDebugMacro(<< " returning " #name " of " << (this->name ? this->name : "(null)"));          \
      |     ^~~~~~~~~~~~~
/usr/local/include/vtk-9.3/vtkSetGet.h:250:59: note: in expansion of macro ‘vtkGetStringBodyMacro’
  250 | #define vtkGetStringMacro(name) virtual char* Get##name() vtkGetStringBodyMacro(name)
      |                                                           ^~~~~~~~~~~~~~~~~~~~~
/usr/local/include/vtk-9.3/vtkXMLDataElement.h:44:3: note: in expansion of macro ‘vtkGetStringMacro’
   44 |   vtkGetStringMacro(Id);
      |   ^~~~~~~~~~~~~~~~~
/usr/local/include/vtk-9.3/vtkXMLDataElement.h: In member function ‘virtual void vtkXMLDataElement::SetId(const char*)’:
/usr/local/include/vtk-9.3/vtkSetGet.h:941:45: error: ‘vtksys::SystemTools’ has not been declared
  941 |       std::string const _filename = vtksys::SystemTools::GetFilenameName(__FILE__);                \
      |                                             ^~~~~~~~~~~
/usr/local/include/vtk-9.3/vtkSetGet.h:833:26: note: in expansion of macro ‘vtkDebugWithObjectMacro’
  833 | #define vtkDebugMacro(x) vtkDebugWithObjectMacro(this, x)
      |                          ^~~~~~~~~~~~~~~~~~~~~~~
/usr/local/include/vtk-9.3/vtkSetGet.h:218:5: note: in expansion of macro ‘vtkDebugMacro’
  218 |     vtkDebugMacro(<< " setting " #name " to " << (_arg ? _arg : "(null)"));                        \
      |     ^~~~~~~~~~~~~
/usr/local/include/vtk-9.3/vtkSetGet.h:197:44: note: in expansion of macro ‘vtkSetStringBodyMacro’
  197 |   virtual void Set##name(const char* _arg) vtkSetStringBodyMacro(name, _arg)
      |                                            ^~~~~~~~~~~~~~~~~~~~~
/usr/local/include/vtk-9.3/vtkXMLDataElement.h:45:3: note: in expansion of macro ‘vtkSetStringMacro’
   45 |   vtkSetStringMacro(Id);
      |   ^~~~~~~~~~~~~~~~~
/usr/local/include/vtk-9.3/vtkXMLDataElement.h: In member function ‘virtual char* vtkXMLDataElement::GetCharacterData()’:
/usr/local/include/vtk-9.3/vtkSetGet.h:941:45: error: ‘vtksys::SystemTools’ has not been declared
  941 |       std::string const _filename = vtksys::SystemTools::GetFilenameName(__FILE__);                \
      |                                             ^~~~~~~~~~~
/usr/local/include/vtk-9.3/vtkSetGet.h:833:26: note: in expansion of macro ‘vtkDebugWithObjectMacro’
  833 | #define vtkDebugMacro(x) vtkDebugWithObjectMacro(this, x)
      |                          ^~~~~~~~~~~~~~~~~~~~~~~
/usr/local/include/vtk-9.3/vtkSetGet.h:281:5: note: in expansion of macro ‘vtkDebugMacro’
  281 |     vtkDebugMacro(<< " returning " #name " of " << (this->name ? this->name : "(null)"));          \
      |     ^~~~~~~~~~~~~
/usr/local/include/vtk-9.3/vtkSetGet.h:250:59: note: in expansion of macro ‘vtkGetStringBodyMacro’
  250 | #define vtkGetStringMacro(name) virtual char* Get##name() vtkGetStringBodyMacro(name)
      |                                                           ^~~~~~~~~~~~~~~~~~~~~
/usr/local/include/vtk-9.3/vtkXMLDataElement.h:66:3: note: in expansion of macro ‘vtkGetStringMacro’
   66 |   vtkGetStringMacro(CharacterData);
      |   ^~~~~~~~~~~~~~~~~
/usr/local/include/vtk-9.3/vtkXMLDataElement.h: In member function ‘virtual int vtkXMLDataElement::GetNumberOfAttributes()’:
/usr/local/include/vtk-9.3/vtkSetGet.h:941:45: error: ‘vtksys::SystemTools’ has not been declared
  941 |       std::string const _filename = vtksys::SystemTools::GetFilenameName(__FILE__);                \
      |                                             ^~~~~~~~~~~
/usr/local/include/vtk-9.3/vtkSetGet.h:833:26: note: in expansion of macro ‘vtkDebugWithObjectMacro’
  833 | #define vtkDebugMacro(x) vtkDebugWithObjectMacro(this, x)
      |                          ^~~~~~~~~~~~~~~~~~~~~~~
/usr/local/include/vtk-9.3/vtkSetGet.h:149:5: note: in expansion of macro ‘vtkDebugMacro’
  149 |     vtkDebugMacro(<< " returning " #name " of " << this->name);                                    \
      |     ^~~~~~~~~~~~~
/usr/local/include/vtk-9.3/vtkXMLDataElement.h:135:3: note: in expansion of macro ‘vtkGetMacro’
  135 |   vtkGetMacro(NumberOfAttributes, int);
      |   ^~~~~~~~~~~
/usr/local/include/vtk-9.3/vtkXMLDataElement.h: In member function ‘virtual vtkTypeInt64 vtkXMLDataElement::GetXMLByteIndex()’:
/usr/local/include/vtk-9.3/vtkSetGet.h:941:45: error: ‘vtksys::SystemTools’ has not been declared
  941 |       std::string const _filename = vtksys::SystemTools::GetFilenameName(__FILE__);                \
      |                                             ^~~~~~~~~~~
/usr/local/include/vtk-9.3/vtkSetGet.h:833:26: note: in expansion of macro ‘vtkDebugWithObjectMacro’
  833 | #define vtkDebugMacro(x) vtkDebugWithObjectMacro(this, x)
      |                          ^~~~~~~~~~~~~~~~~~~~~~~
/usr/local/include/vtk-9.3/vtkSetGet.h:149:5: note: in expansion of macro ‘vtkDebugMacro’
  149 |     vtkDebugMacro(<< " returning " #name " of " << this->name);                                    \
      |     ^~~~~~~~~~~~~
/usr/local/include/vtk-9.3/vtkXMLDataElement.h:225:3: note: in expansion of macro ‘vtkGetMacro’
  225 |   vtkGetMacro(XMLByteIndex, vtkTypeInt64);
      |   ^~~~~~~~~~~
/usr/local/include/vtk-9.3/vtkXMLDataElement.h: In member function ‘virtual void vtkXMLDataElement::SetXMLByteIndex(vtkTypeInt64)’:
/usr/local/include/vtk-9.3/vtkSetGet.h:941:45: error: ‘vtksys::SystemTools’ has not been declared
  941 |       std::string const _filename = vtksys::SystemTools::GetFilenameName(__FILE__);                \
      |                                             ^~~~~~~~~~~
/usr/local/include/vtk-9.3/vtkSetGet.h:833:26: note: in expansion of macro ‘vtkDebugWithObjectMacro’
  833 | #define vtkDebugMacro(x) vtkDebugWithObjectMacro(this, x)
      |                          ^~~~~~~~~~~~~~~~~~~~~~~
/usr/local/include/vtk-9.3/vtkSetGet.h:125:5: note: in expansion of macro ‘vtkDebugMacro’
  125 |     vtkDebugMacro(<< " setting " #name " to " << _arg);                                            \
      |     ^~~~~~~~~~~~~
/usr/local/include/vtk-9.3/vtkXMLDataElement.h:226:3: note: in expansion of macro ‘vtkSetMacro’
  226 |   vtkSetMacro(XMLByteIndex, vtkTypeInt64);
      |   ^~~~~~~~~~~
/usr/local/include/vtk-9.3/vtkXMLDataElement.h: In member function ‘virtual void vtkXMLDataElement::SetAttributeEncoding(int)’:
/usr/local/include/vtk-9.3/vtkSetGet.h:941:45: error: ‘vtksys::SystemTools’ has not been declared
  941 |       std::string const _filename = vtksys::SystemTools::GetFilenameName(__FILE__);                \
      |                                             ^~~~~~~~~~~
/usr/local/include/vtk-9.3/vtkSetGet.h:833:26: note: in expansion of macro ‘vtkDebugWithObjectMacro’
  833 | #define vtkDebugMacro(x) vtkDebugWithObjectMacro(this, x)
      |                          ^~~~~~~~~~~~~~~~~~~~~~~
/usr/local/include/vtk-9.3/vtkSetGet.h:362:5: note: in expansion of macro ‘vtkDebugMacro’
  362 |     vtkDebugMacro(<< " setting " #name " to " << _arg);                                            \
      |     ^~~~~~~~~~~~~
/usr/local/include/vtk-9.3/vtkXMLDataElement.h:255:3: note: in expansion of macro ‘vtkSetClampMacro’
  255 |   vtkSetClampMacro(AttributeEncoding, int, VTK_ENCODING_NONE, VTK_ENCODING_UNKNOWN);
      |   ^~~~~~~~~~~~~~~~
/usr/local/include/vtk-9.3/vtkXMLDataElement.h: In member function ‘virtual int vtkXMLDataElement::GetAttributeEncoding()’:
/usr/local/include/vtk-9.3/vtkSetGet.h:941:45: error: ‘vtksys::SystemTools’ has not been declared
  941 |       std::string const _filename = vtksys::SystemTools::GetFilenameName(__FILE__);                \
      |                                             ^~~~~~~~~~~
/usr/local/include/vtk-9.3/vtkSetGet.h:833:26: note: in expansion of macro ‘vtkDebugWithObjectMacro’
  833 | #define vtkDebugMacro(x) vtkDebugWithObjectMacro(this, x)
      |                          ^~~~~~~~~~~~~~~~~~~~~~~
/usr/local/include/vtk-9.3/vtkSetGet.h:149:5: note: in expansion of macro ‘vtkDebugMacro’
  149 |     vtkDebugMacro(<< " returning " #name " of " << this->name);                                    \
      |     ^~~~~~~~~~~~~
/usr/local/include/vtk-9.3/vtkXMLDataElement.h:256:3: note: in expansion of macro ‘vtkGetMacro’
  256 |   vtkGetMacro(AttributeEncoding, int);
      |   ^~~~~~~~~~~
/usr/local/include/vtk-9.3/vtkXMLDataElement.h: In member function ‘virtual int vtkXMLDataElement::GetCharacterDataWidth()’:
/usr/local/include/vtk-9.3/vtkSetGet.h:941:45: error: ‘vtksys::SystemTools’ has not been declared
  941 |       std::string const _filename = vtksys::SystemTools::GetFilenameName(__FILE__);                \
      |                                             ^~~~~~~~~~~
/usr/local/include/vtk-9.3/vtkSetGet.h:833:26: note: in expansion of macro ‘vtkDebugWithObjectMacro’
  833 | #define vtkDebugMacro(x) vtkDebugWithObjectMacro(this, x)
      |                          ^~~~~~~~~~~~~~~~~~~~~~~
/usr/local/include/vtk-9.3/vtkSetGet.h:149:5: note: in expansion of macro ‘vtkDebugMacro’
  149 |     vtkDebugMacro(<< " returning " #name " of " << this->name);                                    \
      |     ^~~~~~~~~~~~~
/usr/local/include/vtk-9.3/vtkXMLDataElement.h:276:3: note: in expansion of macro ‘vtkGetMacro’
  276 |   vtkGetMacro(CharacterDataWidth, int);
      |   ^~~~~~~~~~~
/usr/local/include/vtk-9.3/vtkXMLDataElement.h: In member function ‘virtual void vtkXMLDataElement::SetCharacterDataWidth(int)’:
/usr/local/include/vtk-9.3/vtkSetGet.h:941:45: error: ‘vtksys::SystemTools’ has not been declared
  941 |       std::string const _filename = vtksys::SystemTools::GetFilenameName(__FILE__);                \
      |                                             ^~~~~~~~~~~
/usr/local/include/vtk-9.3/vtkSetGet.h:833:26: note: in expansion of macro ‘vtkDebugWithObjectMacro’
  833 | #define vtkDebugMacro(x) vtkDebugWithObjectMacro(this, x)
      |                          ^~~~~~~~~~~~~~~~~~~~~~~
/usr/local/include/vtk-9.3/vtkSetGet.h:125:5: note: in expansion of macro ‘vtkDebugMacro’
  125 |     vtkDebugMacro(<< " setting " #name " to " << _arg);                                            \
      |     ^~~~~~~~~~~~~
/usr/local/include/vtk-9.3/vtkXMLDataElement.h:277:3: note: in expansion of macro ‘vtkSetMacro’
  277 |   vtkSetMacro(CharacterDataWidth, int);
      |   ^~~~~~~~~~~
/usr/local/include/vtk-9.3/vtkXMLDataElement.h: In member function ‘virtual vtkTypeInt64 vtkXMLDataElement::GetInlineDataPosition()’:
/usr/local/include/vtk-9.3/vtkSetGet.h:941:45: error: ‘vtksys::SystemTools’ has not been declared
  941 |       std::string const _filename = vtksys::SystemTools::GetFilenameName(__FILE__);                \
      |                                             ^~~~~~~~~~~
/usr/local/include/vtk-9.3/vtkSetGet.h:833:26: note: in expansion of macro ‘vtkDebugWithObjectMacro’
  833 | #define vtkDebugMacro(x) vtkDebugWithObjectMacro(this, x)
      |                          ^~~~~~~~~~~~~~~~~~~~~~~
/usr/local/include/vtk-9.3/vtkSetGet.h:149:5: note: in expansion of macro ‘vtkDebugMacro’
  149 |     vtkDebugMacro(<< " returning " #name " of " << this->name);                                    \
      |     ^~~~~~~~~~~~~
/usr/local/include/vtk-9.3/vtkXMLDataElement.h:302:3: note: in expansion of macro ‘vtkGetMacro’
  302 |   vtkGetMacro(InlineDataPosition, vtkTypeInt64);
      |   ^~~~~~~~~~~
/usr/local/include/vtk-9.3/vtkXMLDataElement.h: In member function ‘virtual void vtkXMLDataElement::SetInlineDataPosition(vtkTypeInt64)’:
/usr/local/include/vtk-9.3/vtkSetGet.h:941:45: error: ‘vtksys::SystemTools’ has not been declared
  941 |       std::string const _filename = vtksys::SystemTools::GetFilenameName(__FILE__);                \
      |                                             ^~~~~~~~~~~
/usr/local/include/vtk-9.3/vtkSetGet.h:833:26: note: in expansion of macro ‘vtkDebugWithObjectMacro’
  833 | #define vtkDebugMacro(x) vtkDebugWithObjectMacro(this, x)
      |                          ^~~~~~~~~~~~~~~~~~~~~~~
/usr/local/include/vtk-9.3/vtkSetGet.h:125:5: note: in expansion of macro ‘vtkDebugMacro’
  125 |     vtkDebugMacro(<< " setting " #name " to " << _arg);                                            \
      |     ^~~~~~~~~~~~~
/usr/local/include/vtk-9.3/vtkXMLDataElement.h:303:3: note: in expansion of macro ‘vtkSetMacro’
  303 |   vtkSetMacro(InlineDataPosition, vtkTypeInt64);
      |   ^~~~~~~~~~~
gmake[2]: *** [CMakeFiles/readybase.dir/build.make:76: CMakeFiles/readybase.dir/src/readybase/AbstractRD.cpp.o] Error 1
gmake[1]: *** [CMakeFiles/Makefile2:116: CMakeFiles/readybase.dir/all] Error 2
gmake: *** [Makefile:156: all] Error 2
raphy@raohy:~/Ready/ready$ 

OS : Ubuntu 24.04
vtk : 9.3

@timhutton
Copy link
Member

I have no idea what's going on here. Looks like something wrong with the way cmake has set up the build.

As on the other issue, did you try using the packaged VTK on Ubuntu?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants