• 6326阅读
  • 3回复

【提问】这个错误怎样解决 [复制链接]

上一主题 下一主题
离线liaoyong2
 
只看楼主 倒序阅读 楼主  发表于: 2005-10-26
F:\qt\tutorial>mingw32-make
mingw32-make -f Makefile.Debug
mingw32-make[1]: Entering directory `F:/qt/tutorial'
g++ -c -g -g -frtti -fexceptions -Wall -DUNICODE -DQT_LARGEFILE_SUPPORT -DQT_DLL
-DQT_CORE_LIB -DQT_GUI_LIB -DQT_THREAD_SUPPORT -DQT_NEEDS_QMAIN -I"D:/Qt/4.0/in
clude/QtGui" -I"D:/Qt/4.0/include/QtCore" -I"D:/Qt/4.0/include" -I"D:/Qt/4.0/inc
lude/ActiveQt" -I"debug" -I"." -I"D:\Qt\4.0\mkspecs\win32-g++" -o debug\hello.o
hello.cpp
'g++' 不是内部或外部命令,也不是可运行的程序
或批处理文件。
mingw32-make[1]: *** [debug\hello.o] Error 1
mingw32-make[1]: Leaving directory `F:/qt/tutorial'
mingw32-make: *** [debug] Error 2
[ 此贴被fanyu在2005-10-27 09:15重新编辑 ]
离线shimmering

只看该作者 1楼 发表于: 2005-11-08
没装GCC?
离线浪漫天使
只看该作者 2楼 发表于: 2005-11-20
装了mingw32的话 把gcc的路径放到 path环境变量(如C:\MinGW\bin)里面看行不行。
离线guyansrg

只看该作者 3楼 发表于: 2005-11-26
恩,就是没有设置系统环境的问题。
把 path环境变量设置一下,估计就没问题了。
快速回复
限100 字节
 
上一个 下一个