DirectX9 - D3DXCreateFont

Started by
1 comment, last by Lipponen 16 years, 9 months ago
The thing is that when I try to create a font with D3DXCreateFont() I get an error saying as follows: D: ... entity\cSpaceShip.cpp:54: undefined reference to `D3DXCreateFontA@48' What might be the problem ? I have included d3dx9.lib as it says in DirectX SDK.chm. I cant find anything with the same error on the web. Code: www.catamarana.com/cpp/?id=28
Advertisement
The link to your code is dead, but I'm assuming that you're trying to use DirectX with Dev-C++. If so, the solution to your problem involves converting the .lib files to .a files. You can read more about how to do this here.

Alternatively, you can simply download Visual C++ Express, which would save you a lot of trouble.

Thank you for a swift reply.

I am using Code::Blocks, since VS C++ just gave me even more headache. Seems that I have to convert back yet again :-)

This topic is closed to new replies.

Advertisement