# Compile SimpleITK

**URL:** https://discourse.itk.org/t/compile-simpleitk/2709
**Category:** Uncategorized
**Tags:** simpleitk
**Created:** [February 12, 2020, 3:32pm UTC](https://discourse.itk.org/t/compile-simpleitk/2709 "2020-02-12T15:32:08Z")
**Posts on this page:** 1
**Showing post:** 20

<div class="post-metadata">

### Author: ![flaviu2](https://discourse.itk.org/letter_avatar_proxy/v4/letter/f/74df32/32.png) [@flaviu2](https://discourse.itk.org/u/flaviu2)
#### Post date: [February 13, 2020, 5:23pm UTC](https://discourse.itk.org/t/compile-simpleitk/2709/20 "2020-02-13T17:23:45Z")

</div>

Anyway, after errors, I doubt that could be the compiler the problem:

```
6> sitkImage.cxx
6> sitkTransform.cxx
6>d:\project\simpleitk\code\common\src\sitkPimpleTransform.hxx(150): error C2039: 'TransformCategoryEnum': is not a member of 'itk::TransformBaseTemplate<double>' [D:\Project\SimpleITK\SuperBuild\bin\SimpleITK-build\Code\Common\src\SimpleITKCommon.vcxproj]
6> D:\Project\SimpleITK\Code\Common\include\sitkTransform.h(38): note: see declaration of 'itk::TransformBaseTemplate<double>'
6>d:\project\simpleitk\code\common\src\sitkPimpleTransform.hxx(150): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int [D:\Project\SimpleITK\SuperBuild\bin\SimpleITK-build\Code\Common\src\SimpleITKCommon.vcxproj]
6>d:\project\simpleitk\code\common\src\sitkPimpleTransform.hxx(150): error C2146: syntax error: missing ';' before identifier 'TransformCategoryEnum' [D:\Project\SimpleITK\SuperBuild\bin\SimpleITK-build\Code\Common\src\SimpleITKCommon.vcxproj]
6>d:\project\simpleitk\code\common\src\sitkPimpleTransform.hxx(150): warning C4091: '': ignored on left of 'int' when no variable is declared [D:\Project\SimpleITK\SuperBuild\bin\SimpleITK-build\Code\Common\src\SimpleITKCommon.vcxproj]
6>d:\project\simpleitk\code\common\src\sitkPimpleTransform.hxx(151): error C2825: 'TransformCategoryEnum': must be a class or namespace when followed by '::' [D:\Project\SimpleITK\SuperBuild\bin\SimpleITK-build\Code\Common\src\SimpleITKCommon.vcxproj]
6>d:\project\simpleitk\code\common\src\sitkPimpleTransform.hxx(151): error C2510: 'TransformCategoryEnum': left of '::' must be a class/struct/union [D:\Project\SimpleITK\SuperBuild\bin\SimpleITK-build\Code\Common\src\SimpleITKCommon.vcxproj]
6>d:\project\simpleitk\code\common\src\sitkPimpleTransform.hxx(151): error C2065: 'Linear': undeclared identifier [D:\Project\SimpleITK\SuperBuild\bin\SimpleITK-build\Code\Common\src\SimpleITKCommon.vcxproj]
6> sitkAffineTransform.cxx
6> sitkBSplineTransform.cxx
6>d:\project\simpleitk\code\common\src\sitkPimpleTransform.hxx(150): error C2039: 'TransformCategoryEnum': is not a member of 'itk::TransformBaseTemplate<double>' [D:\Project\SimpleITK\SuperBuild\bin\SimpleITK-build\Code\Common\src\SimpleITKCommon.vcxproj]
6> d:\project\simpleitk\code\common\include\sitkTransform.h(38): note: see declaration of 'itk::TransformBaseTemplate<double>'
6>d:\project\simpleitk\code\common\src\sitkPimpleTransform.hxx(150): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int [D:\Project\SimpleITK\SuperBuild\bin\SimpleITK-build\Code\Common\src\SimpleITKCommon.vcxproj]
6>d:\project\simpleitk\code\common\src\sitkPimpleTransform.hxx(150): error C2146: syntax error: missing ';' before identifier 'TransformCategoryEnum' [D:\Project\SimpleITK\SuperBuild\bin\SimpleITK-build\Code\Common\src\SimpleITKCommon.vcxproj]
6>d:\project\simpleitk\code\common\src\sitkPimpleTransform.hxx(150): warning C4091: '': ignored on left of 'int' when no variable is declared [D:\Project\SimpleITK\SuperBuild\bin\SimpleITK-build\Code\Common\src\SimpleITKCommon.vcxproj]
6>d:\project\simpleitk\code\common\src\sitkPimpleTransform.hxx(151): error C2825: 'TransformCategoryEnum': must be a class or namespace when followed by '::' [D:\Project\SimpleITK\SuperBuild\bin\SimpleITK-build\Code\Common\src\SimpleITKCommon.vcxproj]
6>d:\project\simpleitk\code\common\src\sitkPimpleTransform.hxx(151): error C2510: 'TransformCategoryEnum': left of '::' must be a class/struct/union [D:\Project\SimpleITK\SuperBuild\bin\SimpleITK-build\Code\Common\src\SimpleITKCommon.vcxproj]
6>d:\project\simpleitk\code\common\src\sitkPimpleTransform.hxx(151): error C2065: 'Linear': undeclared identifier [D:\Project\SimpleITK\SuperBuild\bin\SimpleITK-build\Code\Common\src\SimpleITKCommon.vcxproj]
6> sitkDisplacementFieldTransform.cxx
6>d:\project\simpleitk\code\common\src\sitkPimpleTransform.hxx(150): error C2039: 'TransformCategoryEnum': is not a member of 'itk::TransformBaseTemplate<double>' [D:\Project\SimpleITK\SuperBuild\bin\SimpleITK-build\Code\Common\src\SimpleITKCommon.vcxproj]
6> d:\project\simpleitk\code\common\include\sitkTransform.h(38): note: see declaration of 'itk::TransformBaseTemplate<double>'
6>d:\project\simpleitk\code\common\src\sitkPimpleTransform.hxx(150): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int [D:\Project\SimpleITK\SuperBuild\bin\SimpleITK-build\Code\Common\src\SimpleITKCommon.vcxproj]
6>d:\project\simpleitk\code\common\src\sitkPimpleTransform.hxx(150): error C2146: syntax error: missing ';' before identifier 'TransformCategoryEnum' [D:\Project\SimpleITK\SuperBuild\bin\SimpleITK-build\Code\Common\src\SimpleITKCommon.vcxproj]
6>d:\project\simpleitk\code\common\src\sitkPimpleTransform.hxx(150): warning C4091: '': ignored on left of 'int' when no variable is declared [D:\Project\SimpleITK\SuperBuild\bin\SimpleITK-build\Code\Common\src\SimpleITKCommon.vcxproj]
6>d:\project\simpleitk\code\common\src\sitkPimpleTransform.hxx(151): error C2825: 'TransformCategoryEnum': must be a class or namespace when followed by '::' [D:\Project\SimpleITK\SuperBuild\bin\SimpleITK-build\Code\Common\src\SimpleITKCommon.vcxproj]
6>d:\project\simpleitk\code\common\src\sitkPimpleTransform.hxx(151): error C2510: 'TransformCategoryEnum': left of '::' must be a class/struct/union [D:\Project\SimpleITK\SuperBuild\bin\SimpleITK-build\Code\Common\src\SimpleITKCommon.vcxproj]
6>d:\project\simpleitk\code\common\src\sitkPimpleTransform.hxx(151): error C2065: 'Linear': undeclared identifier [D:\Project\SimpleITK\SuperBuild\bin\SimpleITK-build\Code\Common\src\SimpleITKCommon.vcxproj]
6> sitkEuler2DTransform.cxx
6> sitkScaleVersor3DTransform.cxx
6>d:\project\simpleitk\code\common\src\sitkPimpleTransform.hxx(150): error C2039: 'TransformCategoryEnum': is not a member of 'itk::TransformBaseTemplate<double>' [D:\Project\SimpleITK\SuperBuild\bin\SimpleITK-build\Code\Common\src\SimpleITKCommon.vcxproj]
6> d:\project\simpleitk\code\common\include\sitkTransform.h(38): note: see declaration of 'itk::TransformBaseTemplate<double>'
6>d:\project\simpleitk\code\common\src\sitkPimpleTransform.hxx(150): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int [D:\Project\SimpleITK\SuperBuild\bin\SimpleITK-build\Code\Common\src\SimpleITKCommon.vcxproj]
6>d:\project\simpleitk\code\common\src\sitkPimpleTransform.hxx(150): error C2146: syntax error: missing ';' before identifier 'TransformCategoryEnum' [D:\Project\SimpleITK\SuperBuild\bin\SimpleITK-build\Code\Common\src\SimpleITKCommon.vcxproj]
6>d:\project\simpleitk\code\common\src\sitkPimpleTransform.hxx(150): warning C4091: '': ignored on left of 'int' when no variable is declared [D:\Project\SimpleITK\SuperBuild\bin\SimpleITK-build\Code\Common\src\SimpleITKCommon.vcxproj]
6>d:\project\simpleitk\code\common\src\sitkPimpleTransform.hxx(151): error C2825: 'TransformCategoryEnum': must be a class or namespace when followed by '::' [D:\Project\SimpleITK\SuperBuild\bin\SimpleITK-build\Code\Common\src\SimpleITKCommon.vcxproj]
6>d:\project\simpleitk\code\common\src\sitkPimpleTransform.hxx(151): error C2510: 'TransformCategoryEnum': left of '::' must be a class/struct/union [D:\Project\SimpleITK\SuperBuild\bin\SimpleITK-build\Code\Common\src\SimpleITKCommon.vcxproj]
6>d:\project\simpleitk\code\common\src\sitkPimpleTransform.hxx(151): error C2065: 'Linear': undeclared identifier [D:\Project\SimpleITK\SuperBuild\bin\SimpleITK-build\Code\Common\src\SimpleITKCommon.vcxproj]
```

---

_[View the full topic](https://discourse.itk.org/t/compile-simpleitk/2709)._
