Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8008707

build-infra: Closed (deploy) can't be built using environment from SDK SetEnv.cmd

    XMLWordPrintable

Details

    • b94
    • windows

    Description

      If both a visual studio and SDK v7.1 can be found, configure currently favors the SDK and runs the SetEnv.cmd from there to figure out how to run the compiler. This works for OpenJDK, but not for deploy, as this setup doesn't provide access to atlbase.h. I didn't write this logic myself so I'm not sure why it's done this way, but it has something to do with supporting visual studio express and the windows sdk as build requirements for openjdk.

      I think you can work around it by setting --with-tools-dir="/cygdrive/c/Program Files (x86)/Microsoft Visual Studio 10.0/VC/Bin". This hasn't been tried yet.

      Attachments

        Activity

          People

            erikj Erik Joelsson
            erikj Erik Joelsson
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: