Comments (7)
Mingw includes the libraries but doesn't include the header files, probably since it's been deprecated by Microsoft. You can grab them here:
https://github.com/wine-mirror/wine/blob/master/include/ddraw.h
https://github.com/wine-mirror/wine/blob/master/include/dsound.h
I'll add a link to the readme, but they won't be included directly.
from devilution.
The above files do not seem to be compatible (at least with the current MinGW32 Version)
which versions are you using?
I copied a few files from an older 64bit strawberry perl installation that seems to contain some older mingw headers. it seems to work (or at least to compile and the game at least starts)
It seems that there are some ambiguities that would be good to resolve in dokumentations
from devilution.
On fresh Windows 10 install with mingw I had the same problem.
I was able to compile successfully by downloading 3 files from this location:
ftp://sccn.ucsd.edu/pub/LSL/lsl-dependencies/external_libs/EmbarcaderoXE/shared/4.4.0-msvc/include/d3dtypes.h
ftp://sccn.ucsd.edu/pub/LSL/lsl-dependencies/external_libs/EmbarcaderoXE/shared/4.4.0-msvc/include/ddraw.h
ftp://sccn.ucsd.edu/pub/LSL/lsl-dependencies/external_libs/EmbarcaderoXE/shared/4.4.0-msvc/include/dsound.h
from devilution.
I think the original version of DX was DX4 if I am not mistaken. Technically , (My memorys is messy from this) DX7 might work be quick jump for something more modern.
Some conversion work is needed for DX9 to work. I think a DLL proxy is what I saw that accomplished this though.
I would rather re write the API to be in OGL...
from devilution.
According to some comment:
The legacy DirectSound8 headers are included in Windows SDK 7.0 or later. You don't need the legacy DirectX SDK for that.
Try getting the Windows SDK?
from devilution.
I am wondering if this could help us. It seems a bit too old but I think it might be worth learning from it.
https://github.com/DXGLdotinfo/dxgl
Its a converter from DX to OGL.
from devilution.
This is the fault of mingw
directly as they no longer provide the header files but contain the libraries. I'll add some links to the readme eventually to the Windows SDK which contains them.
from devilution.
Related Issues (20)
- [hellfire] Hive/Crypt - invisible chests and barrels HOT 1
- Are you able to use Hellfire's source code? HOT 1
- [hellfire] OperateL2Door - Please check bin exactness HOT 10
- Building in VS2019: exe attempts to open crypto/rsa key file? HOT 1
- Cleanup code HOT 1
- out of memory error HOT 5
- 60 FPS support? HOT 1
- Migrate macOS builds to GitHub Actions HOT 10
- [Not A Bug] Question about the License and Legal Section in the Readme HOT 5
- MaxGold always depends on auricGold HOT 4
- Gnat String's "Multiple arrows per shot" only fires one arrow HOT 2
- Win98 Support? HOT 1
- Farmer Quest Bug HOT 1
- [Feature request] add option to show items on map HOT 4
- [Android] Option to change stationary toggle to allow moving
- "Legal" section ambiguity HOT 1
- [MSVC][permissive-] devilution failed to build with /permissive- on MSVC HOT 5
- [Need help] Getting a Massive bow of swiftness at clvl 44+ HOT 3
- Is this gap intentional? HOT 1
- mods don't work In the mobile application HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from devilution.