matszpk / amdcovc

Utility to overclock AMD Radeon GPU's in console mode (linux)
GNU General Public License v2.0
192 stars 33 forks source link

make error #33

Open ghost opened 4 years ago

ghost commented 4 years ago

I have encountered an error when running 'make' on netrunner core 20.01 (debian based). When i run the make command in the amdcovcgit directory as told to do in the README.md i get this output:

g++ -Wall -O3 -std=c++11 -DHAVE_TERMINFO=1 -c -o amdcovc.o amdcovc.cpp amdcovc.cpp:48:10: fatal error: pci/pci.h: No such file or directory

include <pci/pci.h>

      ^~~~~~~~~~~

compilation terminated. make: *** [Makefile:46: amdcovc.o] Error 1

matszpk commented 4 years ago

Likely, you do not have libpci-dev or similar package in your system. Amdcovc requires this dev package to check pci devices.

minzak commented 4 years ago

Yes, was same issues. apt install libpci-dev - resolve it!