Jump to content
  • Advertisement
Sign in to follow this  
Drexl

Why cant my compiler find D3DXMatrixTransformation2D()?

This topic is 4907 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 know there probably are som simple answer to my following question, but I cant figure it out: I want to use the function D3DXMatrixTransformation2D() in my 2D-game, but my compiler cant find it. According to microsoft.com you must include the headerfile d3dx9math.h. I have done so, but it still cant find the function?! What am I doing wrong? Any suggestions?

Share this post


Link to post
Share on other sites
Advertisement
error C2065: 'D3DXMatrixTransformation2D' : undeclared identifier

And yes, I have linked to d3dx9.lib.

Ok, I think I know what the problem is. I didnt have the latest version of the SDK which was released as soon as a month ago. But now my code for DirectInput doesnt work instead... Well, I´ll return if I cant solve this new problem.



[Edited by - Drexl on July 9, 2005 2:30:40 PM]

Share this post


Link to post
Share on other sites
I have unistalled my old SDK and installed the latest version. Now nothing works!

I get these errors:

dxerr9.lib(dxerr9.obj) : error LNK2001: unresolved external symbol ___security_cookie
dxerr9.lib(dxerr9.obj) : error LNK2001: unresolved external symbol @__security_check_cookie@4
Debug/Init01.exe : fatal error LNK1120: 2 unresolved externals
Error executing link.exe.

What is this and how do I set it right?

I´d be very grateful for an answer.

Share this post


Link to post
Share on other sites
You have Visual C++ 6.0 don't you? I remember posting about a fix for this, let me check. Also, I remember that installing the latest service pack for VC++ 6 fixed something or other related to this.

[edit] Though this is not the fix I was refering to, you might want to check this out.

[edit] Still not what I was refering to, but: link.

[edit] Ah! Found it. I don't know if it is still applicable: link (second post).


jfl.

Share this post


Link to post
Share on other sites
You're probably using Visual C++ 6.0, which has issues with the later DX libraries.

There should be a fixed version of the libraries for VC6 on the Microsoft site.

Share this post


Link to post
Share on other sites
Thank you very much for your help! I´ve now uninstalled Visual C++ 6.0 and installed Visual Studio .NET 2003 Professional. I hope this will solve my problem.

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.

GameDev.net 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!