Re: [Dev-C++] DirectX Direct Input errors
Open Source C & C++ IDE for Windows
Brought to you by:
claplace
|
From: w.y. <yok...@be...> - 2003-08-05 10:28:47
|
FerretallicA wrote: > > I get the following errors when compiling: > > [Linker error] undefined reference to `c_dfDIKeyboard' > [Linker error] undefined reference to `IID_IDirectInput8A' > > I'm currently using the -ldinput8 library as opposed to -ldinput, and the You might possibly need to include both those libs when using Direct Input, at least that's what it says in my book. I've been reading about Direct Input the past few days, but haven't tried anything with it yet. > DirectX 9 headers (though I don't think that makes a difference to using the > DX8 headers, but I've got "#define DIRECTINPUT_VERSION 0x0800" to be sure). Maybe missing this at the top of your program? #define INITGUID or #include<dinput.h> |