SuperElastix / SimpleElastix

Multi-lingual medical image registration library
http://simpleelastix.github.io
Apache License 2.0
513 stars 149 forks source link

opencl undefined symbol #312

Open coldgemini opened 5 years ago

coldgemini commented 5 years ago

after building simpleelastix with opencl when importing SimpleITK, the following error occurs. using cuda9.0 paths for opencl headers and .so libs. for opencl

ImportError: /data2/home/zhouxiangyong/Dev/SimpleElastix/build_cl/SimpleITK-build/Wrapping/Python/_SimpleITK.so: undefined symbol: clEnqueueWriteBufferRect

kaspermarstal commented 5 years ago

How did you build the project? Did you compile your own version of Elastix with OpenCL enabled?

coldgemini commented 5 years ago

I modified the downloaded Elastix in SuperBuild

------------------ 原始邮件 ------------------ 发件人: "Kasper Marstal"notifications@github.com; 发送时间: 2019年7月2日(星期二) 下午3:52 收件人: "SuperElastix/SimpleElastix"SimpleElastix@noreply.github.com; 抄送: "coldgemini"coldgemini@foxmail.com;"Author"author@noreply.github.com; 主题: Re: [SuperElastix/SimpleElastix] opencl undefined symbol (#312)

How did you build the project? Did you compile your own version of Elastix with OpenCL enabled?

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub, or mute the thread.