MIDL Build issue

321 views
Skip to first unread message

Jared Davison

unread,
Sep 11, 2017, 10:17:03 AM9/11/17
to Chromium-discuss
Hi,
This  is my first time trying to build chromium. 

The build platform is Windows 10 Version 1703 15063.540 with MS VC++ 2015 Pro Update 3. 

Please advise me how I can resolve the issue in the output. I have tried to do the rebaseline command a few times and rerunning ninja but it keeps giving me the same error after a while of building. 

To rebaseline:
  copy /y c:\users\jared\appdata\local\temp\tmp3wdbt0\* C:\JD\chromium\chromium\src\third_party\win_build_output\midl\third_party\isimpledom\ISimpleDOMDocument.idl\x64

Thanks

Jared


C:\JD\chromium\chromium\src>ninja -C out\Default chrome
ninja: Entering directory `out\Default'
[1319/27047] ACTION //third_party/isimpledom:isimpledom_idl_action(//build/toolchain/win:x64)
FAILED: gen/third_party/isimpledom/ISimpleDOMDocument.h gen/third_party/isimpledom/ISimpleDOMDocument.dlldata.c gen/third_party/isimpledom/ISimpleDOMDocument_i.c gen/third_party/isimpledom/ISimpleDOMDocument_p.c
C:/JD/chromium/depot_tools/win_tools-2_7_6_bin/python/bin/python.exe ../../build/toolchain/win/midl.py environment.x64 gen/third_party/isimpledom ISimpleDOMDocument.tlb ISimpleDOMDocument.h ISimpleDOMDocument.dlldata.c ISimpleDOMDocument_i.c ISimpleDOMDocument_p.c ../../third_party/isimpledom/ISimpleDOMDocument.idl /char signed /env x64 /Oicf
midl.exe output different from files in C:\JD\chromium\chromium\src\third_party\win_build_output\midl\third_party\isimpledom\ISimpleDOMDocument.idl\x64, see c:\users\jared\appdata\local\temp\tmp3wdbt0
diff c:\users\jared\appdata\local\temp\tmp3wdbt0 C:\JD\chromium\chromium\src\third_party\win_build_output\midl\third_party\isimpledom\ISimpleDOMDocument.idl\x64
Identical files : ['ISimpleDOMDocument.dlldata.c', 'ISimpleDOMDocument.h']
Differing files : ['ISimpleDOMDocument_i.c', 'ISimpleDOMDocument_p.c']
--- C:\JD\chromium\chromium\src\third_party\win_build_output\midl\third_party\isimpledom\ISimpleDOMDocument.idl\x64\ISimpleDOMDocument_i.c
+++ c:\users\jared\appdata\local\temp\tmp3wdbt0\ISimpleDOMDocument_i.c
@@ -65,7 +65,7 @@
 #define MIDL_DEFINE_GUID(type,name,l,w1,w2,b1,b2,b3,b4,b5,b6,b7,b8) \
         EXTERN_C __declspec(selectany) const type name = {l,w1,w2,{b1,b2,b3,b4,b5,b6,b7,b8}}

-#endif // !_MIDL_USE_GUIDDEF_
+#endif !_MIDL_USE_GUIDDEF_

 MIDL_DEFINE_GUID(IID, IID_ISimpleDOMDocument,0x0D68D6D0,0xD93D,0x4d08,0xA3,0x0D,0xF0,0x0D,0xD1,0xF4,0x5B,0x24);


--- C:\JD\chromium\chromium\src\third_party\win_build_output\midl\third_party\isimpledom\ISimpleDOMDocument.idl\x64\ISimpleDOMDocument_p.c
+++ c:\users\jared\appdata\local\temp\tmp3wdbt0\ISimpleDOMDocument_p.c
@@ -443,7 +443,7 @@
     1, /* -error bounds_check flag */
     0x50002, /* Ndr library version */
     0,
-    0x801026e, /* MIDL Version 8.1.622 */
+    0x801026c, /* MIDL Version 8.1.620 */
     0,
     UserMarshalRoutines,
     0,  /* notify & notify_flag routine table */

To rebaseline:
  copy /y c:\users\jared\appdata\local\temp\tmp3wdbt0\* C:\JD\chromium\chromium\src\third_party\win_build_output\midl\third_party\isimpledom\ISimpleDOMDocument.idl\x64
[1324/27047] CXX obj/third_party/leveldatabase/leveldatabase/env_chromium.obj
ninja: build stopped: subcommand failed.

C:\JD\chromium\chromium\src>



























de...@ugiltd.com

unread,
Sep 24, 2017, 3:28:47 AM9/24/17
to Chromium-discuss
https://groups.google.com/a/chromium.org/forum/#!topic/chromium-dev/_iKTgRLlgOw

I have the same problem and resolved after remove all other version of win10 SDK not 15063.468.

Jared Davison於 2017年9月11日星期一 UTC+8下午10時17分03秒寫道:
Reply all
Reply to author
Forward
0 new messages