Windows SDK 7.1 or 7.0 with VS 2008?

来源:互联网 发布:苍云燕麟捏脸数据 编辑:程序博客网 时间:2024/06/05 16:45
Hello,

Hi, there are some confusing instructions for building Chromium on Windows here:
http://www.chromium.org/developers/how-tos/build-instructions-windows

It looks like the instructions were updated to 7.1 but there were some places where it shouldn't have changed, or it should have changed everywhere. The doc goes back and forth between 7.0 and 7.1.
  1. Visual Studio 2008
    1. Install VS2008 SP1 (unless you already have SP1, e.g. because you downloaded VS2008 Express w/SP1 via the link above).
    2. Install KB967631, KB960075, and KB957912.
    3. Install the Windows 7.1 SDK
      1. Read the instructions on the SDK download page! Read it again!
      2. You might need to reboot. You can save space by not installing the documentation and code samples.
      3. Integrate the SDK with Visual Studio
        1. Start > All Programs > Microsoft Windows SDK > Visual Studio Registration > Windows SDK Configuration Tool.
          If this program crashes, try running it from the command line with: windowssdkver -version:v7 -legacy
        2. If build still fails, try registering the SDK manually.
        3. If you had a previous version of the SDK installed before installing v7.0, verify that your VC++ directories are set to use v7.0 and not an earlier SDK.  See registering the SDK manually for details
    ...

    VS2008

    1. Open Visual Studio, Tools > Options... > Projects and Solutions > VC++ Directories
    2. Assuming your base SDK directory is C:\Program Files\Microsoft SDKs\Windows\v7.1, remove any existing entries v6.0 and v6.1 and add the following:
    • In Executable Files, insert on top C:\Program Files\Microsoft SDKs\Windows\v7.1\bin
    • In Include Files, insert on top C:\Program Files\Microsoft SDKs\Windows\v7.1\Include and C:\Program Files\Microsoft SDKs\Windows\v7.0\Include\gl
    • In Library Files, insert on top C:\Program Files\Microsoft SDKs\Windows\v7.1\lib
    • In Exclude directories, insert on top C:\Program Files\Microsoft SDKs\Windows\v7.1\Includeand C:\Program Files\Microsoft SDKs\Windows\v7.0\Include\gl
    0 0
    原创粉丝点击