I am having a few problems installing Direct X, I have installed teh SDK, and then (I am using Code::Blocks) in code::blocks I have added the include and lib folders to my directory and then added d3d9.lib to the linkers.
That is the error I get when trying to build it.Switching to target: default
Linking executable: C:\Documents and Settings\Mike The Magnificant\My Documents\Programming\Direct_X1.exe
.objs\winmain.o:winmain.cpp.text+0x29e): undefined reference to `Direct3DCreate9@4'
collect2: ld returned 1 exit status
Process terminated with status 1 (0 minutes, 0 seconds)
0 errors, 0 warnings
Any help is greatly appreciated.