Bitcoin Forum

Other => Beginners & Help => Topic started by: Tereska on July 13, 2011, 09:24:52 PM



Title: CGMiner Problem
Post by: Tereska on July 13, 2011, 09:24:52 PM
I'm building from source tarball.

after configure i have:

OpenCL: NOT FOUND. GPU mining support DISABLED.

Ubunu 10.10 AMD64bit

What i need to do?

I've have ATI SDK installed into default system location.
I've tried to run configure with and without paths to SDK but effect is the same.

please help


Title: Re: CGMiner Problem
Post by: Exo on July 13, 2011, 09:25:47 PM
Did you try rebooting your system?


Title: Re: CGMiner Problem
Post by: Tereska on July 13, 2011, 09:30:33 PM
Did you try rebooting your system?

i didnt try. but why i need to restart? phoenix miners are mining fine :)


Title: Re: CGMiner Problem
Post by: Exo on July 13, 2011, 09:32:28 PM
No idea, it might just be a system thing. Try it, you never know. Something may be stuck.


Title: Re: CGMiner Problem
Post by: Tereska on July 14, 2011, 04:46:13 PM
do i need to copy some files from /x86_64 folder?
i have to build 64bit version.

something is mensioned in cgminer's README file but description is very unhelpfull


Title: Re: CGMiner Problem
Post by: Tereska on July 14, 2011, 05:07:38 PM
ok i need to install

sudo apt-get install libncurses-dev

 and then

CFLAGS="-O3 -Wall -march=native -I/opt/AMD-APP-SDK-v2.4-lnx64/include" LDFLAGS="-L/opt/AMD-APP-SDK-v2.4-lnx64/lib/x86_64/" ./configure

make

and thats it :)


Title: Re: CGMiner Problem
Post by: dostortugas on July 14, 2011, 05:20:14 PM
you need to download the opencl-headers from debian as they are not available for ubuntu (dpkg needs root or sudo), or your AMD-APP linking is wrong

wget http://http.us.debian.org/debian/pool/contrib/k/khronos-opencl-headers/opencl-headers_1.0-2010.06.13-2_all.deb
dpkg -i opencl-headers_1.0-2010.06.13-2_all.deb


Title: Re: CGMiner Problem
Post by: Tereska on July 23, 2011, 08:06:05 PM
I didnt install opencl headers.

problem is solved.
my problem was missing ncurses and bad path's to ati sdk