Quote:
Originally Posted by sarint01
help me error complie
Code:
e:\GamesSv\FlySv\New\Vs2003\Official Source\Neuz\StdAfx.h(55): fatal error C1083: Cannot open include file: 'D3D9.h': No such file or directory
e:\GamesSv\FlySv\New\Vs2003\Official Source\_DirectX\d3dfont.h(11): fatal error C1083: Cannot open include file: 'D3D9.h': No such file or directory
e:\GamesSv\FlySv\New\Vs2003\Official Source\_Common\vutil.h(10): fatal error C1083: Cannot open include file: 'D3D9.h': No such file or directory
e:\GamesSv\FlySv\New\Vs2003\Official Source\CORESERVER\StdAfx.h(24): fatal error C1083: Cannot open include file: 'd3dx9math.h': No such file or directory
e:\GamesSv\FlySv\New\Vs2003\Official Source\_DirectX\d3dfont.h(11): fatal error C1083: Cannot open include file: 'D3D9.h': No such file or directory
e:\GamesSv\FlySv\New\Vs2003\Official Source\CACHESERVER\StdAfx.h(24): fatal error C1083: Cannot open include file: 'd3dx9math.h': No such file or directory
e:\GamesSv\FlySv\New\Vs2003\Official Source\AccountServer\StdAfx.h(32): fatal error C1083: Cannot open include file: 'd3dx9tex.h': No such file or directory
e:\GamesSv\FlySv\New\Vs2003\Official Source\WORLDSERVER\StdAfx.h(40): fatal error C1083: Cannot open include file: 'd3d9.h': No such file or directory
|
I tried all of these suggestions and none worked.
Turns out the $(DXSDK_DIR) variable doesn't work if you install DirectX while Visual Studio is still running. The solution for me was to restart Visual Studio.In short, first you need to install DXSDK_Jun10, and then Visual Studio 2003!!!DXSDK_Jun10