Why cant my compiler find D3DXMatrixTransformation2D()?
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?
Have you instructed your compiler to link in d3dx9.lib, and of the DX9 include & lib directories?
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]
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]
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.
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.
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.
[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.
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.
There should be a fixed version of the libraries for VC6 on the Microsoft site.
This topic is closed to new replies.
Advertisement
Popular Topics
Advertisement