首页| 论坛| 消息

标题:【提问】为什么make编译这么慢???
作者:alycq
日期:2005-10-09 12:46
内容:

在windows下的qt4 opensource版本, 用make编译, 怎么会耗很长时间才能编译通过
有什么办法快点么?


#1 [alycq 10-09 14:40]
就是在这个地方要等太久了,能有办法解决么?
make -f Makefile.Debug
make[1]: Entering directory `E:/MyWork/ThuHosProj/radworkspace/affine'
g++ -c -g -g -frtti -fexceptions -Wall -DUNICODE -DQT_LARGEFILE_SUPPORT -DQT_COR
E_LIB -DQT_GUI_LIB -DQT_THREAD_SUPPORT -I"D:/Qt/4.0.1/include/QtGui" -I"D:/Qt/4.
0.1/include/QtCore" -I"D:/Qt/4.0.1/include" -I"..\shared" -I"D:/Qt/4.0.1/include
/ActiveQt" -I"debug" -I"." -I"D:\Qt\4.0.1\mkspecs\win32-g++" -o debug\xform.o xf
orm.cpp
D:\Qt\4.0.1\bin\rcc.exe -name affine affine.qrc -o qrc_affine.cpp
Cannot find file: bg1.jpg
g++ -c -g -g -frtti -fexceptions -Wall -DUNICODE -DQT_LARGEFILE_SUPPORT -DQT_COR
E_LIB -DQT_GUI_LIB -DQT_THREAD_SUPPORT -I"D:/Qt/4.0.1/include/QtGui" -I"D:/Qt/4.
0.1/include/QtCore" -I"D:/Qt/4.0.1/include" -I"..\shared" -I"D:/Qt/4.0.1/include
/ActiveQt" -I"debug" -I"." -I"D:\Qt\4.0.1\mkspecs\win32-g++" -o debug\qrc_affine
.o qrc_affine.cpp
g++ -mthreads -Wl,-enable-stdcall-fixup -Wl,-enable-auto-import -Wl,-enable-runt
ime-pseudo-reloc -Wl,-subsystem,windows -o "debug\radmanager.exe" debug\main.o d
ebug\xform.o debug\moc_xform.o debug\qrc_affine.o-L"D:\Qt\4.0.1\lib" -lmingw32
-lqtmaind -L../shared/debug -ldemo_shared -lQtGuid -lgdi32 -lcomdlg32 -loleaut3
2 -limm32 -lwinmm -lwinspool -lmsimg32 -lQtCored -lkernel32 -luser32 -lshell32 -
luuid -lole32 -ladvapi32 -lws2_32
#2 [fatsnake 10-09 17:00]
我也是这个问题,那位高人指点一下啊!!!
#3 [fatsnake 10-10 08:23]
我只要一编译,cpu占用100%,为什么啊?
#4 [fanyu 10-10 10:40]
debug库可以不需要编译的,因为release库在安装qt时就已经有了,也就是说不用编译windows版的Qt就可以正常使用。
为什么会编译慢呢?一个原因是机器的问题,好的机器会很快;默认的编译会编译所有的Qt代码和项目中的代码,自然时间会长;MingW编译器比其它windows编译器的编译速度也要慢一些。
#5 [fatsnake 10-10 11:51]
那么怎么解决呢?我很菜,请帮帮忙。

<< 1 2 3 >> (1/3)

回复 发表
主题 版块