Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error C1001 An internal error has occurred in the compiler. #4618

Open
xem123 opened this issue Apr 28, 2024 · 4 comments
Open

Error C1001 An internal error has occurred in the compiler. #4618

xem123 opened this issue Apr 28, 2024 · 4 comments
Labels
type:Bug Inconsistencies or issues which will cause an incorrect result under some or all circumstances

Comments

@xem123
Copy link

xem123 commented Apr 28, 2024

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 xem123 added the type:Bug Inconsistencies or issues which will cause an incorrect result under some or all circumstances label Apr 28, 2024
Copy link

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.

@dzenanz
Copy link
Member

dzenanz commented Apr 28, 2024

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.

@xem123
Copy link
Author

xem123 commented May 4, 2024

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!

@thewtex
Copy link
Member

thewtex commented May 6, 2024

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type:Bug Inconsistencies or issues which will cause an incorrect result under some or all circumstances
Projects
None yet
Development

No branches or pull requests

3 participants