Sign in to follow this  
Drexl

Why cant my compiler find D3DXMatrixTransformation2D()?

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
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
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

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

Sign in to follow this