[SDL] SDL-1.2.10 Win32 Build error: mmintrin.h

Ken Rogoway Ken at HomebrewSoftware.com
Fri Jun 2 14:21:13 PDT 2006


Alex Volkov <avcp-sdlmail <at> usa.net> writes:

> 
> Ken Rogoway wrote: 
> 
> > I tested it and it works for both VC6 and VC7.
> 
> Thanks!
> 
> > I have another issue when compiling dibaudio.c:
> > c:\code\sdl-1.2.10\src\audio\windib\sdl_dibaudio.c(101) : error C2146:
> > C2081: 'DWORD_PTR' : name in formal parameter list illegal
> 
> DWORD_PTR is used there for Win64 portability. Headers that ship with VC6 do
> not define DWORD_PTR (probably because VC6 cannot do 64-bit builds). I am
> not sure if the DirectX SDK does, but the Platform SDK definitely defines
> it. I have Platform SDK installed, so I never noticed these myself.
> That said, we can either define DWORD_PTR ourselves for win32, or rely on
> Platform SDK and make this SDK a requirement, instead of DirectX SDK.
> 
> -Alex.

I am open to either.  When you say the "platform SDK" what are you talking 
about?  I have DX9 SDK installed.  I am willing to install the Platform SDK, 
but am not familiar with it by that name.

- K





More information about the SDL mailing list