• Advertisement
Sign in to follow this  

DirectX9 - D3DXCreateFont

This topic is 3863 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

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

Share this post


Link to post
Share on other sites
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.

Share this post


Link to post
Share on other sites
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 :-)

Share this post


Link to post
Share on other sites
Sign in to follow this  

  • Advertisement