Bitcoin Forum
December 11, 2016, 02:16:55 AM *
News: Latest stable version of Bitcoin Core: 0.13.1  [Torrent].
 
   Home   Help Search Donate Login Register  
Pages: [1]
  Print  
Author Topic: [SOLVED] I've tried everything and cannot install pyopencl on my linux box......  (Read 4222 times)
2kan
Newbie
*
Offline Offline

Activity: 4


View Profile
January 09, 2012, 09:33:15 AM
 #1

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.)
1481422615
Hero Member
*
Offline Offline

Posts: 1481422615

View Profile Personal Message (Offline)

Ignore
1481422615
Reply with quote  #2

1481422615
Report to moderator
1481422615
Hero Member
*
Offline Offline

Posts: 1481422615

View Profile Personal Message (Offline)

Ignore
1481422615
Reply with quote  #2

1481422615
Report to moderator
1481422615
Hero Member
*
Offline Offline

Posts: 1481422615

View Profile Personal Message (Offline)

Ignore
1481422615
Reply with quote  #2

1481422615
Report to moderator
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction. Advertise here.
1481422615
Hero Member
*
Offline Offline

Posts: 1481422615

View Profile Personal Message (Offline)

Ignore
1481422615
Reply with quote  #2

1481422615
Report to moderator
1481422615
Hero Member
*
Offline Offline

Posts: 1481422615

View Profile Personal Message (Offline)

Ignore
1481422615
Reply with quote  #2

1481422615
Report to moderator
1481422615
Hero Member
*
Offline Offline

Posts: 1481422615

View Profile Personal Message (Offline)

Ignore
1481422615
Reply with quote  #2

1481422615
Report to moderator
scintill
Sr. Member
****
Offline Offline

Activity: 448


View Profile WWW
January 09, 2012, 09:44:26 AM
 #2

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?

1SCiN5kqkAbxxwesKMsH9GvyWnWP5YK2W | donations
2kan
Newbie
*
Offline Offline

Activity: 4


View Profile
January 09, 2012, 10:07:43 AM
 #3

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 ^__^
2kan
Newbie
*
Offline Offline

Activity: 4


View Profile
January 09, 2012, 10:19:48 AM
 #4

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?
2kan
Newbie
*
Offline Offline

Activity: 4


View Profile
January 09, 2012, 11:15:58 AM
 #5

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.
Pages: [1]
  Print  
 
Jump to:  

Sponsored by , a Bitcoin-accepting VPN.
Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!