satoshi@nakamoto:~/deep-painterly-harmonization$ make clean && make
find . -type f | xargs -n 5 touch
rm -f libcuda_utils.so
/usr/local/cuda-10.0/bin/nvcc -arch sm_35 -O3 -DNDEBUG -Xcompiler -fopenmp --compiler-options '-fPIC' -o libcuda_utils.so --shared cuda_utils.cu -I/home/satoshi/torch/install/include/THC -I/home/satoshi/torch/install/include/TH -I/home/satoshi/torch/install/include -L/home/satoshi/torch/install/lib -Xlinker -rpath,/home/satoshi/torch/install/lib -lluaT -lTHC -lTH -lpng -lluajit -lgomp
In file included from cuda_utils.cu:15:0:
/usr/local/cuda-10.0/bin/..//include/math_functions.h:54:2: warning: #warning "math_functions.h is an internal header file and must not be used directly. This file will be removed in a future CUDA release. Please use cuda_runtime_api.h or cuda_runtime.h instead." [-Wcpp]
#warning "math_functions.h is an internal header file and must not be used directly. This file will be removed in a future CUDA release. Please use cuda_runtime_api.h or cuda_runtime.h instead."
^~~~~~~
In file included from cuda_utils.cu:15:0:
/usr/local/cuda-10.0/bin/..//include/math_functions.h:54:2: warning: #warning "math_functions.h is an internal header file and must not be used directly. This file will be removed in a future CUDA release. Please use cuda_runtime_api.h or cuda_runtime.h instead." [-Wcpp]
#warning "math_functions.h is an internal header file and must not be used directly. This file will be removed in a future CUDA release. Please use cuda_runtime_api.h or cuda_runtime.h instead."
^~~~~~~
/usr/bin/ld: cannot find -lpng
collect2: error: ld returned 1 exit status
make: *** [makefile:10: libcuda_utils.so] Error 1
followed instructions as well as I could. Running Deepin 15.8 which is very ubuntulike and debian based. using CUDA 10 and torch7. no idea what is this lpng that is missing, any tips?
followed instructions as well as I could. Running Deepin 15.8 which is very ubuntulike and debian based. using CUDA 10 and torch7. no idea what is this lpng that is missing, any tips?