简体   繁体   中英

Building chromium on windows 8.1 using Visual Studio 2013 pro update 3 (or 4).

I have been struggling for 2 weeks now to build chromium following Build Instructions (windows) . My specs are:

  • Windows 8.1
  • Visual Studio 2013 update 3
  • Intel i7 cpu and 16GB RAM

Every time the build failed. I tried many ways, after installing depot_tools after default way failed.

  • set DEPOT_TOOLS_WIN_TOOLCHAIN=0
  • set GYP_MSVS_VERSION=2013
  • set GYP_GENERATORS=msvs-ninja,ninja
  • gclient runhooks
  • ninja -C out\\Debug chrome

One of the error is like: src\\gin\\function_template.h(152) : error C2059: syntax error : ''

So, I have following questions: 1) Has anyone successfully build chromium on windows 8.1 using visual studio 13 pro update 3? 1.1) If yes, can you give the detailed instructions on installation sequence to follow if it matters, like (1. visual studio, 2. directx sdk, 3. windows sdk etc. 4. depot_tools 5. fetch chromium 6. gclient sync .... etc)?

1.2) If yes, how can you eliminate those errors like c2059?

It says on the website that only Visual Studio Update 4 is supported.

http://www.chromium.org/developers/how-tos/build-instructions-windows

Worked for me.

According to http://www.chromium.org/developers/how-tos/build-instructions-windows Chromium is only built on VS 2013 update 4. So it definitely will not work on VS 2013 Update 3.

Does it work with VS Update 5? => Answer myself: Yes, it works on VS Update 5.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM