Hi, I’m trying to build Qt5 as static library but encountered errors.
At Apr 21th, I had a try, encountered this error:
link /NOLOGO /DYNAMICBASE /NXCOMPAT /INCREMENTAL:NO /SUBSYSTEM:CONSOLE "
/MANIFESTDEPENDENCY:type='win32' name='Microsoft.Windows.Common-Controls' versio
n='6.0.0.0' publicKeyToken='6595b64144ccf1df' language='*' processorArchitecture
='*'" /MANIFEST /MANIFESTFILE:D:\Qt\Qt5.0.2modified\qtbase\bin\qmlscene.exe.embe
d.manifest /OUT:D:\Qt\Qt5.0.2modified\qtbase\bin\qmlscene.exe @C:\DOCUME~1\WEIYU
E~1\LOCALS~1\Temp\qmlscene.exe.4184.31.jom
LINK : fatal error LNK1181: cannot open input file 'Files\Microsoft.obj'
jom: D:\Qt\Qt5.0.2modified\qtdeclarative\tools\qmlscene\Makefile.Release [D:\Qt\
Qt5.0.2modified\qtbase\bin\qmlscene.exe] Error 1181
jom: D:\Qt\Qt5.0.2modified\qtdeclarative\tools\qmlscene\Makefile [release] Error
2
jom: D:\Qt\Qt5.0.2modified\qtdeclarative\tools\Makefile [sub-qmlscene-make_first
] Error 2
jom: D:\Qt\Qt5.0.2modified\qtdeclarative\Makefile [sub-tools-make_first] Error 2
jom: D:\Qt\Qt5.0.2modified\Makefile [module-qtdeclarative-make_first] Error 2
It’s basically a 5.0.2 source. I don’t know why I got this. My configuration args is:
configure -debug-and-release -static -mp -nomake examples -nomake tests -nomake webkit -no-vcproj
I’m using jom. on Windows XP.
Today (May 3th) I tried again using the same configuration args, encounted this:
link /NOLOGO /DYNAMICBASE /NXCOMPAT /INCREMENTAL:NO /SUBSYSTEM:CONSOLE "
/MANIFESTDEPENDENCY:type='win32' name='Microsoft.Windows.Common-Controls' versio
n='6.0.0.0' publicKeyToken='6595b64144ccf1df' language='*' processorArchitecture
='*'" /MANIFEST /MANIFESTFILE:E:\Qt\qt-everywhere-opensource-src-5.1.0-beta1-050
2\qtbase\bin\dumpdoc.exe.embed.manifest /OUT:E:\Qt\qt-everywhere-opensource-src-
5.1.0-beta1-0502\qtbase\bin\dumpdoc.exe @C:\DOCUME~1\WEIYUE~1\LOCALS~1\Temp\dump
doc.exe.5988.860.jom
LINK : fatal error LNK1181: cannot open input file 'Files\Microsoft.obj'
jom: E:\Qt\qt-everywhere-opensource-src-5.1.0-beta1-0502\qtactiveqt\tools\dumpdo
c\Makefile.Release [E:\Qt\qt-everywhere-opensource-src-5.1.0-beta1-0502\qtbase\b
in\dumpdoc.exe] Error 1181
jom: E:\Qt\qt-everywhere-opensource-src-5.1.0-beta1-0502\qtactiveqt\tools\dumpdo
c\Makefile [release] Error 2
jom: E:\Qt\qt-everywhere-opensource-src-5.1.0-beta1-0502\qtactiveqt\tools\Makefi
le [sub-dumpdoc-make_first-ordered] Error 2
jom: E:\Qt\qt-everywhere-opensource-src-5.1.0-beta1-0502\qtactiveqt\Makefile [su
b-tools-make_first] Error 2
jom: E:\Qt\qt-everywhere-opensource-src-5.1.0-beta1-0502\Makefile [module-qtacti
veqt-make_first] Error 2
It seems error occured on different positions. But they all result in a same sentence:
LINK : fatal error LNK1181: cannot open input file 'Files\Microsoft.obj'
I’m using the source from http://download.qt-project.org/snapshots/qt/5.1/5.1.0-beta1/backups/2013-05-02-11/single/
Then,
I changed a machine (Windows7) and using nmake. Also error:
qmlscene_plugin_import.cpp
link /NOLOGO /DYNAMICBASE /NXCOMPAT /INCREMENTAL:NO /SUBSYSTEM:CONSOLE "
/MANIFESTDEPENDENCY:type='win32' name='Microsoft.Windows.Common-Controls' versio
n='6.0.0.0' publicKeyToken='6595b64144ccf1df' language='*' processorArchitecture
='*'" /MANIFEST /MANIFESTFILE:D:\Qt\qt-everywhere-opensource-src-5.1.0-beta1\qtb
ase\bin\qmlscene.exe.embed.manifest /OUT:D:\Qt\qt-everywhere-opensource-src-5.1.
0-beta1\qtbase\bin\qmlscene.exe @C:\Users\WANGZI~1\AppData\Local\Temp\nm342E.tmp
LINK : fatal error LNK1181: cannot open input file 'Files\Microsoft.obj'
NMAKE : fatal error U1077: '"C:\Program Files\Microsoft Visual Studio 10.0\VC\BI
N\link.EXE"' : return code '0x49d'
Stop.
NMAKE : fatal error U1077: '"C:\Program Files\Microsoft Visual Studio 10.0\VC\BI
N\nmake.exe"' : return code '0x2'
Stop.
NMAKE : fatal error U1077: 'cd' : return code '0x2'
Stop.
NMAKE : fatal error U1077: 'cd' : return code '0x2'
Stop.
NMAKE : fatal error U1077: 'cd' : return code '0x2'
Stop.
Also ‘Files\Microsoft.obj’.
And it is different from https://bugreports.qt-project.org/browse/QTBUG-28196 , I think.
What am I missing?
Thank you !
↧