Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Found OpenCL version: 0.0 #5

Open
erikthysell opened this issue Mar 22, 2017 · 4 comments
Open

Found OpenCL version: 0.0 #5

erikthysell opened this issue Mar 22, 2017 · 4 comments

Comments

@erikthysell
Copy link
Contributor

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
Copy link
Member

Can you check if the INTELOCLSDKROOT environment variable is set?

@erikthysell
Copy link
Contributor Author

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
Copy link
Contributor Author

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

@erikthysell
Copy link
Contributor Author

erikthysell commented Mar 23, 2017

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?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants