2012年2月2日 星期四

[WebKit] fatal error C1083: Cannot open include file: 'd3dx9.h': No such file or directory

Error Message:
fatal error C1083: Cannot open include file: 'd3dx9.h': No such file or directory

Solution:
Right click on project -> Properties -> Configuration Properties -> C/C++ -> General -> Add Include Directories
Add the path below:
C:\Program Files\Microsoft DirectX SDK (February 2010)\Include
C:\Program Files\Microsoft DirectX SDK (February 2010)\Lib\x86

I know there are already have $(DXSDK_DIR) Included in C/C++ directories, but you still should include the path by yourself.

Reference:
http://social.msdn.microsoft.com/forums/en-US/vcgeneral/thread/3d02f302-45d8-4f3b-9c59-8de72ac7e4b8

沒有留言:

張貼留言