Original Post
I''m trying to get started with directx and I downloaded the C++ SDK from Microsoft. I placed everything where it was supposed to go in the dev-cpp directory (which I''m using btw). The problem I am having is that whenever I try to compile the direct3d tutorial 1 to create the device I always get a linker error that says [Linker error] undefined reference to `Direct3DCreate9@4''. I have tried renaming the libraries from *.lib to lib*.a made sure over and over that the library folder is being linked and nothing. The weird part is that if I remove the reference to Direct3DCreate9 it compiles even though CreateDevice and other functions are still in. Anyway after looking at the directx8.1 package the main thing it has different is it has d3dx8d.dll in the dev-cpp\dll folder so I’m thinking there is a corresponding one somewhere but I cant find it in system32. Anyway if you could help me I would appreciate it.