使用 Intel C++ 编译 Qt 时出错Win32 的编译器,我做错了什么?
我已经打开了 MSVS 2010 命令提示符,从 Intel Parallel Studio(为 ICC 设置环境)运行 ips-vars.cmd,从我调用的地方:
configure -ltcg -debug-and-release -graphicssystem opengl -mp -platform win32-icc -no-s60
得到了这个:
Creating qmake...
Microsoft (R) Program Maintenance Utility Version 10.00.30319.01
Copyright (C) Microsoft Corporation. All rights reserved.
icl -Yuqmake_pch.h -FIqmake_pch.h -Fpqmake_pch.pch -c -Fo./ -W3 -nologo -O2 -I. -Igenerators -Igenerators\unix -Igenerators\win32 -Igenerators\mac -
Igenerators\symbian -IH:\Alex\Alex\Work\Qt\4.7.3\include -IH:\Alex\Alex\Work\Qt\4.7.3\include\QtCore -IH:\Alex\Alex\Work\Qt\4.7.3\include -IH:\Alex\Alex\Work\
Qt\4.7.3\include\QtCore -IH:\Alex\Alex\Work\Qt\4.7.3\src\corelib\global -IH:\Alex\Alex\Work\Qt\4.7.3\src\corelib\xml -IH:\Alex\Alex\Work\Qt\4.7.3\mkspecs\win
32-icc -IH:\Alex\Alex\Work\Qt\4.7.3\tools\shared -DQT_NO_TEXTCODEC -DQT_NO_UNICODETABLES -DQT_LITE_COMPONENT -DQT_NODLL -DQT_NO_STL -DQT_NO_COMPRESS -DUNICO
DE -DHAVE_QCONFIG_CPP -DQT_BUILD_QMAKE -DQT_NO_THREAD -DQT_NO_QOBJECT -DQT_NO_GEOM_VARIANT -DQT_NO_DATASTREAM -DQT_NO_PCRE -DQT_BOOTSTRAPPED -DQLIBRARYINFO_EP
OCROOT /Zc:forScope -DQMAKE_OPENSOURCE_EDITION H:\Alex\Alex\Work\Qt\4.7.3\src\corelib\plugin\qsystemlibrary.cpp
qsystemlibrary.cpp
Catastrophic error: cannot open precompiled header file "qmake_pch.pchi"
compilation aborted for H:\Alex\Alex\Work\Qt\4.7.3\src\corelib\plugin\qsystemlibrary.cpp (code 4)
NMAKE : fatal error U1077: '"C:\Program Files\Intel\Parallel Studio 2011\Composer\bin\ia32\icl.EXE"' : return code '0x4'
Stop.
知道出了什么问题吗? 感谢您的浏览。
I have opened MSVS 2010 command prompt, from where I've run ips-vars.cmd from Intel Parallel Studio (which sets up environment for ICC), from where I called:
configure -ltcg -debug-and-release -graphicssystem opengl -mp -platform win32-icc -no-s60
And got this:
Creating qmake...
Microsoft (R) Program Maintenance Utility Version 10.00.30319.01
Copyright (C) Microsoft Corporation. All rights reserved.
icl -Yuqmake_pch.h -FIqmake_pch.h -Fpqmake_pch.pch -c -Fo./ -W3 -nologo -O2 -I. -Igenerators -Igenerators\unix -Igenerators\win32 -Igenerators\mac -
Igenerators\symbian -IH:\Alex\Alex\Work\Qt\4.7.3\include -IH:\Alex\Alex\Work\Qt\4.7.3\include\QtCore -IH:\Alex\Alex\Work\Qt\4.7.3\include -IH:\Alex\Alex\Work\
Qt\4.7.3\include\QtCore -IH:\Alex\Alex\Work\Qt\4.7.3\src\corelib\global -IH:\Alex\Alex\Work\Qt\4.7.3\src\corelib\xml -IH:\Alex\Alex\Work\Qt\4.7.3\mkspecs\win
32-icc -IH:\Alex\Alex\Work\Qt\4.7.3\tools\shared -DQT_NO_TEXTCODEC -DQT_NO_UNICODETABLES -DQT_LITE_COMPONENT -DQT_NODLL -DQT_NO_STL -DQT_NO_COMPRESS -DUNICO
DE -DHAVE_QCONFIG_CPP -DQT_BUILD_QMAKE -DQT_NO_THREAD -DQT_NO_QOBJECT -DQT_NO_GEOM_VARIANT -DQT_NO_DATASTREAM -DQT_NO_PCRE -DQT_BOOTSTRAPPED -DQLIBRARYINFO_EP
OCROOT /Zc:forScope -DQMAKE_OPENSOURCE_EDITION H:\Alex\Alex\Work\Qt\4.7.3\src\corelib\plugin\qsystemlibrary.cpp
qsystemlibrary.cpp
Catastrophic error: cannot open precompiled header file "qmake_pch.pchi"
compilation aborted for H:\Alex\Alex\Work\Qt\4.7.3\src\corelib\plugin\qsystemlibrary.cpp (code 4)
NMAKE : fatal error U1077: '"C:\Program Files\Intel\Parallel Studio 2011\Composer\bin\ia32\icl.EXE"' : return code '0x4'
Stop.
Any ideas what's wrong?
Thanks for taking a look.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
选项
-Yu
表示“使用预编译头”。看来您还没有首先创建预编译文件(
-Yc
)。而且这个可能不应该以.h
结尾。The option
-Yu
means "use precompiled header".Seems like you haven't first created a precompiled file (
-Yc
). And that one should probably not end in.h
.