CGLShareGroupObj is not found on Mac OS X compile error with OpenCL samples in CUDA 3.0 SDK package

Hi,

I’ve downloaded the CUDA 3.0 package and all the CUDA samples seem to compile and work fine but I cannot get the OpenCL samples that use CGLShareGroupObj to compile.

Here’s the error I’m getting:

oclVolumeRender.cpp: In function ‘void createCLContext(int, const char**)’:
oclVolumeRender.cpp:563: error: ‘CGLShareGroupObj’ was not declared in this scope
oclVolumeRender.cpp:563: error: expected `;’ before ‘kCGLShareGroup’
oclVolumeRender.cpp:566: error: ‘CL_CONTEXT_PROPERTY_USE_CGL_SHAREGROUP_APPLE’ was not declared in this scope
oclVolumeRender.cpp:566: error: ‘kCGLShareGroup’ was not declared in this scope
oclVolumeRender.cpp:562: warning: unused variable ‘kCGLContext’
…/…/…//shared//inc/shrUtils.h: At global scope:
…/…/…//shared//inc/shrUtils.h:55: warning: ‘nGpuArchCoresPerSM’ defined but not used
make[1]: *** [obj/release/oclVolumeRender.cpp.o] Error 1
make: *** [src/oclVolumeRender/Makefile.ph_build] Error 2

Have anyone seen this same problem?

Sincerely,

Van