ShapeWorks icon indicating copy to clipboard operation
ShapeWorks copied to clipboard

Dependencies do not build with GCC 13 (Ubuntu 24)

Open akenmorris opened this issue 9 months ago • 2 comments

The versions of VTK, ITK (perhaps others too) do not build with GCC 13.

https://github.com/InsightSoftwareConsortium/ITK/issues/4607

https://gitlab.kitware.com/vtk/vtk/-/issues/18782

akenmorris avatar May 09 '24 20:05 akenmorris

For reference: Running export CC="gcc-12" and export CXX="g++-12" before running build dependencies can be helpful

iyerkrithika21 avatar Sep 10 '24 00:09 iyerkrithika21

Error looks like:

/ShapeWorks/dependencies/build/vtk/IO/Image/vtkSEPReader.h:33:12: error: use of enum 'EndiannessType' without previous declaration
   33 | enum class EndiannessType : std::uint8_t
      |            ^~~~~~~~~~~~~~
/ShapeWorks/dependencies/build/vtk/IO/Image/vtkSEPReader.h:33:27: error: expected unqualified-id before ':' token
   33 | enum class EndiannessType : std::uint8_t
      |                           ^
/ShapeWorks/dependencies/build/vtk/IO/Image/vtkSEPReader.h:103:19: error: 'int32_t' is not a member of 'std'; did you mean 'int32_t'?
  103 |   std::array<std::int32_t, 6> ComputeExtent() const;
      |                   ^~~~~~~

iyerkrithika21 avatar Sep 10 '24 00:09 iyerkrithika21