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

Can't Build oclpb on Win 7 64 bit #3

Open
george-azzari opened this issue Aug 17, 2012 · 0 comments
Open

Can't Build oclpb on Win 7 64 bit #3

george-azzari opened this issue Aug 17, 2012 · 0 comments

Comments

@george-azzari
Copy link

Hi there,

I am trying to play with CLyther, but I encountered some problems in building oclpb on my Windows 7 (64 bit) machine. I am currently using the Enthought Python Distribution. The easy_install way doesn't work, and I get this message:

Searching for oclpb
Reading http://pypi.python.org/simple/oclpb/
Couldn't find index page for 'oclpb' (maybe misspelled?)
Scanning index of all packages (this may take a while)
Reading http://pypi.python.org/simple/
No local packages or download links found for oclpb
error: Could not find suitable distribution for Requirement.parse('oclpb')

If I try to download the source manually and build, I get instead this error:

running build
running build_py
running build_ext
skipping 'opencl\clgl.c' Cython extension (up-to-date)
building 'opencl.clgl' extension
C:\Python27\Scripts\gcc.exe -mno-cygwin -mdll -O -Wall -DMS_WIN64 -IC:\Python27\include -IC:\Python27\PC -c opencl\clgl.c -o build\temp.win-amd64-2.7\Release\opencl\clgl.o
In file included from opencl\clgl.c:235:0:
opencl/cl_header.h:4:23: fatal error: CL/opencl.h: No such file or directory
compilation terminated.
error: command 'gcc' failed with exit status 1

I have opencl.h located in C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v4.2\include\CL, but the compiler is not finding it. I tried to play with the environment variables, but with no success. Can anyone give me a little help?

Thank you,
George

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

1 participant