cancel
Showing results for 
Search instead for 
Did you mean: 

Archives Discussions

stubob95
Journeyman III

Compile Issue with CLW and Xcode 7.1

I'm trying to use the CLW classes which were supplied with the FireRays 1.0 sdk but get this error when trying to compile on Xcode 7.1 Apple LLVM 7.0

File : ReferenceCounter.h

template <>

class ReferenceCounter<cl_platform_id, nullptr, nullptr>

Non-type template argument does not refer to any declaration

Seems to be complaining about the nullptr's

I've tried -std=c++11 but still same error

Any ideas?

0 Likes
2 Replies
stubob95
Journeyman III

Re: Compile Issue with CLW and Xcode 7.1

Fixed it.

Problem was that it needs -std=c++11 to build, I'd just put in in the wrong place in settings.

pinform
Staff
Staff

Re: Compile Issue with CLW and Xcode 7.1

Great.

BTW, I white-listed you, so you can post directly in any of the AMD Developer forums.

--Prasad

0 Likes