AnsweredAssumed Answered

Trouble with Hello World

Question asked by samohtnnud on Feb 26, 2012
Latest reply on Mar 28, 2012 by arashaneh

I'm trying to learn OpenCL and I've tried doing the hello world OpenCL tutorial using SDK 2.6 in windows 7 64 bit and visual studios 10, but I've been having no luck getting it to compile. I keep getting several errors such as:


1>c:\program files (x86)\amd app\include\cl\cl.hpp(1606): error C2039: 'clUnloadCompiler' : is not a member of '`global namespace''

1>c:\program files (x86)\amd app\include\cl\cl.hpp(1606): error C3861: 'clUnloadCompiler': identifier not found


along with the same error for several other functions. I've attached my main cpp file although I'm fairly certain I copied the tutorial verbatim and I've already included $(AMDAPPSDKROOT)\include, $(AMDAPPSDKROOT)\lib\x86, and OpenCL.lib in there respective places. I am completely lost as to how to proceed from here and would appreciate any advice or feedback.