Skip to main content
gamedev.net
🔒 Locked

Error LNK2019

Started by baklagan 3 replies 1.5k views
Original Post
baklagan
baklagan
Who know why i got this stupid error???... 1>kvadrat.obj : error LNK2019: unresolved external symbol _D3DXMatrixPerspectiveFovLH@20 referenced in function "void __cdecl Matrix(void)" (?Matrix@@YAXXZ) 1>kvadrat.obj : error LNK2019: unresolved external symbol _D3DXMatrixLookAtLH@16 referenced in function "void __cdecl Matrix(void)" (?Matrix@@YAXXZ) 1>kvadrat.obj : error LNK2019: unresolved external symbol _D3DXMatrixRotationY@8 referenced in function "void __cdecl Matrix(void)" (?Matrix@@YAXXZ) 1>kvadrat.obj : error LNK2019: unresolved external symbol __imp__timeGetTime@0 referenced in function "void __cdecl Matrix(void)" (?Matrix@@YAXXZ)
baklagan
baklagan
#include
#include
#include
#include
#pragma comment(lib, "d3d9.lib")
#pragma comment(lib, "d3dx9.lib")
i connect all libs...don't know wtf is it...
Evil Steve
Evil Steve
You need winww.lib for timeGetTime(), d3dx9.lib should work fine for D3DX. I'd check that you've got the SDK installed and the directories are set up correctly in your IDE settings.
baklagan
baklagan
So tald me how could i check my IDE settings please:)))
i'm just start working with VS2008 :)
Evil Steve
Evil Steve
Quote:
Original post by baklagan
So tald me how could i check my IDE settings please:)))
i'm just start working with VS2008 :)
I only have VC2005 available, but I seem to recall it's in a similar place in VC2008. Go to Tools -> Options, Projects and Solutions -> VC++ Directories, and make sure that the include and lub files have the DirectX SDK paths at the top of the list.

Topic Locked

This topic has been locked by a moderator. New replies are not allowed.

Sign in to reply to this topic.