CUDA - can't compile .cu files because of "gcc: error trying to exec 'cc1plus': execvp" error -


i'm trying compile simple .cu file cuda 5 , gcc 4.7.3 on ubuntu 13.0 i'm getting

gcc: error trying exec 'cc1plus': execvp: no such file or directory 

how can fix this?

you not have valid c++ compiler installed. install g++ , problem go away - nvcc requires working, supported c++ host compiler compile both device , host code.


Comments

Popular posts from this blog

linux - xterm copying to CLIPBOARD using copy-selection causes automatic updating of CLIPBOARD upon mouse selection -

c++ - qgraphicsview horizontal scrolling always has a vertical delta -