D3DXCreateFont linker error
I have recently started using DirectX. I am using Dev-C++ on Windows XP and I have the headers and libraries needed for DirectX programming. I made a project in Dev, included and linked the needed libraries and headers, made a window and added D3DXCreateFont function in my window procedure under WM_CREATE:. The only error that comes up, is this:
I have linked the correct libary(which is d3dx9.lib), and checked it out on MSDN. What could be causing this linker error? Thanks.
[Linker error] undefined reference to `D3DXCreateFontA@48'