Author

Topic: [SOLVED] I've tried everything and cannot install pyopencl on my linux box...... (Read 4601 times)

newbie
Activity: 4
Merit: 0
Okay I managed to install it properly, turns out I accidentally used the 64bit instructions so when I started again and used the 32bit ones, it worked like a charm.
newbie
Activity: 4
Merit: 0
I get to step 25 (make -j3) and this is what I get:

error: command 'g++' failed with exit status 1
make: *** [all] Error 1

Any advice?
newbie
Activity: 4
Merit: 0
Okay I'm following that guide you suggested. It's looking good so far. I'm using Ubuntu 11.04 so hopefully this will work ^__^
sr. member
Activity: 448
Merit: 254
Sounds like you haven't told pyopencl where to find the CL files.  (Have you installed the Stream SDK?)

This can be done with the configure script in the pyopencl root dir.  For example, this is how I did it:
Code:
./configure.py --cl-inc-dir=/opt/ati-stream-sdk-v2.1-lnx32/include/ --cl-lib-dir=/opt/ati-stream-sdk-v2.1-lnx32/lib/x86

Your paths may vary.  Are you following a guide?  This one worked for me.  I, or others, could probably help you adapt it to your distribution if necessary.  What are you using?
newbie
Activity: 4
Merit: 0
Seriously, I've been trying for hours to install it in different methods but I keep getting this error:

In file included from src/wrapper/wrap_cl.cpp:1:0:
src/wrapper/wrap_cl.hpp:27:19: fatal error: CL/cl.h: No such file or directory
compilation terminated.
error: command 'gcc' failed with exit status 1

Please, if you know how to fix it, tell me how! I'm seriously at my wit's end with installing this, I just want to mine some coins.

I have g++ installed so I don't know why this isn't working. If you need anymore information please ask.

(p.s. sorry if this is in the wrong category, I couldn't make a topic in the technical support one.)
Jump to: