flownet2-tf icon indicating copy to clipboard operation
flownet2-tf copied to clipboard

make all error

Open deepkshikha opened this issue 6 years ago • 1 comments

After Installing all library it shows this error

fatal error: cuda/include/cuda.h: No such file or directory

deepkshikha avatar Aug 06 '18 16:08 deepkshikha

Edit Makefile: from CFLAGS = -std=c++11 -I$(TF_INC) -I"$(CUDA_HOME)/include" -DGOOGLE_CUDA=1 to CFLAGS = -std=c++11 -I$(TF_INC) -I"$(CUDA_HOME)/.." -DGOOGLE_CUDA=1

This error may because of the wrong including directory. The Makefile set $CUDA_HOME as /usr/local/cuda, and try to find /usr/local/cuda/include/cuda/include/cuda.h. The correct path should be /usr/local/cuda/include/cuda.h

/usr/local/cuda may be a symbolic link to /usr/local/cuda-\<version\>

Iamanorange avatar Aug 09 '18 10:08 Iamanorange