g++: error trying to exec ‘cc1plus’原因分析及解决方法。
13:12:22: 为项目helloworld执行构建步骤 …
13:12:22: 配置没有改变, 跳过 qmake 步骤.
13:12:22: 正在启动 “/usr/bin/make” -w
{1″?} {2?}
make: Entering directory `/qt-workspace-xuechenglv/helloworld/helloworld-build-desktop-Desktop_Qt_4_8_1_for_GCC__Qt_SDK____’
g++ -c -pipe -O2 -Wall -W -D_REENTRANT -DQT_NO_DEBUG -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/opt/QtSDK/Desktop/Qt/4.8.1/gcc/mkspecs/linux-g++ -I../helloworld -I/opt/QtSDK/Desktop/Qt/4.8.1/gcc/include/QtCore -I/opt/QtSDK/Desktop/Qt/4.8.1/gcc/include/QtGui -I/opt/QtSDK/Desktop/Qt/4.8.1/gcc/include -I../helloworld -I. -I. -I. -o main.o ../helloworld/main.cpp
g++: error trying to exec ‘cc1plus’: execvp: No such file or directory
make: *** [main.o] Error 1
make: Leaving directory `/qt-workspace-xuechenglv/helloworld/helloworld-build-desktop-Desktop_Qt_4_8_1_for_GCC__Qt_SDK____’
13:12:22: 进程”/usr/bin/make”退出,退出代码 2 。
构建项目helloworld 时发生错误 (目标: 桌面)
当执行构建步骤 ‘Make’时