arrayfire/arrayfire-windows-scripts

Found OpenCL version: 0.0

erikthysell opened this issue · 4 comments

I am a newbe so excuse if this is totally simple but I get the following error:
CMake Error at FindOpenCL.cmake:143 (message):
Requested OpenCL version: 1.2, Found OpenCL version: 0.0

when following your instructions for setup on windows.
(i.e. ./rebuild_arrayfire.bat)

I have installed intel opencl sdk 6.3.

Any help would be much appreciated.

Can you check if the INTELOCLSDKROOT environment variable is set?

Yes it is set to
C:\Program Files (x86)\Intel\OpenCL SDK\6.3
and
INTELOCLPATH
is set to
C:\Program Files (x86)\Intel\OpenCL SDK\6.3\bin\x64;C:\Program Files (x86)\Intel\OpenCL SDK\6.3\bin\x86

and cl.h is located in
c:\Program Files (x86)\Intel\OpenCL SDK\6.3\include\CL\

Actually, the first error that shows up is this:
-- Could NOT find PkgConfig (missing: PKG_CONFIG_EXECUTABLE)
that comes right after :
"Generating CMAKE"
Maybe this is what is causing the problem?