# \#cmake

**URL:** https://discourse.itk.org/tag/cmake/18.md

[Latest](https://discourse.itk.org/latest.md) · [Categories](https://discourse.itk.org/categories.md) · [Tags](https://discourse.itk.org/tags.md)

---

## [Reorganize RemoteModules for reduced maintenance burden](https://discourse.itk.org/t/reorganize-remotemodules-for-reduced-maintenance-burden/7753)

<div class="topic-metadata">

**Author:** [@hjmjohnson](https://discourse.itk.org/u/hjmjohnson)\
**Replies:** 3\
**Last updated:** [April 16, 2026, 12:51am UTC](https://discourse.itk.org/t/reorganize-remotemodules-for-reduced-maintenance-burden/7753 "2026-04-16T00:51:16Z")

</div>

RFC: Consolidating remote modules into hierarchical category repos Tracking issue: ENH: Consolidate remote modules into hierarchical category repos · Issue #6060 · InsightSoftwareConsortium/ITK · GitHub ITK currently ma…

---

## [Enable long path compilation](https://discourse.itk.org/t/enable-long-path-compilation/2691)

<div class="topic-metadata">

**Author:** [@Thibault](https://discourse.itk.org/u/Thibault)\
**Replies:** 13\
**Last updated:** [March 5, 2026, 6:30pm UTC](https://discourse.itk.org/t/enable-long-path-compilation/2691 "2026-03-05T18:30:21Z")

</div>

Hi, First time here. I was facing the fact that you have deactivated the compilation for long path on windows 10 even if we enabled long path in GPO. See this commit: In your discussion about that issue, I have noti…

---

## [ITK/RTK config and build to use CudaBackProjectionImageFilter python wrapper](https://discourse.itk.org/t/itk-rtk-config-and-build-to-use-cudabackprojectionimagefilter-python-wrapper/7658)

<div class="topic-metadata">

**Author:** [@jshenNT](https://discourse.itk.org/u/jshenNT)\
**Replies:** 9\
**Last updated:** [December 4, 2025, 4:49pm UTC](https://discourse.itk.org/t/itk-rtk-config-and-build-to-use-cudabackprojectionimagefilter-python-wrapper/7658 "2025-12-04T16:49:00Z")

</div>

Hello, I’m new to ITK/RTK and currently working on a project where we want to use RTK’s reconstruction functionality, specifically CudaFDKBackProjectionImageFilter. However, due to my limited experience with ITK/RTK, I…

---

## [Build Error: LNK1169 when building ITK with RTK Python wrappers on Windows](https://discourse.itk.org/t/build-error-lnk1169-when-building-itk-with-rtk-python-wrappers-on-windows/7635)

<div class="topic-metadata">

**Author:** [@gaoweilin](https://discourse.itk.org/u/gaoweilin)\
**Replies:** 9\
**Last updated:** [September 21, 2025, 8:04pm UTC](https://discourse.itk.org/t/build-error-lnk1169-when-building-itk-with-rtk-python-wrappers-on-windows/7635 "2025-09-21T20:04:03Z")

</div>

I am encountering a linker error (LNK1169) while trying to build the ITK Python wrappers for the Reconstruction Toolkit (RTK). The build fails to generate the itk\_RTKPython.pyd file. I have tried several common troublesh…

---

## [Cmake issue with minc](https://discourse.itk.org/t/cmake-issue-with-minc/6496)

<div class="topic-metadata">

**Author:** [@mborish](https://discourse.itk.org/u/mborish)\
**Replies:** 3\
**Last updated:** [March 18, 2025, 5:47pm UTC](https://discourse.itk.org/t/cmake-issue-with-minc/6496 "2025-03-18T17:47:54Z")

</div>

Hello, I’ve recently followed the instructions on ITK’s page to install it via vcpkg. I’ve included the necessary commands: find\_package(ITK REQUIRED) and ${ITK\_LIBRARIES} in my target link. However, I get a linking er…

---

## [CMake Error: Windows platform errors with libitkminc2](https://discourse.itk.org/t/cmake-error-windows-platform-errors-with-libitkminc2/7402)

<div class="topic-metadata">

**Author:** [@Divital](https://discourse.itk.org/u/Divital)\
**Replies:** 3\
**Last updated:** [January 27, 2025, 5:35pm UTC](https://discourse.itk.org/t/cmake-error-windows-platform-errors-with-libitkminc2/7402 "2025-01-27T17:35:00Z")

</div>

Hello, so i am building the ITK package in Julia language using BinaryBuilder.jl to wrap the I/O functions for Dicom and NIfti from the library in Julia. I have succeeded in the creation of the ITK\_jll package using Bina…

---

## [Cmake errors on windows platforms when trying to use ITK for wrapping in Julia.](https://discourse.itk.org/t/cmake-errors-on-windows-platforms-when-trying-to-use-itk-for-wrapping-in-julia/7396)

<div class="topic-metadata">

**Author:** [@hurt\_badly](https://discourse.itk.org/u/hurt_badly)\
**Replies:** 6\
**Last updated:** [January 27, 2025, 5:26pm UTC](https://discourse.itk.org/t/cmake-errors-on-windows-platforms-when-trying-to-use-itk-for-wrapping-in-julia/7396 "2025-01-27T17:26:07Z")

</div>

Hi everyone, I am not so proficient with cmake, and was wondering if anyone knows what could this be related to? NOTE : Error only for Windows platforms CMake Error at /workspace/destdir/lib/cmake/ITK-5.3/ITKTargets.cm…

---

## [CMake Error: Windows platform fail to find libitkminc2](https://discourse.itk.org/t/cmake-error-windows-platform-fail-to-find-libitkminc2/7400)

<div class="topic-metadata">

**Author:** [@hurt\_badly](https://discourse.itk.org/u/hurt_badly)\
**Replies:** 0\
**Last updated:** [January 26, 2025, 10:30pm UTC](https://discourse.itk.org/t/cmake-error-windows-platform-fail-to-find-libitkminc2/7400 "2025-01-26T22:30:31Z")

</div>

Hello, I have build a binary JLL package in Julia for ITK, with the help of BinaryBuilder.jl, so that the ITK library shared binaries can be exposed in the Julia language. I have succeeded in creation of the ITK binary J…

---

## [Building ITK: Error With Algorithim Module](https://discourse.itk.org/t/building-itk-error-with-algorithim-module/5927)

<div class="topic-metadata">

**Author:** [@ramen-newdals](https://discourse.itk.org/u/ramen-newdals)\
**Replies:** 22\
**Last updated:** [October 9, 2024, 2:06pm UTC](https://discourse.itk.org/t/building-itk-error-with-algorithim-module/5927 "2024-10-09T14:06:33Z")

</div>

Hello ITK Community, I am attempting to rebuild the ITK project. I had a successful build on the same system before, but I am having problems with this rebuild (The previous build was completed with the VMTK super build…

---

## [creation of dicom with less size](https://discourse.itk.org/t/creation-of-dicom-with-less-size/6372)

<div class="topic-metadata">

**Author:** [@George\_Z](https://discourse.itk.org/u/George_Z)\
**Replies:** 6\
**Last updated:** [August 1, 2024, 4:46pm UTC](https://discourse.itk.org/t/creation-of-dicom-with-less-size/6372 "2024-08-01T16:46:24Z")

</div>

Hello, I am trying to reduce dicom file size when creating a new dicom by converting from bmp to png but I do not see the file size getting reduced, png use compession so logically I have less file size. Best Regards …

---

## [\[Question\] Python not found during compilation](https://discourse.itk.org/t/question-python-not-found-during-compilation/6580)

<div class="topic-metadata">

**Author:** [@Suzaku](https://discourse.itk.org/u/Suzaku)\
**Replies:** 1\
**Last updated:** [April 17, 2024, 1:03pm UTC](https://discourse.itk.org/t/question-python-not-found-during-compilation/6580 "2024-04-17T13:03:15Z")

</div>

Hi, I’m trying to compile SimpleITK with SimpleElastix in a ubuntu 20.04.6 LTS system. I’ve used the following command as suggested in the documentation: git clone GitHub - SimpleITK/SimpleITK: SimpleITK: a layer built o…

---

## [Challenges with itk.simple.SimpleITKPINVOKE+SWIGExceptionHelper in Unity il2cpp Final Build](https://discourse.itk.org/t/challenges-with-itk-simple-simpleitkpinvoke-swigexceptionhelper-in-unity-il2cpp-final-build/6566)

<div class="topic-metadata">

**Author:** [@Anton\_Smirnov](https://discourse.itk.org/u/Anton_Smirnov)\
**Replies:** 1\
**Last updated:** [April 15, 2024, 1:38pm UTC](https://discourse.itk.org/t/challenges-with-itk-simple-simpleitkpinvoke-swigexceptionhelper-in-unity-il2cpp-final-build/6566 "2024-04-15T13:38:39Z")

</div>

Good day, esteemed forum members! I am developing an application on Unity il2cpp and am using the SimpleITK library, compiled through SuperBuild for C#. Everything works perfectly in the Unity editor, but during the fin…

---

## [ITKModuleExternal.cmake is not published with sudo make install](https://discourse.itk.org/t/itkmoduleexternal-cmake-is-not-published-with-sudo-make-install/6208)

<div class="topic-metadata">

**Author:** [@yziquel](https://discourse.itk.org/u/yziquel)\
**Replies:** 2\
**Last updated:** [September 22, 2023, 8:27pm UTC](https://discourse.itk.org/t/itkmoduleexternal-cmake-is-not-published-with-sudo-make-install/6208 "2023-09-22T20:27:06Z")

</div>

Hi. I’ve got an issue that is reported in the following github issues: Roughly put: I am trying to build ITK and itk-wasm from source, living on the git repo head. The ITKModuleExternal.cmake file is supposed to com…

---

## [Min and max required CMake versions being defined but not re-used](https://discourse.itk.org/t/min-and-max-required-cmake-versions-being-defined-but-not-re-used/6112)

<div class="topic-metadata">

**Author:** [@jhlegarreta](https://discourse.itk.org/u/jhlegarreta)\
**Replies:** 2\
**Last updated:** [August 1, 2023, 12:24am UTC](https://discourse.itk.org/t/min-and-max-required-cmake-versions-being-defined-but-not-re-used/6112 "2023-08-01T00:24:04Z")

</div>

Hi, I’ve noticed that in the top-level CMakeLists.txt we are defining some min and max bounds for the required CMake versions, mainly labeled as having to do with CMake policies: https://github.com/InsightSoftwareConso…

---

## [Errors While launching ITK](https://discourse.itk.org/t/errors-while-launching-itk/6106)

<div class="topic-metadata">

**Author:** [@Roro82](https://discourse.itk.org/u/Roro82)\
**Replies:** 1\
**Last updated:** [July 27, 2023, 6:29pm UTC](https://discourse.itk.org/t/errors-while-launching-itk/6106 "2023-07-27T18:29:56Z")

</div>

Hello everyone, In order to use the RTK software, I tried to create the ITK software thanks to the CMake tool. Therefore, I uploaded the ITK sources in the CMake software after creating two distinct folders for the sour…

---

## [Using CMake for Configuring and Building ITK vs Using the Python Wrapper for journal paper ITK code.](https://discourse.itk.org/t/using-cmake-for-configuring-and-building-itk-vs-using-the-python-wrapper-for-journal-paper-itk-code/6061)

<div class="topic-metadata">

**Author:** [@jzhangaps](https://discourse.itk.org/u/jzhangaps)\
**Replies:** 2\
**Last updated:** [July 12, 2023, 1:28pm UTC](https://discourse.itk.org/t/using-cmake-for-configuring-and-building-itk-vs-using-the-python-wrapper-for-journal-paper-itk-code/6061 "2023-07-12T13:28:51Z")

</div>

Hi ITK discussion forum! I’m new to ITK and am going through the ITK software guide in order to be able to try this code: https://github.com/midas-journal/midas-journal-154/tree/master/DiffeomorphicDemons-2009-06-Vercau…

---

## [Registration with ITK not working - Unexplainable Erros](https://discourse.itk.org/t/registration-with-itk-not-working-unexplainable-erros/6021)

<div class="topic-metadata">

**Author:** [@JRopers](https://discourse.itk.org/u/JRopers)\
**Replies:** 2\
**Last updated:** [June 27, 2023, 8:40am UTC](https://discourse.itk.org/t/registration-with-itk-not-working-unexplainable-erros/6021 "2023-06-27T08:40:38Z")

</div>

Hello everyone! I have come here as a last resort as I am really struggling to get ITK to run. First of all, some information on my system: OS: Windows 11 Visual Studio: 2017 Architecture: x64 C++ Standard: v141 No…

---

## [CMake says TBB version incompatible with ITK installed via conda/mamba](https://discourse.itk.org/t/cmake-says-tbb-version-incompatible-with-itk-installed-via-conda-mamba/5771)

<div class="topic-metadata">

**Author:** [@KrisThielemans](https://discourse.itk.org/u/KrisThielemans)\
**Replies:** 7\
**Last updated:** [March 25, 2023, 11:08am UTC](https://discourse.itk.org/t/cmake-says-tbb-version-incompatible-with-itk-installed-via-conda-mamba/5771 "2023-03-25T11:08:23Z")

</div>

Hi I installed ITK on a Windows 10 machine via mamba create -n pvc install petpvc libitk-devel (petpvc requires libitk). I then used (non-Conda) CMake 3.25.2 (and VS 2022) to try and build PETPVC sources. After settin…

---

## [How to use Cuberille module with vcpkg](https://discourse.itk.org/t/how-to-use-cuberille-module-with-vcpkg/5813)

<div class="topic-metadata">

**Author:** [@daniel\_123](https://discourse.itk.org/u/daniel_123)\
**Replies:** 1\
**Last updated:** [March 20, 2023, 2:10pm UTC](https://discourse.itk.org/t/how-to-use-cuberille-module-with-vcpkg/5813 "2023-03-20T14:10:45Z")

</div>

Hi I am using ITK in a C++ project. I manage my dependencies with vcpkg. However, I do not manage to get the itk Cuberille remote module through vcpgk. How can I download, build, and use the Cuberille module with vcpkg? …

---

## [D:\\ITK5.3\\release\\bin\\ITKCommon-5.3.dll”。Module generated without symbols](https://discourse.itk.org/t/d-itk5-3-release-bin-itkcommon-5-3-dll-module-generated-without-symbols/5803)

<div class="topic-metadata">

**Author:** [@ma1282029525](https://discourse.itk.org/u/ma1282029525)\
**Replies:** 8\
**Last updated:** [March 14, 2023, 2:48pm UTC](https://discourse.itk.org/t/d-itk5-3-release-bin-itkcommon-5-3-dll-module-generated-without-symbols/5803 "2023-03-14T14:48:22Z")

</div>

Why is there no debug symbol in the debug library I compiled?

---

## [Extending ITK for C++ and Python: Build and Test ITK External Modules in a GitHub Action](https://discourse.itk.org/t/extending-itk-for-c-and-python-build-and-test-itk-external-modules-in-a-github-action/5781)

<div class="topic-metadata">

**Author:** [@matt.mccormick](https://discourse.itk.org/u/matt.mccormick)\
**Replies:** 0\
**Last updated:** [March 3, 2023, 6:02pm UTC](https://discourse.itk.org/t/extending-itk-for-c-and-python-build-and-test-itk-external-modules-in-a-github-action/5781 "2023-03-03T18:02:57Z")

</div>

By: Tom Birdsong, Matt McCormick , Lucas Gandel, Simon Rit , Jean-Christophe Fillion-Robin, Stephen Aylward Medical imaging is an ever-changing domain, with technological advances introducing exciting new data and proce…

---

## [Segmentation fault when running static linked executable on Ubuntu](https://discourse.itk.org/t/segmentation-fault-when-running-static-linked-executable-on-ubuntu/4826)

<div class="topic-metadata">

**Author:** [@Keyn34](https://discourse.itk.org/u/Keyn34)\
**Replies:** 1\
**Last updated:** [November 29, 2022, 2:37pm UTC](https://discourse.itk.org/t/segmentation-fault-when-running-static-linked-executable-on-ubuntu/4826 "2022-11-29T14:37:26Z")

</div>

Hey everyone (again :)), I’m trying to run a static linked executable on Ubuntu 20.04.3. For this purpose, I configured ITK 5.2.1 with CMake, made sure to set BUILD\_SHARED\_LIBS and ITK\_DYNAMIC\_LOADING to OFF, and procee…

---

## [Where is ITKConfig.cmake in ITK-5.2.1?](https://discourse.itk.org/t/where-is-itkconfig-cmake-in-itk-5-2-1/5510)

<div class="topic-metadata">

**Author:** [@Carles\_Lopez](https://discourse.itk.org/u/Carles_Lopez)\
**Replies:** 1\
**Last updated:** [November 21, 2022, 6:14pm UTC](https://discourse.itk.org/t/where-is-itkconfig-cmake-in-itk-5-2-1/5510 "2022-11-21T18:14:08Z")

</div>

Hello to everyone. I’ve installed itk-5.2.1 with pip in an anaconda environment on Python 3.9. On the other hand, I’m trying to run CMake. I’m asked about the directory where ITKConfig.cmake or itk-config. cmake is loc…

---

## [Linking itk with an external project](https://discourse.itk.org/t/linking-itk-with-an-external-project/5481)

<div class="topic-metadata">

**Author:** [@Ajay\_Emmanuel](https://discourse.itk.org/u/Ajay_Emmanuel)\
**Replies:** 5\
**Last updated:** [November 11, 2022, 7:59pm UTC](https://discourse.itk.org/t/linking-itk-with-an-external-project/5481 "2022-11-11T19:59:16Z")

</div>

Hi, I built the latest version of itk using CMake. After configuring my CMakeLists.txt file in as per the instructions online for an external project, I am still getting this error - cannot open source file “itkImage.h”…

---

## [How to change the order of rotation in SetComputeZYX()?](https://discourse.itk.org/t/how-to-change-the-order-of-rotation-in-setcomputezyx/5474)

<div class="topic-metadata">

**Author:** [@suzume](https://discourse.itk.org/u/suzume)\
**Replies:** 5\
**Last updated:** [November 11, 2022, 1:08am UTC](https://discourse.itk.org/t/how-to-change-the-order-of-rotation-in-setcomputezyx/5474 "2022-11-11T01:08:03Z")

</div>

I want to generate DRR from a CT image. I want the CT image to rotate in the order of the X, Y, Z axis. However, SetComputeZYX( ) only set the order ZYX/ZXY. How can I can set the order XYZ?

---

## [Which of path should set to ITK\_DIR](https://discourse.itk.org/t/which-of-path-should-set-to-itk-dir/4675)

<div class="topic-metadata">

**Author:** [@xh\_c](https://discourse.itk.org/u/xh_c)\
**Replies:** 8\
**Last updated:** [September 14, 2022, 8:22pm UTC](https://discourse.itk.org/t/which-of-path-should-set-to-itk-dir/4675 "2022-09-14T20:22:25Z")

</div>

Hello, I just build ITK with cmake. Now I have two folder, ITK\_source and ITK\_build. I set my ITK\_DIR to ITK\_build but get no head file error. And I found that some ITK module just have .obj file and no .cxx or .h. In IT…

---

## [Installation problem (ITK3.2.0 in Linux)](https://discourse.itk.org/t/installation-problem-itk3-2-0-in-linux/724)

<div class="topic-metadata">

**Author:** [@LiuHao-THU](https://discourse.itk.org/u/LiuHao-THU)\
**Replies:** 4\
**Last updated:** [August 30, 2022, 7:51pm UTC](https://discourse.itk.org/t/installation-problem-itk3-2-0-in-linux/724 "2022-08-30T19:51:18Z")

</div>

hi, i am a beginner to ITK, now I am installing itk(3.2) vtk(5.8) in my Linux. and I meet some problem. I even do not know how to solve it. I have successfully installed the latest version ITK and vtk, however the lates…

---

## [Compile time is very long -- how to optimize?](https://discourse.itk.org/t/compile-time-is-very-long-how-to-optimize/5196)

<div class="topic-metadata">

**Author:** [@gmm9uf](https://discourse.itk.org/u/gmm9uf)\
**Replies:** 8\
**Last updated:** [July 26, 2022, 4:03pm UTC](https://discourse.itk.org/t/compile-time-is-very-long-how-to-optimize/5196 "2022-07-26T16:03:43Z")

</div>

I am using cmake and make to build and compile C++ code on a linux interface. Each time I want to modify the code and recompile (i.e., make), it takes about 20 minutes to recompile using make. Does anyone know why this w…

---

## [Building vtkITK Lib with Emscripten](https://discourse.itk.org/t/building-vtkitk-lib-with-emscripten/3908)

<div class="topic-metadata">

**Author:** [@Andrzej\_Marciniak](https://discourse.itk.org/u/Andrzej_Marciniak)\
**Replies:** 5\
**Last updated:** [July 21, 2022, 9:55am UTC](https://discourse.itk.org/t/building-vtkitk-lib-with-emscripten/3908 "2022-07-21T09:55:07Z")

</div>

I just read @matt.mccormick answer to @prashanth.dumpuri about building with Emscripten for beginners (https://discourse.itk.org/t/building-itk-with-emscripten/2919/5) and it helped me a lot. I am using insighttoolkit…

---

## [Double Conversion Error](https://discourse.itk.org/t/double-conversion-error/5172)

<div class="topic-metadata">

**Author:** [@haochenz58](https://discourse.itk.org/u/haochenz58)\
**Replies:** 4\
**Last updated:** [July 12, 2022, 5:54pm UTC](https://discourse.itk.org/t/double-conversion-error/5172 "2022-07-12T17:54:31Z")

</div>

Hi! I’m trying to build and run my ITK from source on Ubuntu 20.04. I pulled from the repo, used cmake to configure and generate it, then ran the example/installation hello world example with a separate build folder unde…

[Next page](https://discourse.itk.org/tag/cmake/18.md?match_all_tags=true&page=1&tags%5B%5D=cmake)
