• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
OpenCL woes in Xcode 4
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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

  • Prev by Date: Re: Xcode 4.0
  • Next by Date: Is xCode4 a requirement now?
  • Previous by thread: Re: Xcode 4.0
  • Next by thread: Is xCode4 a requirement now?
  • Index(es):
    • Date
    • Thread