We are currently migrating Bugzilla to GitHub issues.
Any changes made to the bug tracker now will be lost, so please do not post new bugs or make changes to them.
When we're done, all bug URLs will redirect to their equivalent location on the new bug tracker.

Bug 2092 - Compile error on Window 8 (DirectX SDK)
Summary: Compile error on Window 8 (DirectX SDK)
Status: RESOLVED INVALID
Alias: None
Product: SDL
Classification: Unclassified
Component: audio (show other bugs)
Version: 2.0.0
Hardware: x86 Windows 8
: P2 normal
Assignee: Ryan C. Gordon
QA Contact: Sam Lantinga
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-09-07 08:28 UTC by dakarahun
Modified: 2013-09-28 06:41 UTC (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description dakarahun 2013-09-07 08:28:31 UTC
I was trying to compile SDL2 with Visual Studio 2012 on Windows 8 and I got the following compile error:

Cannot open include file: 'dxsdkver.h': No such file or directory (SDL_xaudio2.c:35)

As far as I know I do have the DirectX SDK along with the Windows one.
Comment 1 CD-i Fan 2013-09-23 18:33:09 UTC
You may need to set the DirectX SDK "Include directory" in the include search path. You can either hard-code this or use an environment variable, e.g. DXSDK_DIR like so: %(DXSDK_DIR)\Include.
Comment 2 Sam Lantinga 2013-09-28 06:41:19 UTC
CD-i Fan has the correct solution, assuming you have the DirectX SDK installed.

Cheers!