https://github.com/hexops-graveyard/sdk-windows-x86_64
Windows x86_64 SDK for Mach engine
https://github.com/hexops-graveyard/sdk-windows-x86_64
mach-sdk
Last synced: 5 months ago
JSON representation
Windows x86_64 SDK for Mach engine
- Host: GitHub
- URL: https://github.com/hexops-graveyard/sdk-windows-x86_64
- Owner: hexops-graveyard
- Created: 2022-03-04T05:57:40.000Z (over 4 years ago)
- Default Branch: main
- Last Pushed: 2022-08-07T03:15:02.000Z (almost 4 years ago)
- Last Synced: 2025-04-09T05:26:13.332Z (about 1 year ago)
- Topics: mach-sdk
- Language: C
- Homepage:
- Size: 745 KB
- Stars: 2
- Watchers: 2
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: COPYING.MinGW-w64-runtime.txt
Awesome Lists containing this project
README
# Windows-x86_64 SDK for Mach Engine
This repository contains native system headers and libraries required to build [Mach Engine](https://github.com/hexops/mach) for Windows (x86_64), from any host OS.
## Updated DirectX headers for MinGW/Zig
We have a small fork of the win32metadata repository which contains the IDL files for Windows SDK:
https://github.com/slimsag/win32metadata
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.
Also see this detailed write-up: https://github.com/ziglang/zig/issues/9998#issuecomment-997088467
The files are then copied into this repository:
```sh
rm -rf include/*
cp -R win32metadata/generation/WinSDK/RecompiledIdlHeaders/**/d3d*.h include/
cp -R win32metadata/generation/WinSDK/RecompiledIdlHeaders/**/dx*.h include/
rm include/dxgi*
cp win32metadata/generation/WinSDK/RecompiledIdlHeaders/shared/rpcndr.h include/
```
`rpcndr.h` has a single `#include "rpcndr_hack.h"` line applied which adds a few missing defines.
## Libraries
`lib/` contains runtime libraries from the MinGW-w64 project, namely:
```sh
cp /mnt/c/Program Files/mingw-w64/x86_64-8.1.0-posix-seh-rt_v6-rev0/mingw64/x86_64-w64-mingw32/lib/libdxgi.a lib/dxgi.lib
cp /mnt/c/Program Files/mingw-w64/x86_64-8.1.0-posix-seh-rt_v6-rev0/mingw64/x86_64-w64-mingw32/lib/libdxguid.a lib/dxguid.lib
```
## LICENSE
This repository only distributes non-copyleft, permissively licensed files.
* `include/` is derived from [win32metadata IDL files](https://github.com/microsoft/win32metadata/tree/master/generation/WinSDK/RecompiledIdlHeaders) which are MIT licensed.
* `lib/` is licensed under the MinGW-w64-runtime licenses, a copy of which is provided in `COPYING.MinGW-w64-runtime.txt`