Hi, whenever I compile any sample code for DirectX, I get this error: [Linker error] undefined reference to `D3DXCreateFontA@48'. I'm using Dev-C++ 4.9.9.2, I'm linking it with:
libd3d9.a
libd3dx9d.a
libdinput.a
libdinput8.a
libdxguid.a

I don't know why this is happening. Please help.:twisted:

Have you compiled the samples that come with the DirectX DDK?

No, I don't even have that. I have dial-up, so if it's big, then I don't want to get it right now.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.