ITK icon indicating copy to clipboard operation
ITK copied to clipboard

Error C1001 An internal error has occurred in the compiler.

Open xem123 opened this issue 9 months ago • 4 comments

I have compiled itk and rtk and created a small example in visual studio, but I got an error,both in debug and release. What's the reason?The version I use is listed below: cmake=3.20.1 visual studio 2017 ITK=5.3.0 moudle_RTK=on Module_RTK_GIT_TAG=3f0aa3145d03b8cbc7c6d44bbfd03728b531909c fftw-3.3.5-dll64 image

xem123 avatar Apr 28 '24 07:04 xem123

Thank you for contributing an issue! 🙏

Welcome to the ITK community! 🤗👋☀️

We are glad you are here and appreciate your contribution. Please keep in mind our community participation guidelines. 📜 Also, please check existing open issues and consider discussion on the ITK Discourse. 📖

This is an automatic message. Allow for time for the ITK community to be able to read the issue and comment on it.

github-actions[bot] avatar Apr 28 '24 07:04 github-actions[bot]

We dropped support for Visual Studio 2017 some time ago. I believe those compiler bugs were the primary reason. @N-Dekker is that right?

Solution: either use an older version of ITK, or a newer version of Visual Studio.

dzenanz avatar Apr 28 '24 12:04 dzenanz

We dropped support for Visual Studio 2017 some time ago. I believe those compiler bugs were the primary reason. @N-Dekker is that right?

Solution: either use an older version of ITK, or a newer version of Visual Studio. image image

Hello, I want to compile the ITK library and the RTK library. I have successfully compiled using cmake, and completed build and install. However, when I place the compiled libraries into my project, I get compilation errors. What could be the cause?The version I use is listed below: cmake=3.24.0 visual studio 2022 ITK=5.3.0 moudle_RTK=on fftw-3.3.5-dll64 I am in a hurry, thank you!

xem123 avatar May 04 '24 04:05 xem123

A consistent version of Visual Studio (and the VC toolchain used) is required.

thewtex avatar May 06 '24 18:05 thewtex