[ITK] [ITK-users] Compiling ITK with GPU ON
Xiaopeng Yang
yxp233 at postech.ac.kr
Tue Nov 25 17:51:38 EST 2014
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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://public.kitware.com/pipermail/community/attachments/20141126/b2b11ad5/attachment.html>
-------------- next part --------------
_____________________________________
Powered by www.kitware.com
Visit other Kitware open-source projects at
http://www.kitware.com/opensource/opensource.html
Kitware offers ITK Training Courses, for more information visit:
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
Follow this link to subscribe/unsubscribe:
http://public.kitware.com/mailman/listinfo/insight-users
More information about the Community
mailing list