Bitcoin Forum
April 25, 2024, 04:39:40 PM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: [SOLVED] I've tried everything and cannot install pyopencl on my linux box......  (Read 4579 times)
2kan (OP)
Newbie
*
Offline Offline

Activity: 4
Merit: 0


View Profile
January 09, 2012, 09:33:15 AM
Last edit: January 09, 2012, 11:16:35 AM by 2kan
 #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.)
1714063180
Hero Member
*
Offline Offline

Posts: 1714063180

View Profile Personal Message (Offline)

Ignore
1714063180
Reply with quote  #2

1714063180
Report to moderator
"Your bitcoin is secured in a way that is physically impossible for others to access, no matter for what reason, no matter how good the excuse, no matter a majority of miners, no matter what." -- Greg Maxwell
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction.
1714063180
Hero Member
*
Offline Offline

Posts: 1714063180

View Profile Personal Message (Offline)

Ignore
1714063180
Reply with quote  #2

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

Activity: 448
Merit: 252


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 (OP)
Newbie
*
Offline Offline

Activity: 4
Merit: 0


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 (OP)
Newbie
*
Offline Offline

Activity: 4
Merit: 0


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 (OP)
Newbie
*
Offline Offline

Activity: 4
Merit: 0


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:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!