Jump to content
  • Advertisement
Sign in to follow this  
vbuser1338

Which library in dev c++?

This topic is 5005 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

I did a google search but I could not find the answer. I tried different libraries but which one do I need to include to do Matrix transformations and vectors? I get an error trying
D3DXMatrixLookAtLH(&matView, &D3DXVECTOR3(0.0f, 0.0f,-30.0f), //Camera Position
                                 &D3DXVECTOR3(0.0f, 0.0f, 0.0f), //Look At Position
                                 &D3DXVECTOR3(0.0f, 1.0f, 0.0f)); //Up Direction

because I do not have the correct libraries included. Could someone help me out? Thanks vbuser

Share this post


Link to post
Share on other sites
Advertisement
I took a look at the MSDN site and they say that the function needs d3dx9.lib. So the first thing you need to do is see if -ld3dx9 works with the linking. If not, I noticed that it looks like a DX9 function from the content archive, so you may need to update your DX files for Dev-CPP. I've never used DX with Dev, so I can't offer much more there.

- Drew

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.

We are the game development community.

Whether you are an indie, hobbyist, AAA developer, or just trying to learn, GameDev.net is the place for you to learn, share, and connect with the games industry. Learn more About Us or sign up!

Sign me up!