InsightSoftwareConsortium / InsightSoftwareConsortium/ITK
Open the Module_ Montage=ON and ITK_ WRAP_ PYTHON=ON option to compile. The compiled result does not support itk montage
- Dominant language
- C++
- Stars
- 1.7k
- Forks
- 748
- Avg merge
- 1d 1h
- Merged PRs (30d)
- 64
Description
### Description
Hello, sir. I recently encountered the same problem as https://github.com/InsightSoftwareConsortium/ITK/issues/3124, so I tried to compile my own version of itk on Linux. I compiled according to the method in question https://github.com/InsightSoftwareConsortium/ITK/issues/3124 and opened the options **Module_ Montage=ON ,ITK_ WRAP_ PYTHON=ON and TK_WRAP_rgb_unsigned_short=ON**. Although the compiled results already support the data type itk. RGBPixel [itk. US], it seems that itk-montage has not been compiled at the same time.
I have contacted the questioner of question https://github.com/InsightSoftwareConsortium/ITK/issues/3124. In fact, my compilation process is under his guidance. He compiles with cmake.exe on Windows, and I compile with my own cmakeList.txt on Linux. In addition, our method, the compiled itk version (5.2.1) and other conditions are the same, but different results are obtained.
The final results are as follows:
Results generated by previous questioners using cmake.exe on Windows

The results I generated with cmakelist.txt on Linux

Obviously, my method does not compile the following itk-montage related functions

The previous questioner was also unable to help me solve the problem, because we have the same options except for the operating system and the tools used, so we want to ask for your help.
The following are **CMakeLists.txt and manylinux-build-wheels.sh** files I wrote. I submitted the manylinux-build-wheels.sh file by the way, because I found that the compiled script essentially calls manylinux-build-wheels.sh for the final compilation. I opened the **Module_ Montage=ON ,ITK_ WRAP_ PYTHON=ON and TK_WRAP_rgb_unsigned_short=ON options in CMakeLists.txt**, **In manylinux-build-wheels.sh**, two options **ITK_ WRAP_ PYTHON=ON and TK_WRAP_rgb_unsigned_short=ON** are turned on (the reason why I didn't turn on the Module_ Montage=ON option is that I found that if I turned on it, an error would be reported when compiling).
[cmake.zip](https://github.com/InsightSoftwareConsortium/ITK/files/10133932/cmake.zip)
Could you check the contents of these two documents for me? Maybe there are other mistakes?
Thank you very much!
Contributor guide
Assessment
This issue has not been assessed yet.