首页| 论坛| 消息

标题:【提问】这个错误怎样解决
作者:liaoyong2
日期:2005-10-26 10:09
内容:

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]: *** Error 1
mingw32-make[1]: Leaving directory `F:/qt/tutorial'
mingw32-make: *** Error 2


#1 [shimmering 11-08 16:31]
没装GCC?
#2 [浪漫天使 11-20 23:45]
装了mingw32的话 把gcc的路径放到 path环境变量(如C:\MinGW\bin)里面看行不行。
#3 [guyansrg 11-26 21:21]
恩,就是没有设置系统环境的问题。
把 path环境变量设置一下,估计就没问题了。

回复 发表
主题 版块