Compiling chrome code met below errors, please help me, thanks...

311 views
Skip to first unread message

cl6...@gmail.com

unread,
Aug 8, 2013, 9:08:57 PM8/8/13
to chromi...@chromium.org
Error 1 error C2061: syntax error : identifier 'pp' C:\Program Files (x86)\Windows Kits\8.0\Include\um\combaseapi.h 242 1 base
Error 2 error C3646: '_Post_satisfies_' : unknown override specifier C:\Program Files (x86)\Windows Kits\8.0\Include\um\combaseapi.h 242 1 base
Error 3 error C2988: unrecognizable template declaration/definition C:\Program Files (x86)\Windows Kits\8.0\Include\um\combaseapi.h 242 1 base
Error 4 error C2059: syntax error : 'return' C:\Program Files (x86)\Windows Kits\8.0\Include\um\combaseapi.h 242 1 base
Error 5 error C2091: function returns function C:\Program Files (x86)\Windows Kits\8.0\Include\um\combaseapi.h 242 1 base
Error 6 error C2144: syntax error : 'void' should be preceded by ';' C:\Program Files (x86)\Windows Kits\8.0\Include\um\combaseapi.h 242 1 base
Error 7 error C4430: missing type specifier - int assumed. Note: C++ does not support default-int C:\Program Files (x86)\Windows Kits\8.0\Include\um\combaseapi.h 242 1 base
Error 8 error C2061: syntax error : identifier 'T' C:\Program Files (x86)\Windows Kits\8.0\Include\um\combaseapi.h 242 1 base
Error 9 error C2143: syntax error : missing ';' before 'identifier' C:\Program Files (x86)\Windows Kits\8.0\Include\um\combaseapi.h 373 1 base
Error 10 error C1004: unexpected end-of-file found C:\Program Files (x86)\Windows Kits\8.0\Include\um\combaseapi.h 373 1 base
11 IntelliSense: identifier "IRpcStubBufferVtbl" is undefined c:\program files (x86)\windows kits\8.0\include\um\rpcproxy.h 192 5
12 IntelliSense: identifier "IPSFactoryBufferVtbl" is undefined c:\program files (x86)\windows kits\8.0\include\um\rpcproxy.h 209 11

WaWa

unread,
Aug 8, 2013, 10:58:30 PM8/8/13
to chromi...@chromium.org
Did you build Chromium with VC2010?

在 2013年8月9日星期五UTC+8上午9时08分57秒,cl6...@gmail.com写道:

cl6...@gmail.com

unread,
Aug 8, 2013, 11:42:50 PM8/8/13
to chromi...@chromium.org
Yes, I got it, this is an env setup issue.

1. I forgot install the windows8 SDK and patch it
2. I use the depot_tool to run gclient runhooks met warning,"no input file", but I ignored it.

resolved steps:

1. install the windows 8 SDK and patch it
2. copy the depot_tool and run gclient runhooks to make sure the git/subversion/python have been installed correctly
3. use svn clean up the code folder, delete all the folders and files that are not controlled by svn

build the chrome.sln in the ide, it is passed


在 2013年8月9日星期五UTC+8上午10时58分30秒,WaWa写道:
Reply all
Reply to author
Forward
0 new messages