DirectX9 - D3DXCreateFont
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
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.
Alternatively, you can simply download Visual C++ Express, which would save you a lot of trouble.
This topic is closed to new replies.
Advertisement
Popular Topics
Advertisement