OpenCL woes in Xcode 4
OpenCL woes in Xcode 4
- Subject: OpenCL woes in Xcode 4
- From: Evan Miller <email@hidden>
- Date: Wed, 09 Mar 2011 18:11:04 -0600
I have run into a couple of issues working with OpenCL in Xcode 4. I
was able to find workarounds, but am not completely pleased.
1. Files ending in ".cl" are no longer syntax-highlighted. I have been
unable to find a file extension that re-enables OpenCL highlighting
(the plain C syntax isn't sufficient because it doesn't recognize
OpenCL vector types: float8 and the like).
2. Files ending in ".cl" that are specified in the "Copy Bundle
Resources" build phase produce the following build error:
error: can't exec
'/System/Library/Frameworks/OpenCL.framework/Libraries/openclc' (No
such file or directory)
I am unsure as to why Xcode 4 is attempting to compile these files in
the Copy phase. In Xcode 3 they were simply copied (and compiled at
run-time, which is the normal way of doing things with OpenCL).
The workaround was to choose another file extension and to live in a
world of darkness (i.e. no syntax highlighting).
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden