Took some wrangling, but I finally got the AMD APP SDK running on Ubuntu & Debian. Well, mostly, the OpenGL interop samples all fail in essentially identical methods, a failure of OpenCL to get the OpenGL object.
Any suggestions? Here's SimpleGL failing to run.
Platform 0 : Advanced Micro Devices, Inc.
Selected Platform Vendor : Advanced Micro Devices, Inc.
Device 0 : Juniper
Error: clCreateFromGLBuffer failed. (posBuf) Error code : CL_INVALID_GL_OBJECT
I have the same problem. Running the SimpleGL sample fails in the same way (CL_INVALID_GL_OBJECT).
My system is Ubuntu 11.04, AMD aPP SDK 2.4, Catalyst 11.6 installed via the Ubuntu package generator, Radeon HD 6970.
I am encountering the same problem too.
Ubuntu 11.04, AMD APP SDK 2.4, same as above, with HD Radeon 5670.
"--device cpu" gives the same error - CL_INVALID_GL_OBJECT