Closed mrgloom closed 5 years ago
make clean && make
find . -type f | xargs -n 5 touch rm -f libcuda_utils.so /usr/local/cuda-7.5/bin/nvcc -arch sm_35 -O3 -DNDEBUG --compiler-options '-fPIC' -o libcuda_utils.so --shared cuda_utils.cu -I/home/ubuntu/torch/install/include/THC -I/home/ubuntu/torch/install/include/TH -I/home/ubuntu/torch/install/include -L/home/ubuntu/torch/install/lib -Xlinker -rpath,/home/ubuntu/torch/install/lib -lluaT -lTHC -lTH -lpng make: /usr/local/cuda-7.5/bin/nvcc: Command not found makefile:10: recipe for target 'libcuda_utils.so' failed make: *** [libcuda_utils.so] Error 127
Just change NVCC_PREFIX=/usr/local/cuda/bin under https://github.com/luanfujun/deep-photo-styletransfer/blob/master/makefile#L2
NVCC_PREFIX=/usr/local/cuda/bin
make clean && make