[Insight-users] ITK GPU-ALPHA

barbababa tonimuusimaki at gmail.com
Fri Dec 9 17:36:24 EST 2011


hello !

I'm trying to build ITK4 GPU-ALPHA from git.
When generating, Cmake is giving me the following:

WARNING: Target "ITK-GPUCommonTestDriver" requests linking to directory
"C:\ProgramData\NVIDIA Corporation\NVIDIA GPU Computing SDK
3.2\OpenCL\common\lib\x64".  Targets may link only to libraries.  CMake is
dropping the item.

In that folder is just the OpenCL.lib file!

I have tried to modify the cmakelist.txt in ...\Modules\GPU\Common\test :

include_directories("C:/ProgramData/NVIDIA Corporation/NVIDIA GPU Computing
SDK 3.2/OpenCL/common/lib/x64/")

target_link_libraries(OpenCL.lib)

But nothing is working. Generating still works but the build fails...

Any ideas?


Thanks!





1>Linking...
1>   Creating library
C:\ITKGPU\build\lib\Release\ITK-GPUCommonTestDriver.lib and object
C:\ITKGPU\build\lib\Release\ITK-GPUCommonTestDriver.exp
1>itkGPUDiscreteGaussianImageFilterTest.obj : error LNK2001: unresolved
external symbol clEnqueueReadBuffer
1>itkGPUGradientAnisotropicDiffusionImageFilterTest.obj : error LNK2001:
unresolved external symbol clEnqueueReadBuffer
1>itkGPUDemonsRegistrationFilterTest.obj : error LNK2001: unresolved
external symbol clEnqueueReadBuffer
1>ITK-GPUCommon-4.0.lib(itkGPUDataManager.obj) : error LNK2001: unresolved
external symbol clEnqueueReadBuffer

--
View this message in context: http://itk-insight-users.2283740.n2.nabble.com/ITK-GPU-ALPHA-tp7080069p7080069.html
Sent from the ITK Insight Users mailing list archive at Nabble.com.


More information about the Insight-users mailing list