Jump to content
  • Advertisement
Sign in to follow this  
gamer_umut

Mesh Problem

This topic is 4345 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

Hi Guys.I have a mesh problem.When ı setup directx: device device=null and then write Mesh mesh when ı test the program,it says:Error 1 The type or namespace name 'Mesh' could not be found (are you missing a using directive or an assembly reference?) C:\Program Files\hopesoft\WindowsApplication15\WindowsApplication15\Form1.cs 26 14 WindowsApplication15 ı copy paste every directx tutorial ı found in web about mesh and ı got the same error. can someone help me?thanks.

Share this post


Link to post
Share on other sites
Advertisement
Is Mesh a class you defined? If not, you probably mean to use the ID3DXMesh interface.

Share this post


Link to post
Share on other sites
If you're using managed DirectX, you need to:

1) add "using Microsoft.DirectX;" to the top of your file.
2) add an assembly reference to "microsoft.directx.dll" to your project (IAICR)

If you're using MDX 1.1 instead of 2.0, you need to additionally use Microsoft.DirectX.Direct3D, and add a few more assemblies to the project as well.

Share this post


Link to post
Share on other sites
Sign in to follow this  

  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

Participate in the game development conversation and more when you create an account on GameDev.net!

Sign me up!