[Rtk-users] Hi rtk-users/developpers,

Julien Jomier julien.jomier at kitware.com
Wed Apr 1 08:47:31 EDT 2015


Hi Mathieu,

It's actually a little more complicated than just modifying the 
CMakeLists files, because we define a new image type itk::CudaImage 
which is not currently handled by the wrapping. We'll see if we can add 
this soon.

Julien

On 30/03/2015 11:14, Mathieu DUPONT wrote:
> Hi rtk-users/developpers,
>
>
> I want to use RTK in a python workflow, and for this I want to use CudaFDKConeBeamReconstructionFilter class.  For this, I created a json file in "utilities/SimpleRTK/Code/BasicFilters/json" directory. I join this file with this email. But when I try to build, I get an error about "cuda.h" file missing.
>
>
> "
> [ 65%] Building CXX object Code/BasicFilters/src/CMakeFiles/SimpleRTKBasicFilters1.dir/srtkCudaFDKConeBeamReconstructionFilter.cxx.o
> cd /data/mdupont/Compile/openrtk/bin-rtk/SimpleRTK-build/Code/BasicFilters/src && /usr/bin/c++   -DSimpleRTKBasicFilters1_EXPORTS -DSimpleRTKBasicFilters_EXPORTS -fPIC     -fPIC -I/data/mdupont/Compile/openrtk/bin-rtk -I/image/mdupont/soft/RTK/utilities/ITKCudaCommon/include -I/image/mdupont/soft/RTK/code -I/data/soft/include/ITK-4.7/Algorithms -I/data/soft/include/ITK-4.7 -I/image/mdupont/soft/RTK/utilities/SimpleRTK/Code/Common/include -I/image/mdupont/soft/RTK/utilities/SimpleRTK/Code/Registration -I/image/mdupont/soft/RTK/utilities/SimpleRTK/Code/BasicFilters/include -I/image/mdupont/soft/RTK/utilities/SimpleRTK/Code/IO/include -I/data/mdupont/Compile/openrtk/bin-rtk/SimpleRTK-build/Code/BasicFilters/include -I/data/mdupont/Compile/openrtk/bin-rtk/SimpleRTK-build/Code/Common/include -I/image/mdupont/soft/RTK/utilities/SimpleRTK/Code/BasicFilters/src    -o CMakeFiles/SimpleRTKBasicFilters1.dir/srtkCudaFDKConeBeamReconstructionFilter.cxx.o -c /data/mdupont/Compile/openrtk/bin-rt
k/SimpleRTK-build/Code/BasicFilters/src/srtkCudaFDKConeBeamReconstructionFilter.cxx
> In file included from /image/mdupont/soft/RTK/utilities/ITKCudaCommon/include/itkCudaImageDataManager.h:25,
>                   from /image/mdupont/soft/RTK/utilities/ITKCudaCommon/include/itkCudaImage.h:22,
>                   from /image/mdupont/soft/RTK/code/rtkCudaFDKWeightProjectionFilter.h:25,
>                   from /image/mdupont/soft/RTK/code/rtkCudaFDKConeBeamReconstructionFilter.h:23,
>                   from /data/mdupont/Compile/openrtk/bin-rtk/SimpleRTK-build/Code/BasicFilters/src/srtkCudaFDKConeBeamReconstructionFilter.cxx:34:
> /image/mdupont/soft/RTK/utilities/ITKCudaCommon/include/itkCudaUtil.h:33: fatal error: cuda.h: No such file or directory
> "
>
> How to modify cmakelists files in order to use cuda classes with SimpleRTK ?
>
> Thanks for your help,
> Mathieu Dupont
>
>
>
> _______________________________________________
> Rtk-users mailing list
> Rtk-users at public.kitware.com
> http://public.kitware.com/mailman/listinfo/rtk-users
>



More information about the Rtk-users mailing list