opencl-test-ios icon indicating copy to clipboard operation
opencl-test-ios copied to clipboard

My opencl project Linker error.

Open xuezu29 opened this issue 10 years ago • 1 comments

Hi,I'm Chinese and my English is not very good, hope you can understand.Very happy to see the routines you do. However, according to the corresponding methods, my Xcode project appear Linker Error and at the beginning of the CL function(like clCreatCommandQueue() function) are not connected , if I have to add Opencl.framework? But didn't find the Opencl.framework in my Xcode. Could you help me?(Another I was not familiar with the MAC system, so did not use Terminal debugging.)thank you very mach!

xuezu29 avatar Jan 23 '15 10:01 xuezu29

Hi, you're mistaken. I'm sure that you have got the OpenCL.framework, but it's private framework. You can find it here: /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS9.0.sdk/System/Library/PrivateFrameworks

Also, please, pay your attention to file makefile is in this repository, there are XCode setting which allows to add this framework via Settings.

Anyway I haven't managed to adapt the OpenCL for iOS platform. To my mind it's possible only for jailbreak devices.

mrengine avatar Oct 24 '15 14:10 mrengine