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

前端 未结 5 2252
闹比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:46

    you say you already have g++ installed however it was not installed correctly ... revert what you did to install g++ then run this to install the bundle of developer tools

    sudo apt-get update
    sudo apt-get upgrade 
    sudo apt-get install libtool autoconf build-essential pkg-config automake tcsh
    

    which includes g++ and the entire make toolchain of utils

提交回复
热议问题