Cc1plus Error Cuda_runtime.h No Such File Or Directory
Contents |
Support Search GitHub This repository Watch 1,587 Star 12,801 Fork 7,831 cuda installation BVLC/caffe Code Issues 530 Pull requests 263 Projects 0 Wiki install cuda ubuntu Pulse Graphs New issue g++ cannot find cuda_runtime.h #841 Closed kelvinxu opened this Issue Aug
Install Cuda 7.5 Ubuntu
3, 2014 · 3 comments Projects None yet Labels None yet Milestone No milestone Assignees No one assigned 3 participants kelvinxu commented Aug 3, https://devtalk.nvidia.com/default/topic/757116/compiling-basics-nvcc/ 2014 I followed in instructions on the installation page and upon running make all I receive. /usr/bin/g++ src/caffe/blob.cpp -pthread -fPIC -DNDEBUG -O2 -I/usr/include/python2.7 -I/usr/lib/python2.7/dist-packages/numpy/core/include -I/usr/local/include -Ibuild/src -I./src -I./include -I/pkgs_local/cuda-5.5 -I/include -c -o build/src/caffe/blob.o src/caffe/blob.cpp:3:26: fatal error: cuda_runtime.h: No such file or directory compilation terminated. make: *** [build/src/caffe/blob.o] Error 1 https://github.com/BVLC/caffe/issues/841 The file cuda_runtime is sitting in /pkgs_local/cuda-5.5/include, but it seems that it cannot be found. Thanks in advance, Kelvin netheril96 commented Aug 3, 2014 Apparently you didn't set the variables in Make.config right. 😕 1 kelvinxu commented Aug 3, 2014 I seem to have gotten around it by adding /pkgs_local/cuda-5.5/include explicitly to the INCLUDE_DIRS variable. Seems weird that this is necessary based on the Makefile. Yangqing commented Aug 3, 2014 You may be using a different cuda install approach than the default one in ubuntu - the Makefile.config assumes /usr/local/cuda/, so this is causing the problem. Glad that this issue is solved :) Yangqing closed this Aug 3, 2014 Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment Contact GitHub API Training Shop Blog About © 2016 GitHub, Inc. Terms Privacy Security Status Help You can't p
van GoogleInloggenVerborgen veldenZoeken naar groepen of berichten
sure you verify it. Home Help Search Donate Login Register Bitcoin Forum>Alternate cryptocurrencies>Mining (Altcoins) (Moderator: mprep)>Cudaminer and Ubuntu cc1plus: fatal error: cuda_runtime.h [resolved] Pages: [1] « previous topic next topic » Print Author Topic: Cudaminer and Ubuntu cc1plus: fatal error: cuda_runtime.h [resolved] (Read 1171 times) cayenne Newbie Offline Activity: 1 Cudaminer and Ubuntu cc1plus: fatal error: cuda_runtime.h [resolved] February 08, 2014, 11:12:55 AM #1 Hi everyone,I'm running ubuntu 12.04.4 LTS on x64 and i'm trying to compile cudaminer running cuda 5.5 with the latest nvida driver, however i'm getting the following error and can't fix it no matter what I try. Hopefully someone else has run in to this and has some ideas.Code:checking build system type... x86_64-unknown-linux-gnuchecking host system type... x86_64-unknown-linux-gnuchecking target system type... x86_64-unknown-linux-gnuchecking for a BSD-compatible install... /usr/bin/install -cchecking whether build environment is sane... yeschecking for a thread-safe mkdir -p... /bin/mkdir -pchecking for gawk... nochecking for mawk... mawkchecking whether make sets $(MAKE)... yeschecking whether to enable maintainer-specific portions of Makefiles... nochecking for style of include used by make... GNUchecking for gcc... gccchecking whether the C compiler works... yeschecking for C compiler default output file name... a.outchecking for suffix of executables... checking whether we are cross compiling... nochecking for suffix of object files... ochecking whether we are using the GNU C compiler... yeschecking whether gcc accepts -g... yeschecking for gcc option to accept ISO C89... none neededchecking dependency style of gcc... gcc3checking for gcc option to accept ISO C99... -std=gnu99checking how to run the C preprocessor... gcc -std=gnu99 -Echecking for grep that handles long lines and -e... /bin/grepchecking for egrep... /bin/grep -Echecking whether gcc -std=gnu99 needs -traditional... nochecking whether gcc -std=gnu99 and cc understand -c and -o together... yeschecking dependency style of gcc -std=gnu99... gcc3checking for ranlib... ranlibchecking for g++... g++checking whether we are using the GNU C++ compiler... yeschecking whether g++ accepts -g..