F15에 CUDA를 설치하고 있습니다. 나는 CUDA가 gcc/g ++의 이전 버전을 필요로한다는 것을 잘 알고 있으며 gcc/g ++ 4.5.1을 설치했고 문서화 된대로 softlinked했다. here. 나는 더 이상 해당 게시물에서 언급 한 오류가 발생하지 ... 내가 SDK를 컴파일하려고 할 때 그러나, 나는 다음과 같은 오류 얻을 : 나는 의심gcc/g ++에 대한 CUDA SDK 문제 : gcc의 이전 버전에서 g ++의 이전 버전을 찾을 수 없습니까?
make[1]: Entering directory `/home/whao/NVIDIA_GPU_Computing_SDK/C/src/bilateralFilter'
gcc: error trying to exec 'cc1plus': execvp: No such file or directory
make[1]: *** [obj/x86_64/release/filter_kernel.cu.o] Error 1
을하는 것이 든, 문제 ++ g의 이전 버전은 아니다 인정 받고 있니? 그것은 가치가 무엇인지를 들어, 다음 두 개의 출력을 고려
[[email protected] C]$ /usr/local/cuda/bin/gcc --version
gcc (GCC) 4.5.1 20101130 (Red Hat 4.5.1-6)
Copyright (C) 2010 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
[[email protected] C]$ /usr/local/cuda/bin/g++ --version
g++ (GCC) 4.5.1 20101130 (Red Hat 4.5.1-6)
Copyright (C) 2010 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
gcc의 4.4 버전 만 CUDA nvcc와 호환됩니다. – Yappie
CUDA 4.1은 gcc 4.5.1을 지원합니다. @whao는 여전히 문제가 있습니까? – harrism