sudo apt-get install ocl-icd-opencl-dev
hope this helps someone.
YOU ARE THE BEST!
Thank You!
It was the Bitcointalk forum that inspired us to create Bitcointalksearch.org - Bitcointalk is an excellent site that should be the default page for anybody dealing in cryptocurrency, since it is a virtual gold-mine of data. However, our experience and user feedback led us create our site; Bitcointalk's search is slow, and difficult to get the results you need, because you need to log in first to find anything useful - furthermore, there are rate limiters for their search functionality.
The aim of our project is to create a faster website that yields more results and faster without having to create an account and eliminate the need to log in - your personal data, therefore, will never be in jeopardy since we are not asking for any of your data and you don't need to provide them to use our site with all of its capabilities.
We created this website with the sole purpose of users being able to search quickly and efficiently in the field of cryptocurrency so they will have access to the latest and most accurate information and thereby assisting the crypto-community at large.
sudo apt-get install ocl-icd-opencl-dev
sudo apt-get install ocl-icd-opencl-dev
sudo apt-get install ocl-icd-opencl-dev
sudo apt-get install ocl-icd-opencl-dev
sudo apt-get install ocl-icd-opencl-dev
sudo apt-get install ocl-icd-opencl-dev
sudo apt-get install ocl-icd-opencl-dev
cd AMD-APP-SDK-v2.4-lnx64/
cp -pv lib/x86_64/* /usr/lib/
rsync -avl include/CL/ /usr/include/CL/
tar -xvzf icd-registration.tgz
rsync -avl etc/OpenCL/ /etc/OpenCL/
ldconfig
sync
shutdown -r now
If you are on 32 bit, x86_64 in the 2nd last line should be x86
To actually build:
./autogen.sh # only needed if building from git repo
CFLAGS="-O2 -Wall -march=native" ./configure
or if you haven't installed the ati files in system locations:
CFLAGS="-O2 -Wall -march=native -I" LDFLAGS="-L ./configure
make
If it finds the opencl files it will inform you with
"OpenCL: FOUND. GPU mining support enabled."
./autogen.sh CFLAGS="-O2 -Wall -march=native" ./configure
./autogen.sh
------------------------------------------------------------------------
cgminer 2.11.0
------------------------------------------------------------------------
Configuration Options Summary:
curses.TUI...........: FOUND: -lncurses
OpenCL...............: NOT FOUND. GPU mining support DISABLED
configure: error: No mining configured in
*snip
checking for alloca... yes
checking for OpenCL... no
checking for pthread_create in -lpthread... yes
*snip
kevin@Kevins-PC:/etc$ cd OpenCL
kevin@Kevins-PC:/etc/OpenCL$ ls
vendors
kevin@Kevins-PC:/etc/OpenCL$ cd vendors
kevin@Kevins-PC:/etc/OpenCL/vendors$ ls
amdocl32.icd amdocl64.icd
kevin@Kevins-PC:/etc/OpenCL/vendors$
kevin@Kevins-PC:~/cgminer-master$ sudo apt-get install python-pyopencl
Reading package lists... Done
Building dependency tree
Reading state information... Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:
The following packages have unmet dependencies:
python-pyopencl :Depends: opencl-icd but it is not installable
Depends: python-pyopencl-headers (= 2012.1-1ubuntu1) but it is not going to be installed
Recommends: python-pyopencl-doc but it is not going to be installed
Recommends: python-opengl but it is not going to be installed
E: Unable to correct problems, you have held broken packages.
------------------------------------------------------------------------
cgminer 2.11.0
------------------------------------------------------------------------
Configuration Options Summary:
curses.TUI...........: FOUND: -lncurses
OpenCL...............: NOT FOUND. GPU mining support DISABLED
configure: error: No mining configured in
xxxxxx@xxxxx-PC:~/cgminer-master$
lspci | grep VGA
01:00.0 VGA compatible controller: Advanced Micro Devices [AMD] nee ATI Cypress LE [Radeon HD 5800 Series]
04:00.0 VGA compatible controller: Advanced Micro Devices [AMD] nee ATI Cypress LE [Radeon HD 5800 Series]
05:00.0 VGA compatible controller: Advanced Micro Devices [AMD] nee ATI Cypress LE [Radeon HD 5800 Series]
06:00.0 VGA compatible controller: Advanced Micro Devices [AMD] nee ATI Cypress LE [Radeon HD 5800 Series]