Advertisement Jump to content
Sign in to follow this  

Dev-C++ Matrix Functions Missing?

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

Im currently using Dev-C++ and am starting to learn DX, i've got a basic window with triangle working but now im trying to get rotating cube to work. Whenever I try to use any Matrix types or functions i'm getting an undeclared function error. I've included d3d9.h in the .cpp file and have linked libd3d9.a to the project. Can anyone tell me why the matrix functions seem to be missing?

Share this post

Link to post
Share on other sites
Hi there MartyJ,
How are you doing?

The Problem
Matrix functions are missing

The Solution
If you are refering to matrix functions like D3DXMatrixTranslation and the D3DXMATRIX structures you will need to include the following headers
#include <d3dx9.h>
#include <d3dx9math.h>

Hope this helps, keep cool.

Share this post

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

  • Advertisement

Important Information

By using, you agree to our community Guidelines, Terms of Use, and Privacy Policy. is your game development community. Create an account for your GameDev Portfolio and participate in the largest developer community in the games industry.

Sign me up!