arrayfire / arrayfire-windows-scripts

Batch Scripts for Building ArrayFire on Windows
BSD 3-Clause "New" or "Revised" License
11 stars 6 forks source link

Found OpenCL version: 0.0 #5

Open erikthysell opened 7 years ago

erikthysell commented 7 years ago

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.

shehzan10 commented 7 years ago

Can you check if the INTELOCLSDKROOT environment variable is set?

erikthysell commented 7 years ago

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

erikthysell commented 7 years ago

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

erikthysell commented 7 years ago

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?