# ITK install halts

**URL:** <https://discourse.itk.org/t/itk-install-halts/7259>\
**Category:** Engineering\
**Created:** [October 15, 2024, 9:32am UTC](https://discourse.itk.org/t/itk-install-halts/7259 "2024-10-15T09:32:39Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Vicente\_Ferrer](https://discourse.itk.org/user_avatar/discourse.itk.org/vicente_ferrer/32/4381_2.png) [@Vicente\_Ferrer](https://discourse.itk.org/u/Vicente_Ferrer)\
**Post date:** [October 15, 2024, 9:32am UTC](https://discourse.itk.org/t/itk-install-halts/7259/1 "2024-10-15T09:32:39Z")

</div>

Hello,  
While installing ITKR with devtools I have this error:

```auto
Building CXX object Modules/Filtering/MathematicalMorphology/src/CMakeFiles/ITKMathematicalMorphology.dir/itkMathematicalMorphologyEnums.cxx.o
In file included from /tmp/Rtmp1ZTyqe/R.INSTALLa3b0120541af1/ITKR/src/itks/Modules/Filtering/MathematicalMorphology/src/itkMathematicalMorphologyEnums.cxx:19:
/tmp/Rtmp1ZTyqe/R.INSTALLa3b0120541af1/ITKR/src/itks/Modules/Filtering/MathematicalMorphology/include/itkMathematicalMorphologyEnums.h:41:8: warning: elaborated-type-specifier for a scoped enum must not use the ‘class’ keyword
   41 | enum class Algorithm : uint8_t
      | ~~~~^~~~~
      | -----
/tmp/Rtmp1ZTyqe/R.INSTALLa3b0120541af1/ITKR/src/itks/Modules/Filtering/MathematicalMorphology/include/itkMathematicalMorphologyEnums.h:41:14: error: use of enum ‘Algorithm’ without previous declaration
   41 | enum class Algorithm : uint8_t
      | ^ ~~~~~~~~
/tmp/Rtmp1ZTyqe/R.INSTALLa3b0120541af1/ITKR/src/itks/Modules/Filtering/MathematicalMorphology/include/itkMathematicalMorphologyEnums.h:41:26: error: ‘uint8_t’ was not declared in this scope
   41 | enum class Algorithm : uint8_t
      | ^ ~~~~~~
/tmp/Rtmp1ZTyqe/R.INSTALLa3b0120541af1/ITKR/src/itks/Modules/Filtering/MathematicalMorphology/include/itkMathematicalMorphologyEnums.h:23:1: note: ‘uint8_t’ is defined in header ‘<cstdint>’; did you forget to ‘#include <cstdint>’?
   22 | #include "ITKMathematicalMorphologyExport.h"
  +++ |+#include <cstdint>
   23 | 
/tmp/Rtmp1ZTyqe/R.INSTALLa3b0120541af1/ITKR/src/itks/Modules/Filtering/MathematicalMorphology/include/itkMathematicalMorphologyEnums.h:42:3: error: default member initializer for unnamed bit-field
   42 | {
      | ^
/tmp/Rtmp1ZTyqe/R.INSTALLa3b0120541af1/ITKR/src/itks/Modules/Filtering/MathematicalMorphology/include/itkMathematicalMorphologyEnums.h:52:107: error: ‘Algorithm’ in ‘class itk::MathematicalMorphologyEnums’ does not name a type
   52 | operator<<(std::ostream & out, const MathematicalMorphologyEnums::Algorithm value);
      | ^ ~~~~~~~~
/tmp/Rtmp1ZTyqe/R.INSTALLa3b0120541af1/ITKR/src/itks/Modules/Filtering/MathematicalMorphology/src/itkMathematicalMorphologyEnums.cxx:25:67: error: ‘Algorithm’ in ‘class itk::MathematicalMorphologyEnums’ does not name a type
   25 | operator<<(std::ostream & out, const MathematicalMorphologyEnums::Algorithm value)
      | ^ ~~~~~~~~
/tmp/Rtmp1ZTyqe/R.INSTALLa3b0120541af1/ITKR/src/itks/Modules/Filtering/MathematicalMorphology/src/itkMathematicalMorphologyEnums.cxx: In lambda function:
/tmp/Rtmp1ZTyqe/R.INSTALLa3b0120541af1/ITKR/src/itks/Modules/Filtering/MathematicalMorphology/src/itkMathematicalMorphologyEnums.cxx:30:41: error: ‘itk::MathematicalMorphologyEnums::Algorithm’ has not been declared
   30 | case MathematicalMorphologyEnums::Algorithm::BASIC:
      | ^ ~~~~~~~~
/tmp/Rtmp1ZTyqe/R.INSTALLa3b0120541af1/ITKR/src/itks/Modules/Filtering/MathematicalMorphology/src/itkMathematicalMorphologyEnums.cxx:32:41: error: ‘itk::MathematicalMorphologyEnums::Algorithm’ has not been declared
   32 | case MathematicalMorphologyEnums::Algorithm::HISTO:
      | ^ ~~~~~~~~
/tmp/Rtmp1ZTyqe/R.INSTALLa3b0120541af1/ITKR/src/itks/Modules/Filtering/MathematicalMorphology/src/itkMathematicalMorphologyEnums.cxx:34:41: error: ‘itk::MathematicalMorphologyEnums::Algorithm’ has not been declared
   34 | case MathematicalMorphologyEnums::Algorithm::ANCHOR:
      | ^ ~~~~~~~~
/tmp/Rtmp1ZTyqe/R.INSTALLa3b0120541af1/ITKR/src/itks/Modules/Filtering/MathematicalMorphology/src/itkMathematicalMorphologyEnums.cxx:36:41: error: ‘itk::MathematicalMorphologyEnums::Algorithm’ has not been declared
   36 | case MathematicalMorphologyEnums::Algorithm::VHGW:
      | ^ ~~~~~~~~
At global scope:
cc1plus: note: unrecognized command-line option ‘-Wno-c++11-long-long’ may have been intended to silence earlier diagnostics
make[3]: Leaving directory '/tmp/Rtmp1ZTyqe/R.INSTALLa3b0120541af1/ITKR/src/itkb'
make[3]: *** [Modules/Filtering/MathematicalMorphology/src/CMakeFiles/ITKMathematicalMorphology.dir/build.make:76: Modules/Filtering/MathematicalMorphology/src/CMakeFiles/ITKMathematicalMorphology.dir/itkMathematicalMorphologyEnums.cxx.o] Error 1
make[2]: *** [CMakeFiles/Makefile2:6826: Modules/Filtering/MathematicalMorphology/src/CMakeFiles/ITKMathematicalMorphology.dir/all] Error 2
make[2]: *** Waiting for unfinished jobs....
[98%] Linking CXX static library ../../../../../../../lib/libitkgdcmMEXD-5.3.a
make[3]: Leaving directory '/tmp/Rtmp1ZTyqe/R.INSTALLa3b0120541af1/ITKR/src/itkb'
[98%] Built target gdcmMEXD
make[2]: Leaving directory '/tmp/Rtmp1ZTyqe/R.INSTALLa3b0120541af1/ITKR/src/itkb'
make[1]: *** [Makefile:156: all] Error 2
make[1]: Leaving directory '/tmp/Rtmp1ZTyqe/R.INSTALLa3b0120541af1/ITKR/src/itkb'
make: *** [Makevars:8: libs] Error 2

```

System:

Ubuntu 24.02  
R 4.3.3  
gcc version 13.2.0  
GNU Make 4.3

Thanks in advance for the help

---

<div class="post-metadata">

**Author:** ![dzenanz](https://discourse.itk.org/user_avatar/discourse.itk.org/dzenanz/32/1093_2.png) [@dzenanz](https://discourse.itk.org/u/dzenanz)\
**Post date:** [October 15, 2024, 1:34pm UTC](https://discourse.itk.org/t/itk-install-halts/7259/2 "2024-10-15T13:34:20Z")

</div>

What is ITKR? We [dropped wrapping](https://github.com/InsightSoftwareConsortium/ITK/pull/3212) for all languages except Python quite a while ago.

---

<div class="post-metadata">

**Author:** ![blowekamp](https://discourse.itk.org/user_avatar/discourse.itk.org/blowekamp/32/79_2.png) [@blowekamp](https://discourse.itk.org/u/blowekamp)\
**Post date:** [October 15, 2024, 1:41pm UTC](https://discourse.itk.org/t/itk-install-halts/7259/3 "2024-10-15T13:41:26Z")

</div>

I believe its @stnava 's wrappings: [GitHub - stnava/ITKR: port of ITK to R](https://github.com/stnava/ITKR) @ntustison May be a contributor or maintainer too.

Also we (ITK community) do have support for other languages such as with SimpleITK’s R support and other languages. 🙂
