Post
Topic
Board Mining (Altcoins)
Re: SILENTARMY v3: now a full miner! multi-GPU, Stratum support (Linux only)
by
toptek
on 08/11/2016, 05:23:41 UTC
Took yalls advice and I am now on a fresh install of 14.02.  I installed the drivers using sudo apt-get install fglrx I got to the point of "make" and get:

mine@mine:~/silentarmy$ make
gcc  -std=gnu99 -pedantic -Wextra -Wall -ggdb -Wno-deprecated-declarations -Wno-overlength-strings -I"/opt/AMDAPPSDK-3.0/include"  -c -o main.o main.c
main.c:15:19: fatal error: CL/cl.h: No such file or directory
 #include
                   ^
compilation terminated.
make: *** [main.o] Error 1
mine@mine:~/silentarmy$


did you install AMD-APP-SDKInstaller-v3.0.130.136-GA-linux64 then link some thing like this




even may  or may not need to edit this file
Code:
CD / root

sudo nano .bashrc

 put at the bottom

Code:
#AMD APP SDK
export AMDAPPSDKROOT=/opt/AMDAPPSD-3.0
export AMDAPPSDKSAMPLESROOT=/opt/AMDAPPSDK3.0/
export LD_LIBRARY_PATH=${AMDAPPSDKROOT}lib/x86_64:${LD_LIBRARY_PATH}
export ATISTREAMSDKROOT=$AMDAPPSDKROOT

 then use

Code:
sudo ln -sf /opt/AMDAPPSDK-3.0/include/CL /usr/include  
 sudo ln -sf /opt/AMDAPPSDK-3.0/lib/x86_64/* /usr/lib  

then after reboot
Code:
make
there may be another problem with the
Code:
sa-solver
i couldn't figure out in 14 so i tired 15 it works greats .

I think that's what they meant by
Quote
You may need to specify the paths to the locations of your OpenCL C headers and libOpenCL.so if the Makefile does not find them:

$ make OPENCL_HEADERS=/path/here LIBOPENCL=/path/
there  is a better way but that worked for me .