[Mingw-users] sal.h, DXSDK, and MinGW
- Date: Mon, 6 Feb 2017 04:30:22 -0600
- From: "DAVENPORT, MARC" <mdavenport@xxxxxxx>
- Subject: [Mingw-users] sal.h, DXSDK, and MinGW
I'm currently trying to compile Allegro 5 with MinGW gcc 184.108.40.206 and the June 2010 DXSDK. I'm having several problems. The first is when compiling dsound.cpp, an allegro source file. It fails to compile because dsound.h includes sal.h, which doesn't exist in MinGW. The second is when trying to compile the XInput driver for allegro. It fails because xinput.h expects __in and __out function attributes to be defined.
My third issue is that MinGW seems to have some kind of minimal set of DirectX headers and libraries included (it looks like DX9 is there). Should I be using these instead? I don't see libd3dx9.a but that may be a Vista only extension. I think that is optional for one of the allegro examples.
My question is, what can or what should I do about all this? I just tried building allegro configured to use MinGW's DX and it fails to compile because dinput.h is missing. Direct Input is mandatory to build Allegro 5 on Windows. libdinput.a is included but the header is not for some reason.
I hope someone can offer me some insight on this. I really have no desire to move to MSYS2 and MinGW64 unless I have no other choice, but they work to build Allegro 5 without issues and I'm running out of options.
Thank you for whatever help you can offer, I appreciate it.
------------------------------------------------------------------------------ Check out the vibrant tech community on one of the world's most engaging tech sites, SlashDot.org! http://sdm.link/slashdot
_______________________________________________ MinGW-users mailing list MinGW-users@xxxxxxxxxxxxxxxxxxxxx This list observes the Etiquette found at http://www.mingw.org/Mailing_Lists. We ask that you be polite and do the same. Disregard for the list etiquette may cause your account to be moderated. _______________________________________________ You may change your MinGW Account Options or unsubscribe at: https://lists.sourceforge.net/lists/listinfo/mingw-users Also: mailto:mingw-users-request@xxxxxxxxxxxxxxxxxxxxx?subject=unsubscribe
- Prev by Date: Re: [Mingw-users] msvcrt printf bug
- Next by Date: Re: [Mingw-users] msvcrt printf bug
- Previous by thread: [Mingw-users] MinGW Fortran+Linker produces EXE instead of DLL
- Next by thread: Re: [Mingw-users] [Allegro] Unable to achieve a successful build on Windows