directx sample compile problem  
Author Message
mech3





PostPosted: Game Technologies: DirectX 101, directx sample compile problem Top

hello
in directx 9.0 sdk sample browser there is c# sample stencil mirror which has flying helicopter.
I have june 2006, april 2006 releases also
when I try to compile sample I have this errors, any way I compile this thanks

C:\DXSDK\SAMPLES\C#\Common\D3DApp.cs(219): The type or namespace name 'SamplerStates' could not be found (are you missing a using directive or an assembly reference )

C:\DXSDK\SAMPLES\C#\Common\D3DApp.cs(220): The type or namespace name 'TextureStates' could not be found (are you missing a using directive or an assembly reference )

C:\DXSDK\SAMPLES\C#\Common\D3DFont.cs(40): The type or namespace name 'TextureState' could not be found (are you missing a using directive or an assembly reference )

C:\DXSDK\SAMPLES\C#\Common\D3DFont.cs(41): The type or namespace name 'TextureState' could not be found (are you missing a using directive or an assembly reference )

C:\DXSDK\SAMPLES\C#\Common\D3DFont.cs(42): The type or namespace name 'Sampler' could not be found (are you missing a using directive or an assembly reference )





Game Technologies: DirectX, XNA, XACT, etc.2  
 
 
Jeremy Taylor





PostPosted: Game Technologies: DirectX 101, directx sample compile problem Top

Did you ever get an answer on this

I have had a similar discovery downloading a demo from C# Corner

(http://www.c-sharpcorner.com/UploadFile/tomwells/Generate3DPlotUsingDirectX11292005070303AM/Generate3DPlotUsingDirectX.aspx ArticleID=200acb43-bd4d-4156-a8d8-ff5dd8502488)

The odd thing being that the DirectX references and using directives are there....


 
 
Glenn Wilson





PostPosted: Game Technologies: DirectX 101, directx sample compile problem Top

You might want to try dropping the references and re adding them, this makes sure you are using the current ones.