949f45ac / xmrig-HIP

CryptoNight (v2, v1) HIP miner for AMD and NVidia cards
GNU General Public License v3.0
4 stars 0 forks source link

missing: NVML_INCLUDE_DIR when compiling #1

Open ydrow opened 5 years ago

ydrow commented 5 years ago

cmake can't find nvml when compiling. Not sure if it's me,cmake or the code.

Thanks

949f45ac commented 5 years ago

This should have no impact on the build. Output for me looks like this:

[~/code/xmrig-HIP/build]$ cmake .. -DCUDA_COMPILER=/opt/rocm/bin/hipcc -DHIP_PLATFORM=hcc -DCMAKE_EXPORT_COMPILE_COMMANDS=ON -DCUDA_PATH=/usr/local/cuda-8.0 -DHIP_ROOT_DIR=/opt/rocm/hip -DWITH_HTTPD=OFF
-- Could NOT find NVML (missing:  NVML_INCLUDE_DIR) 
-- Configuring done
-- Generating done
-- Build files have been written to: /home/a/code/xmrig-HIP/build

I can then execute make normally and without problems.