Original Post
Hi!
i don''t know why i get a linker error while using CD3Dfont??
this is the error:
SimpleFont.obj : error LNK2001: unresolved external symbol "public: __thiscall CD3DFont::CD3DFont(char const *,unsigned long,unsigned long)" (??0CD3DFont@@QAE@PBDKK@Z)
any one knows what libs to link, or what headers to include? i include the following:
#include <d3dfont.h>
#pragma comment(lib,"d3d9.lib")
#pragma comment(lib,"dxerr9.lib")
#pragma comment(lib,"dxguid.lib")
#pragma comment(lib,"dinput8.lib")
#pragma comment(lib,"d3dxof.lib")
#pragma comment(lib,"d3dx9dt.lib")
#ifdef _DEBUG
#pragma comment(lib,"d3dx9d.lib")
#else
#pragma comment(lib,"d3dx9.lib")
#endif