g++: error trying to exec 'cc1plus': execvp: No such file or directory

前端 未结 5 2237
闹比i
闹比i 2020-12-15 03:03

I am using ubuntu 12.04. I\'m trying to \"make\" a project.

I get this error:

g++: error trying to exec \'cc1plus\': execvp: No such file or director         


        
5条回答
  •  再見小時候
    2020-12-15 03:42

    I have g++ installed.

    You do, but you don't have it installed correctly.

    First run which g++ -- it's likely that your PATH is pointing at something other than /usr/bin/g++, and that version is not properly installed.

提交回复
热议问题