-
-
Notifications
You must be signed in to change notification settings - Fork 689
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 in building ITK by enabling RTK #4406
Comments
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. 📜 This is an automatic message. Allow for time for the ITK community to be able to read the issue and comment on it. |
The issue title is surprising since the reported error is not related to RTK. RTK is not compatible with Cuda 12 yet, see RTKConsortium/RTK#549. RTK is only compatible with the latest ITK release and ITK master at the time of the release. |
Yes I have read this https://discourse.itk.org/t/about-gpu-version-compilation-of-rtk/5905/9 So I have configured using CUDA version 11.8, but still the same error persists. |
Do you mean the one reported above? As you point out, it's here without RTK and I suggest renaming the issue |
Actually I did not understand what you said. I need to do a project using RTK for which I am trying to study it by executing the example codes. Since I used ITK v5.3.0 and you suggest to use the latest version, I am going to try with the same. |
While configuring ITK in cmake, should I enable Module_CudaCommon. |
With the latest ITK version I am not able to configure RTK_USE_CUDA. The error coming are
How to resolve this issue. |
There seems to be a problem with your Cuda installation? |
I once again installed CUDA V11.8, and tried to configure ITK-Master but at the initial stage itself it failed to configure. So next I tried with ITK V5.4. Now Module_RTK and ITK_USE_GPU were configured and build, but moving on to build RTK_USE_CUDA it fails. What should I do now? |
The error you posted above suggests that CMake cannot find Cuda. This should be reproducible with a simple
Can you check if you can configure this project with cmake? Which version of cmake are you using BTW? |
My Cmake version is 3.27.8. |
The |
Hi, Thank you for all the support. Since the problem is resolved, I am closing this issue. Regards, |
Hi,
I am new in using ITK-RTK for image reconstruction. I wanted to run the example code in RTK using CPU and GPU, so initially I configured ITK V5.3.0 for CPU and it was successful. But now I am trying to run the CUDA based example code in RTK for which I have configured ITK_USE_GPU as well as RTK_USE_CUDA. But unfortunately the build fails.
MY ITK version was 5.3.0 and then I tried to configure using Version 5.1.0 and my CUDA version was V12.3, then I tried to configure with V11.8, but still build fails. The error is "Texture is not a Template". Now when I tried to build ITK only with ITK_USE_GPU enabled, the following build error occurred.
This is just two of the error messages shown. Please help me with a solution. Thanks in advance.
The text was updated successfully, but these errors were encountered: