-
Notifications
You must be signed in to change notification settings - Fork 145
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 C3863 in itkCudaImageDataManager.hxx when building SimpleRTK with VS2017 #124
Comments
I changed to VS2015 and tried to rebuild both ITK and RTK from the beginning. Similarly, I can build ITK and RTK successfully. However, it fails when I selected BUILD_SIMPLERTK in Cmake. The errors are similar to those above. |
Tried in VS2010 with the same configurations, failed as well. Also, I have tried the super build in RTK v1.3.0 version, it failed as well. Previously, I have successfully built RTK v1.1.0 with BUILD_SIMPLERTK enabled in VS2010 and cuda v6.5. Recently, I noticed the example Matlab script for reconstruction on the wiki page. |
Hi, |
Thanks for your reply, Simon. Many thanks for looking into this. If you need me to validate your thoughts, I am happy to do that. |
Hi @SimonRit |
Seems to get addressed by https://github.com/SimonRit/RTK/pull/147 |
I also added a missing dependency in fa970b2 and I now have a working SimpleRTK+CUDA+MSVC2013. Let us know if you find any other issue with other MSVC versions. |
Many thanks, codeling and Simon. |
Hi, I am trying to build SimpleRTK on a Windows 10 64 bit PC with Visual Studio 2017 community edition and CUDA 9.0 installed.
Thanks to @codeling. In the issue VS2017: Build failing on rtkCudaCropImageFilter.cu (exit code 1) #118, I have configured CUDA_HOST_COMPILER in Cmake to "C:/Program Files (x86)/Microsoft Visual Studio/2017/Community/VC/Tools/MSVC/14.11.25503/bin/Hostx64/x64/cl.exe" and NVIDA SDK bin folder in Path environment variable.
With these settings, I can successfully build ITK v4.12.2 with Module_ITKReview selected and everything else is the default. I didn't select Wrap Python in ITK, is this correct?
I can correctly build RTK (version: 9281310dc53fae4c935d0957dee51855176fe24c) without SimpleRTK selected. But it shows errors below when I selected BUILD_SIMPLERTK in Cmake. I got in total 96 such similar errors. The Python version I used is v2.7.13.
11>d:\coding\simplertk_bin\rtk\utilities\itkcudacommon\include\itkCudaImageDataManager.hxx(43): error C3863: array type 'int [itk::CudaImage<TPixelType,2>::ImageDimension]' is not assignable [D:\Coding\simpleRTK_bin\RTK-build\SimpleRTK-build\Code\BasicFilters\src\SimpleRTKBasicFilters2.vcxproj]
These errors reference to the following codes in itkCudaImageDataManager.hxx
Any idea on how to solve these errors? Many thanks.
The text was updated successfully, but these errors were encountered: