DXSDK on Visual Studio 2019 broken

me's Avatar

me

01 Mar, 2021 03:59 PM

Same build script works one month ago but not today, got some Cannot open include file: 'd3dx9shader.h': No such file or directory errors, is DXSDK not longer installed on the vs2019 image?

  1. 1 Posted by me on 01 Mar, 2021 04:09 PM

    me's Avatar
      # download DXSDK
      - bash -c "curl --retry 5 --connect-timeout 30 --location --remote-header-name --remote-name https://download.microsoft.com/download/A/E/7/AE743F1F-632B-4809-87A9-AA1BB3458E31/DXSDK_Jun10.exe ; exit 0"
      # https://docs.microsoft.com/en-us/troubleshoot/windows/win32/s1023-error-when-you-install-directx-sdk
      - MsiExec.exe /passive /X{F0C3E5D1-1ADE-321E-8167-68EF0DE699A5}
      - MsiExec.exe /passive /X{1D8E6291-B0D5-35EC-8441-6616F567A0F7}
      - DXSDK_Jun10.exe /F /U
      - set DXSDK_DIR=C:\Program Files (x86)\Microsoft DirectX SDK (June 2010)\
    

    it works with installing DXSDK manually

  2. Support Staff 2 Posted by Feodor Fitsner on 01 Mar, 2021 05:15 PM

    Feodor Fitsner's Avatar

    Nice! For some reason DirectX was removed from Microsoft downloads by the time we were building the last image, but now it's back (look, date published is Feb 23, 2021): https://www.microsoft.com/en-us/download/details.aspx?id=6812

    Subscribe to this issue to know when it's back to the image: https://github.com/appveyor/ci/issues/3628

Reply to this discussion

Internal reply

Formatting help / Preview (switch to plain text) No formatting (switch to Markdown)

Attaching KB article:

»

Attached Files

You can attach files up to 10MB

If you don't have an account yet, we need to confirm you're human and not a machine trying to post spam.

Keyboard shortcuts

Generic

? Show this help
ESC Blurs the current field

Comment Form

r Focus the comment reply box
^ + ↩ Submit the comment

You can use Command ⌘ instead of Control ^ on Mac