我尝试从源代码构建更多的Qt版本(5.20和5.3.0alpha),并遵循their website的说明。我打开了Visual 2013 x64本机工具命令行。
我的命令行如下所示:
configure -debug -nomake examples -opensource -platform win32-msvc2013configure进程显然运行良好。(我的意思是,不要犯任何错误)。但是,当我开始构建它时,使用以下一行:
jom它工作大约5到10分钟,然后我的命令行报告以下错误:
c:\qt\qt5.3.0\qt-source\qtdeclarative\src\3rdparty\masm\assembler\MacroAssemblerX86Common.h(913) : see eference to class template instantiation 'JSC::AbstractMacroAssembler<JSC::X86Assembler>::JumpList' being compiled
jom: C:\Qt\Qt5.3.0\QT-SOURCE\qtdeclarative\src\qml\Makefile.Debug [RegExpJitTables.h] Error 1
jom: C:\Qt\Qt5.3.0\QT-SOURCE\qtdeclarative\src\qml\Makefile [debug] Error 2
jom: C:\Qt\Qt5.3.0\QT-SOURCE\qtdeclarative\src\Makefile [sub-qml-make_first-ordered] Error 2
jom: C:\Qt\Qt5.3.0\QT-SOURCE\qtdeclarative\Makefile [sub-src-make_first] Error 2
jom: C:\Qt\Qt5.3.0\QT-SOURCE\Makefile [module-qtdeclarative-make_first] Error 2我哪里错了?我怎么才能解决这个问题?
发布于 2014-03-22 00:41:46
不久前我遇到了一个类似的问题。
如果您想构建Qt5,那么使用GIT克隆它的源代码:
git clone git://gitorious.org/qt/qt5.git qt5
cd qt5
git checkout stable另外,如果您不打算使用webkit或任何其他库,那么只需释放它-例如:
configure -debug-and-release -no-webkit -opensource -platform win32-msvc2013完成处理可能需要一段时间。去泡杯咖啡,然后晚点再来。如果没有出现错误,请运行command
..jom.exe -j 8应该管用的。否则,只需张贴评论,它是如何进行,我们可以跟进,以弥补和运行。
发布于 2015-11-14 11:09:31
通过安装python2.7.10 win32并将其添加到系统路径,我最终解决了这个问题。我想可能是一些py脚本导致了这个问题。
https://stackoverflow.com/questions/22115044
复制相似问题