Giter VIP home page Giter VIP logo

Comments (5)

jonano614 avatar jonano614 commented on July 2, 2024

Hi. Did you follow https://github.com/jonano614/DaggerGpuMiner/blob/master/README.md ?

from daggergpuminer.

wiki-qi avatar wiki-qi commented on July 2, 2024

me too

root@ip-172-31-26-42:~/DaggerGpuMiner/GpuMiner# make all
g++ -O -c -std=c++11 -I. -I/opt/AMDAPPSDK-3.0/include/ main.cpp -o main.o
In file included from ./MinerEngine/CLMiner.h:17:0,
from Core/MinerManager.h:23,
from main.cpp:6:
./MinerEngine/CL/cl2.hpp:504:23: fatal error: CL/opencl.h: No such file or directory
#include <CL/opencl.h>
^
compilation terminated.
Makefile:16: recipe for target 'main.o' failed
make: *** [main.o] Error 1

from daggergpuminer.

wiki-qi avatar wiki-qi commented on July 2, 2024

root@ip-172-31-26-42:~/DaggerGpuMiner/GpuMiner# make
g++ -O -o xdag-gpu -L/opt/AMDAPPSDK-3.0/lib/x86_64/sdk main.o Core/CommonData.o Core/Farm.o Core/Log.o Core/Miner.o Core/MinerManager.o Core/Worker.o Hash/sha256.o Hash/sha256_mod.o MinerEngine/CLMiner.o MinerEngine/XCpuMiner.o Utils/CpuInfo.o Utils/PathUtils.o Utils/Random.o Utils/Utils.o XDagCore/XAddress.o XDagCore/XHash.o XDagCore/XNetwork.o XDagCore/XBlock.o XDagCore/XPool.o XDagCore/XTaskProcessor.o XDagCore/XTaskWrapper.o XDagCore/dar/crc_c.o XDagCore/dfstools/dfslib_crypt.o XDagCore/dfstools/dfslib_string.o -lOpenCL -lpthread -lboost_system
/usr/bin/ld: cannot find -lOpenCL
collect2: error: ld returned 1 exit status
Makefile:19: recipe for target 'xdag-gpu' failed
make: *** [xdag-gpu] Error 1

from daggergpuminer.

xrdavies avatar xrdavies commented on July 2, 2024

@wiki-qi

Better check installation of OpenCL library firstly.

from daggergpuminer.

bdelgado1995 avatar bdelgado1995 commented on July 2, 2024

For Ubuntu 20, I did the following and it fixed the opencl compile issue:

sudo apt-get install opencl-headers ocl-icd-opencl-dev

from daggergpuminer.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.