Hi Thiago Macieira,

I’ve compiled with jom and using /U option (According to the jom’s help, it 
should be /U that will print content of inline files)

The compilation still failed, but it do print something seemed useful:

cd dumpdoc\ && ( if not exist Makefile D:\Qt\5.1.0-beta1-0505\qtbase\bin
\qmake D:\Qt\5.1.0-beta1-0505\qtactiveqt\tools\dumpdoc\dumpdoc.pro -o Makefile )
 && D:\Qt\5.1.0-beta1-0505\jom\jom.exe -f Makefile
        D:\Qt\5.1.0-beta1-0505\jom\jom.exe -f Makefile.Release
---C:\Users\WEIYUE~1\AppData\Local\Temp\dumpdoc.exe.4064.0.jom---
.obj\release_static\main.obj  .obj\release_static\dumpdoc_plugin_import.obj /LIB
PATH:D:\Qt\5.1.0-beta1-0505\qtactiveqt\lib D:\Qt\5.1.0-beta1-0505\qtactiveqt\lib
\Qt5AxContainer.lib /LIBPATH:D:\Qt\5.1.0-beta1-0505\qtbase\lib /LIBPATH:C:\Progr
am Files (x86)\Microsoft DirectX SDK (June 2010)\Lib\x86 /LIBPATH:C:\Program D:\
Qt\5.1.0-beta1-0505\qtactiveqt\lib\Qt5AxBase.lib D:\Qt\5.1.0-beta1-0505\qtbase\l
ib\Qt5Widgets.lib /LIBPATH:D:\Qt\5.1.0-beta1-0505\qtbase\plugins\platforms D:\Qt
\5.1.0-beta1-0505\qtbase\plugins\platforms\qwindows.lib winspool.lib shlwapi.lib
 rpcrt4.lib D:\Qt\5.1.0-beta1-0505\qtbase\lib\Qt5PlatformSupport.lib D:\Qt\5.1.0
-beta1-0505\qtbase\lib\Qt5Gui.lib D:\Qt\5.1.0-beta1-0505\qtbase\lib\Qt5Core.lib
libEGL.lib D:\Qt\5.1.0-beta1-0505\qtbase\lib\libGLESv2.lib 2010)\Lib\x86 2010)\L
ib\x86\d3d9.lib 2010)\Lib\x86\dxguid.lib C:\Program Files (x86)\Microsoft Direct
X SDK (June 2010)\Lib\x86\d3dcompiler.lib libGLESv2.lib kernel32.lib shell32.lib
 uuid.lib comdlg32.lib oleaut32.lib imm32.lib winmm.lib ws2_32.lib ole32.lib adv
api32.lib C:\Program Files (x86)\Microsoft DirectX SDK (June 2010)\Lib\x86\d3d9.
lib C:\Program Files (x86)\Microsoft DirectX SDK (June 2010)\Lib\x86\dxguid.lib
C:\Program Files (x86)\Microsoft DirectX SDK (June 2010)\Lib\x86\d3dcompiler.lib
 D:/Qt/5.1.0-beta1-0505/qtbase/lib/translator_common.lib D:/Qt/5.1.0-beta1-0505/
qtbase/lib/translator_hlsl.lib D:/Qt/5.1.0-beta1-0505/qtbase/lib/preprocessor.li
b gdi32.lib user32.lib
---end of inline file---
        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:..\..\bin\dumpdoc.exe.embed.manifest /OUT:..\..\bi
n\dumpdoc.exe @C:\Users\WEIYUE~1\AppData\Local\Temp\dumpdoc.exe.4064.0.jom
LINK : fatal error LNK1181: cannot open input file 'Files.obj'
jom: D:\Qt\5.1.0-beta1-0505\qtactiveqt\tools\dumpdoc\Makefile.Release [..\..\bin
\dumpdoc.exe] Error 1181
jom: D:\Qt\5.1.0-beta1-0505\qtactiveqt\tools\dumpdoc\Makefile [release] Error 2
jom: D:\Qt\5.1.0-beta1-0505\qtactiveqt\tools\Makefile [sub-dumpdoc-make_first-or
dered] Error 2
jom: D:\Qt\5.1.0-beta1-0505\qtactiveqt\Makefile [sub-tools-make_first] Error 2
jom: D:\Qt\5.1.0-beta1-0505\Makefile [module-qtactiveqt-make_first] Error 2

There are quite some spaces in the inline file. I guess it is the reason that I 
got error like: LINK : fatal error LNK1181: cannot open input file 'Files.obj'

So is it a Bug? Or I missed some options?

My configure:
configure.bat -prefix %CD%\0505build -make libs -make tools -make examples 
-no-incredibuild-xge -debug-and-release -static -skip qtwebkit -no-icu -nomake 
tests -nomake examples -no-vcproj
OS: Windows 7
Source: 5.1 beta1 
(http://download.qt-project.org/snapshots/qt/5.1/5.1.0-beta1/backups/2013-05-05-21/single/)
Build tool: jom  (jom\jom /U /J4)

Also, I'll try to install my DX SDK to a place without spaces in the path..

------------------------------------------------------------------
Wei Yuemin
7FGame

-----邮件原件-----
发件人: [email protected] 
[mailto:[email protected]] 代表 
[email protected]
发送时间: 2013年5月4日 18:00
收件人: [email protected]
主题: Releasing Digest, Vol 16, Issue 3

Send Releasing mailing list submissions to
        [email protected]

To subscribe or unsubscribe via the World Wide Web, visit
        http://lists.qt-project.org/mailman/listinfo/releasing
or, via email, send a message with subject or body 'help' to
        [email protected]

You can reach the person managing the list at
        [email protected]

When replying, please edit your Subject line so it is more specific than "Re: 
Contents of Releasing digest..."


Today's Topics:

   1. Re: Qt5 static build failed (Thiago Macieira)


----------------------------------------------------------------------

Message: 1
Date: Fri, 03 May 2013 08:26:10 -0700
From: Thiago Macieira <[email protected]>
Subject: Re: [Releasing] Qt5 static build failed
To: [email protected]
Message-ID: <4273518.iKjI5n2f1p@tjmaciei-mobl2>
Content-Type: text/plain; charset="utf-8"

On sexta-feira, 3 de maio de 2013 09.04.15, ??? wrote:
> Hi, I?m trying to build Qt5 as static library but encountered errors.
> 
> I?ve posted detailed information on the forum:
> http://qt-project.org/forums/viewthread/27389/
> 
> Briefly speaking, my three attempts to build Qt5 statically all failed 
> with the same error:
> 
> LINK : fatal error LNK1181: cannot open input file 'Files\Microsoft.obj'
> 

Looks like a problem with spaces in file paths, but I can't see where the 
offender would be.

Can you compile with jom (not nmake) and pass the -u option, so it will print 
the full command-line, including the contents of the response file?

--
Thiago Macieira - thiago.macieira (AT) intel.com
  Software Architect - Intel Open Source Technology Center
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 190 bytes
Desc: This is a digitally signed message part.
Url : 
http://lists.qt-project.org/pipermail/releasing/attachments/20130503/921fca14/attachment-0001.bin
 

------------------------------

_______________________________________________
Releasing mailing list
[email protected]
http://lists.qt-project.org/mailman/listinfo/releasing


End of Releasing Digest, Vol 16, Issue 3
****************************************
_______________________________________________
Releasing mailing list
[email protected]
http://lists.qt-project.org/mailman/listinfo/releasing

Reply via email to