Chromium build on VS2010 - help needed

290 views
Skip to first unread message

Guy Soffer

unread,
Nov 19, 2012, 4:57:24 AM11/19/12
to chromi...@chromium.org
Hi,
 
I am trying to compile on windows 7, MSVC 2010, with SDK 7.1A and 8 installed.
I have all the other pre-requisites installed, and am getting errors on compiling base_paths_win.cc:
 
C:\Program Files (x86)\Windows Kits\8.0\Include\shared\wtypesbase.h(260): error C2011: '_COAUTHIDENTITY' : 'struct' type redefinition
          C:\Program Files (x86)\Microsoft SDKs\Windows\v7.0A\include\wtypes.h(501) : see declaration of '_COAUTHIDENTITY'
C:\Program Files (x86)\Windows Kits\8.0\Include\shared\wtypesbase.h(271): error C2011: '_COAUTHINFO' : 'struct' type redefinition
          C:\Program Files (x86)\Microsoft SDKs\Windows\v7.0A\include\wtypes.h(512) : see declaration of '_COAUTHINFO'
C:\Program Files (x86)\Windows Kits\8.0\Include\shared\wtypesbase.h(315): error C2011: 'tagMEMCTX' : 'enum' type redefinition
          C:\Program Files (x86)\Microsoft SDKs\Windows\v7.0A\include\wtypes.h(558) : see declaration of 'tagMEMCTX'
C:\Program Files (x86)\Windows Kits\8.0\Include\shared\wtypesbase.h(348): error C2011: 'tagCLSCTX' : 'enum' type redefinition
          C:\Program Files (x86)\Microsoft SDKs\Windows\v7.0A\include\wtypes.h(595) : see declaration of 'tagCLSCTX'
C:\Program Files (x86)\Windows Kits\8.0\Include\shared\wtypesbase.h(393): warning C4005: 'CLSCTX_VALID_MASK' : macro redefinition
<snip>
 
Seems like win8 SDK and win7A SDK do not like each other.. anoyone ran into this before ?
I would appreciate any help you can give, as I cannot get the baseline to compile at all.
 
Yours,
      Guy.

Guy Soffer

unread,
Nov 19, 2012, 4:58:45 AM11/19/12
to chromi...@chromium.org

--
Chromium Developers mailing list: chromi...@chromium.org
View archives, change email options, or unsubscribe:
http://groups.google.com/a/chromium.org/group/chromium-dev

anand

unread,
Nov 19, 2012, 5:16:10 AM11/19/12
to chromi...@chromium.org
there are lot of other errors also ..I am also struggling to compile chrome on windows 7...

Joao da Silva

unread,
Nov 19, 2012, 7:31:44 AM11/19/12
to guy...@gmail.com, chromi...@chromium.org
Have you followed the instructions at http://dev.chromium.org/developers/how-tos/build-instructions-windows?

The Windows 8 SDK is required to build chromium:


Try setting the windows_sdk_path in GYP_DEFINES to the path where the windows 8 SDK is installed.

--

Guy Soffer

unread,
Nov 22, 2012, 4:59:43 AM11/22/12
to chromi...@chromium.org
Of course I have.. I mentioned that in the original post.

yours,
Guy.

Hernan Martinez

unread,
Nov 23, 2013, 10:23:02 AM11/23/13
to chromi...@chromium.org
@Guy, I'm today having the very same problem, I've already set the GYP variable and I'm still getting the same errors. 
What did you do to get it working?

Thanks!
Reply all
Reply to author
Forward
0 new messages