问题如下:
gmake: *** [project.o] Error 1
Done.
Running configuration tests...
Failed to process makespec for platform 'linux-g++'
Turn on verbose messaging (-v) to see the final report.
我的理解:
找不到g++
但是我在终端下执行:g++ -v
有返回信息,信息如下:
Reading specs from /usr/lib/gcc-lib/i386-redhat-linux/3.2.2/specs
Configured with: ../configure --prefix=/usr --mandir=/usr/share/man --infodir=/usr/share/info --enable-shared --enable-threads=posix --disable-checking --with-system-zlib --enable-__cxa_atexit --host=i386-redhat-linux
Thread model: posix
gcc version 3.2.2 20030222 (Red Hat Linux 3.2.2-5)
由上面知道g++是包含在gcc里面,但也证明g++已安装了
为了进一步证明g++可以用,我创建一个cpp文件,然后用g++编译
编译是通过的,cpp生成的可执行文件也能运行
再一次证明是有g++的??
那问题来了,为什么qt那里就报错了?是环境变量路径问题吗?
求解答,求解决方法....