-
Notifications
You must be signed in to change notification settings - Fork 6.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[directxsdk] Update DirectX SDK port #16010
Conversation
…to directxsdkport # Conflicts: # ports/directxsdk/vcpkg.json
LGTM now, thanks for your contribution @walbourn. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Great work!
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Co-authored-by: Adam Johnson <AdamJohnso@gmail.com>
Just need to run
|
Ping @ras0219-msft for merge this PR. |
should make the following modifications, otherwise there will be link errors
patch:
|
ports/directxsdk/portfile.cmake
|
Hmm, it's not clear what to do here. While having the libraries directly in @walbourn You mentioned above that you've removed some things that conflict with the Win10 SDK; are you aware of any remaining conflicts? |
@ras0219 I did not change the locations of any of the install locations in this port in this update. I only changed the content. I did not add any new libs, I only removed known conflicts and put a few others into feature choices. IOTW, whatever issue qt5 is having is not new to my PR here. The problem is that qt5 shouldn't be including legacy DirectX SDK libs as that's not supported by the DirectX SDK EULA in the first place. Exactly which filenames are the problem here @polelf ? |
@NancyLi1013 , @ras0219 , @ras0219-msft, I've tried:
I've never gotten any link errors. I looked at the libraries installed by the qt5 port and none of them conflict with the filenames of the libraries published by the directxsdk port with any of the features. Unless @polelf has some additional details on the repro or link errors, I don't see any problem here to fix. There's no reason to move the lib location from the previous version of this port. This PR is still blocked 'requested changes' by @ras0219-msft but there's nothing to change at this point. |
@walbourn you need clean vcpkg cache qt5 does not use legacy directx sdk lib. First install directxsdk qt5 will link to dxguid under vcpkg/installed/lib, so there will be uuid missing without modifying the directxsdk port lib install path, it cannot be installed at the same time with all ports that do not use legacy directxsdk |
I need to do some investigation about the interaction here; no current action required by @walbourn |
Ok, I think the right path forward is to disable directxsdk in our CI. It is a deprecated port that only exists for legacy reasons, using it is against the EULA so you can't actually ship anything based on it. It's therefore not worth spending hours on flaky conflicts between itself and the world. It will still be available for existing customers and should generally work (thanks again @walbourn) after printing a nastygram. |
The legacy DirectX SDK is no longer hosted on Microsoft Downloads due to the retirement of SHA-1 signed content.
This port does a number of things: