From: Shadow2531 <sha...@tb...> - 2004-07-26 04:34:44
|
>> Shadow2531 wrote: >> This is my first time ever messing with DX so I don't know if I setup >> the >> SDK 100%, but I do see a lot of "mingw doesn't work with DX" posts in >> the >> archives, so here ya go. >> >> http://home.tbbs.net/shadow/misc/mingw-DX9SDK.zip >> > > If I have time I'm going to create a new devpak from that. If you want to > do it there's a community project doing just this: devpaks.org . We'll > host it. > > Other than that I found 3 problems with previous dxsdk devpak - if you > just added not changed, they're still going to be there: > > 1. > 230 C:\Dev-Cpp\include\dsound.h > [Warning] redefinition of `LPCWAVEFORMATEX' > typedef const WAVEFORMATEX *LPCWAVEFORMATEX; > 1018 C:\Dev-Cpp\include\mmsystem.h > [Warning] `LPCWAVEFORMATEX' previously declared here > typedef const WAVEFORMATEX *LPCWAVEFORMATEX; > > 2. > 1899 C:\Dev-Cpp\include\dsound.h > redefinition of `LPDIRECTSOUNDFULLDUPLEX' > typedef struct IDirectSoundFullDuplex *LPDIRECTSOUNDFULLDUPLEX; > 175 C:\Dev-Cpp\include\dsound.h > `LPDIRECTSOUNDFULLDUPLEX' previously declared here > typedef struct IDirectSoundFullDuplex *LPDIRECTSOUNDFULLDUPLEX; > > (to avoid this one you can define LPDIRECTSOUNDFULLDUPLEX_DEFINED or sth > similar - I don't remember of the top of my head right now) > > 3. > 211 C:\Dev-Cpp\include\ddraw.h > [Warning] redefinition of `HRESULT' > typedef long HRESULT; > 252 C:\Dev-Cpp\include\windef.h > [Warning] `HRESULT' previously declared here > typedef LONG HRESULT; > > Do you know how to fix them? > > Thanks, > Marek I have no clue how to do any more than I've already done, so feel free to take over and do what supposed to be done. Note:, I did not use any part of the dx pack from http://www.bloodshed.net/dev/packages/index.html. I just Downloaded the MSDX9SDK, used reimp on all the libs, which did it's stuff and renamed the libs with a .a extension. I then renamed all the libs that didn't need to be converted by reimp to have an extension of .a. Then I renamed all the obj files the reimp created from the libs, to have a .o extension. I used the ms header files and didn't modify them at all except for dxfile.h, which had an illegal character and the end that I removed. Then I just zipped everything up. So I cannot be of too much help. Shadow2531 |