Reputation: 817
I try to compile openCL app on Xcode 4, but I'm not success. I create new C language project, then add openCL framework, create necessary .c and .cl files, and try compile. Here is the error:
error: can't exec '/System/Library/Frameworks/OpenCL.framework/Libraries/openclc' (No such file or directory)
I try googling, but unsuccess. Can anyone help me? Thanks.
Upvotes: 0
Views: 1341
Reputation: 980
That error pops up when xcode tries to compile the .cl files. These files are usually compiled at run-time using the clCreateProgramWithSource function. You can get rid of that error by removing the .cl files from the "Compile Sources" sections of the "Build Phases" of the target. Here is what you do:
That should get rid of the error.
-Umar
Upvotes: 6