Open thinkyang88 opened 5 years ago
terminal build susessfully,but Nsight Eclipse Edition build failed
cargo build --release --features gpu Compiling miner v0.20.0 (/home/robot/fxp/nervos/yuanminer/ckb-miner/miner) Compiling memchr v2.2.1 error: failed to run custom build command for miner v0.20.0 (/home/robot/fxp/nervos/yuanminer/ckb-miner/miner)
miner v0.20.0 (/home/robot/fxp/nervos/yuanminer/ckb-miner/miner)
Caused by: process didn't exit successfully: /home/robot/fxp/nervos/yuanminer/ckb-miner/target/release/build/miner-caeb618d4b356e56/build-script-build (exit code: 1) --- stdout
/home/robot/fxp/nervos/yuanminer/ckb-miner/target/release/build/miner-caeb618d4b356e56/build-script-build
running: "nvcc" "-ccbin=c++" "-Xcompiler" "-O3" "-Xcompiler" "-ffunction-sections" "-Xcompiler" "-fdata-sections" "-Xcompiler" "-fPIC" "-m64" "-I" "src/worker/include" "-Xcompiler" "-Wall" "-Xcompiler" "-Wextra" "-O3" "-lcrypto" "-o" "/home/robot/fxp/nervos/yuanminer/ckb-miner/target/release/build/miner-4b685a3c1801ad5b/out/src/worker/include/eaglesong.o" "-c" "src/worker/include/eaglesong.cu"
--- stderr
error occurred: Failed to find tool. Is nvcc installed?
nvcc
You should install CUDA first.
terminal build susessfully,but Nsight Eclipse Edition build failed
cargo build --release --features gpu Compiling miner v0.20.0 (/home/robot/fxp/nervos/yuanminer/ckb-miner/miner) Compiling memchr v2.2.1 error: failed to run custom build command for
miner v0.20.0 (/home/robot/fxp/nervos/yuanminer/ckb-miner/miner)
Caused by: process didn't exit successfully:
/home/robot/fxp/nervos/yuanminer/ckb-miner/target/release/build/miner-caeb618d4b356e56/build-script-build
(exit code: 1) --- stdoutrunning: "nvcc" "-ccbin=c++" "-Xcompiler" "-O3" "-Xcompiler" "-ffunction-sections" "-Xcompiler" "-fdata-sections" "-Xcompiler" "-fPIC" "-m64" "-I" "src/worker/include" "-Xcompiler" "-Wall" "-Xcompiler" "-Wextra" "-O3" "-lcrypto" "-o" "/home/robot/fxp/nervos/yuanminer/ckb-miner/target/release/build/miner-4b685a3c1801ad5b/out/src/worker/include/eaglesong.o" "-c" "src/worker/include/eaglesong.cu"
--- stderr
error occurred: Failed to find tool. Is
nvcc
installed?