Jump to content
  • Advertisement
Sign in to follow this  
Lipponen

DirectX9 - D3DXCreateFont

This topic is 4134 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
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

We are the game development community.

Whether you are an indie, hobbyist, AAA developer, or just trying to learn, GameDev.net is the place for you to learn, share, and connect with the games industry. Learn more About Us or sign up!

Sign me up!