CUDA linking error on OS X El Capitan
问题 I've been trying to install CUDA and cuDNN for TensorFlow as instructed on the TensorFlow page. Everything works until I do the following: $ cp -r /usr/local/cuda/samples ~/cuda-samples $ pushd ~/cuda-samples $ make I then get the following error: clang++ -rpath /Developer/NVIDIA/CUDA-7.5/lib -L/Developer/NVIDIA/CUDA-7.5/lib -framework CUDA -o clock_nvrtc clock.o -lnvrtc ld: framework not found CUDA clang: error: linker command failed with exit code 1 (use -v to see invocation) make[1]: ***