visual studio 2010 - Cannot open include file "d3dx9.h" -
edit: of course, after working on hour posting here, found stupid mistake...
i'm getting compiler errors when trying #include <d3dx9.h> in project. i'm receiving "fatal error c1083: cannot open include file: 'd3dx9.h': no such file or directory".
- i have directx sdk installed (i tried reinstalling no avail).
- in project properties:
- vc++ directories set "
$(dxsdk_dir)include;$(includepath)" , "$(dxsdk_dir)lib\x86;$(librarypath)" include , library directories respectively configurations—and environment variable%dxsdk_dir%pointsc:\program files (x86)\microsoft directx sdk (june 2010)\expected. - c/c++ > general settings has
$(dxsdk_dir)includelisted in additional include directories - linker > input > additional dependencies has
d3dx9d.libincluded debug ,d3dx9.libincluded release configuration.
- vc++ directories set "
- i am able compile , run tutorial projects directx sample browser.
- visual studio's intellisense/autocomplete find
d3dx9.h, suggest type , function names within file (and not included through else i'm#includeing) seems intellisense can find it.
any suggestions on i'm forgetting or else try?
thanks
you forgot 1 thing:
- go vc++ directories -> library directories
- add
$(dxsdk_dir)lib\x86 - apply.
done. hope helps
Comments
Post a Comment