[ITK-users] Compiling ITK with GPU ON

michkapopoff at gmail.com michkapopoff at gmail.com
Tue Nov 25 18:14:52 EST 2014


Hi

I think OPENCL_LIBRARIES needs to be set to OpenCL.dll, which should be somewhere in this lib folder (/lib/x64/OpenCL.dll ?)
Could you try this ?

Michka

> On 25 Nov 2014, at 23:51, Xiaopeng Yang <yxp233 at postech.ac.kr> wrote:
> 
> Hi,
>  
> I am trying to compile ITK 4.6.1 with GPU ON, but I failed. Is there any tutorial or document about compiling ITK with GPU ON? I got warning messages as follows. And I ignored them and tried to build ITK but got error “cannot find CL/opencl.h”.
>  
> WARNING: Target "ITKGPUCommon" requests linking to directory "C:/Program Files/NVIDIA GPU Computing Toolkit/CUDA/v6.5/lib". Targets may link only to libraries. CMake is dropping the item.
> WARNING: Target "ITKGPUCommon" requests linking to directory "C:/Program Files/NVIDIA GPU Computing Toolkit/CUDA/v6.5/lib". Targets may link only to libraries. CMake is dropping the item.
> WARNING: Target "ITKGPUCommon" requests linking to directory "C:/Program Files/NVIDIA GPU Computing Toolkit/CUDA/v6.5/lib". Targets may link only to libraries. CMake is dropping the item.
> WARNING: Target "ITKGPUCommon" requests linking to directory "C:/Program Files/NVIDIA GPU Computing Toolkit/CUDA/v6.5/lib". Targets may link only to libraries. CMake is dropping the item.
> WARNING: Target "ITKGPUCommon" requests linking to directory "C:/Program Files/NVIDIA GPU Computing Toolkit/CUDA/v6.5/lib". Targets may link only to libraries. CMake is dropping the item.
>  
> Here is how I set up directories of OpenCL:
> OPENCL_INCLUDE_DIRS  C:/Program Files/NVIDIA GPU Computing Toolkit/CUDA/v6.5/include
> OPENCL_LIBRARIES          C:/Program Files/NVIDIA GPU Computing Toolkit/CUDA/v6.5/lib
>  
> Any help is appreciated!
>  
> Best regards,
> Xiaopeng Yang
> _____________________________________
> Powered by www.kitware.com <http://www.kitware.com/>
> 
> Visit other Kitware open-source projects at
> http://www.kitware.com/opensource/opensource.html <http://www.kitware.com/opensource/opensource.html>
> 
> Kitware offers ITK Training Courses, for more information visit:
> http://www.kitware.com/products/protraining.php <http://www.kitware.com/products/protraining.php>
> 
> Please keep messages on-topic and check the ITK FAQ at:
> http://www.itk.org/Wiki/ITK_FAQ <http://www.itk.org/Wiki/ITK_FAQ>
> 
> Follow this link to subscribe/unsubscribe:
> http://public.kitware.com/mailman/listinfo/insight-users <http://public.kitware.com/mailman/listinfo/insight-users>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://public.kitware.com/pipermail/insight-users/attachments/20141126/f01523cb/attachment.html>


More information about the Insight-users mailing list