Skip to content

Commit 815e2c9

Browse files
author
Stephen Gutekanst
committed
move project to hexops-graveyard
Signed-off-by: Stephen Gutekanst <[email protected]>
1 parent e85bc63 commit 815e2c9

File tree

1 file changed

+3
-44
lines changed

1 file changed

+3
-44
lines changed

README.md

Lines changed: 3 additions & 44 deletions
Original file line numberDiff line numberDiff line change
@@ -1,46 +1,5 @@
1-
# direct3d-headers - updated DirectX headers for Zig
1+
## Deprecated
22

3-
This repository provides some updated `include/` and `x86_64/` libraries for Zig/MinGW that enable the use of the latest Direct3D functionality.
3+
This project has been deprecated and is no longer maintained.
44

5-
## Headers
6-
7-
We have a small fork of the win32metadata repository which contains the IDL files for Windows SDK:
8-
9-
https://github.com/slimsag/win32metadata
10-
11-
This fork has changes which enable at least the DirectX headers to be compiled with the Wine WIDL compiler. See that repository's commit history for details on what that involves.
12-
13-
Also see this detailed write-up: https://github.com/ziglang/zig/issues/9998#issuecomment-997088467
14-
15-
The files are then copied into this repository:
16-
17-
```sh
18-
rm -rf include/*
19-
cp -R win32metadata/generation/WinSDK/RecompiledIdlHeaders/**/d3d*.h include/
20-
cp -R win32metadata/generation/WinSDK/RecompiledIdlHeaders/**/dx*.h include/
21-
rm include/dxgi*
22-
cp win32metadata/generation/WinSDK/RecompiledIdlHeaders/shared/rpcndr.h include/
23-
```
24-
25-
`rpcndr.h` has a single `#include "rpcndr_hack.h"` line applied which adds a few missing defines.
26-
27-
## Libraries
28-
29-
`x86_64/` contains runtime libraries from the MinGW-w64 project, namely this release:
30-
31-
* https://github.com/niXman/mingw-builds-binaries/releases/tag/13.1.0-rt_v11-rev1
32-
* `x86_64-13.1.0-release-posix-seh-ucrt-rt_v11-rev1.7z`
33-
34-
```
35-
cp ~/Downloads/mingw64/x86_64-w64-mingw32/lib/libdxgi.a ./x86_64
36-
cp ~/Downloads/mingw64/x86_64-w64-mingw32/lib/libdxguid.a ./x86_64
37-
```
38-
39-
## LICENSE
40-
41-
* `include/` contains files generated from the [microsoft/win32metadata](https://github.com/microsoft/win32metadata/tree/master/generation/WinSDK/RecompiledIdlHeaders) repository, which are [not open source](https://github.com/microsoft/win32metadata/issues/766). The files are fed through Wine's WIDL header generator, which produces new files (arguably we are allowed to MIT license the result, but you may want to presume they are proprietary.)
42-
* `x86_64/` is licensed under the MinGW-w64-runtime licenses, a copy of which is provided in `COPYING.MinGW-w64-runtime.txt`
43-
44-
## Issues
45-
46-
Issues are tracked in the [main Mach repository](https://github.com/hexops/mach/issues?q=is%3Aissue+is%3Aopen+label%3Adirect3d-headers).
5+
Consider using https://github.com/hexops/directx-headers instead.

0 commit comments

Comments
 (0)