Win2k pro, using Dev-C++.
Urggghhhh! Well, I managed to find and download a DX9 package for Dev-C++. I also downloaded the DX9SDK.
I configured my compiler correctly, I assume; I added the SDK and DX9 lib directories to the list; same with the Includes, I stuck 'em under C++ (using the Additional Directory option didn't work.)
I also added -fvtable-thunks to my compiler additional command lines, since that seemed to kill about 30 more errors.
However...I now have a VERY strange problem. I can't get any of the SDK samples working!
The Samples\DInput\Mouse one gives me the following:
C:\DOCUME~1\User\LOCALS~1\Temp\ccm6baaa.o(.text+0x 7):mouse.cpp: undefined reference to `InitCommonControls@0'
C:\DOCUME~1\User\LOCALS~1\Temp\ccm6baaa.o(.text+0x 1412):mouse.cpp: undefined reference to `IID_IDirectInput8A'
C:\DOCUME~1\User\LOCALS~1\Temp\ccm6baaa.o(.text+0x 142c):mouse.cpp: undefined reference to `DirectInput8Create@20'
C:\DOCUME~1\User\LOCALS~1\Temp\ccm6baaa.o(.text+0x 145b):mouse.cpp: undefined reference to `GUID_SysMouse'
C:\DOCUME~1\User\LOCALS~1\Temp\ccm6baaa.o(.text+0x 148f):mouse.cpp: undefined reference to `c_dfDIMouse2'
The Keyboard sample gives me about the same errors. The D3d\Lighting tutorial gives me:
470 d:\dx9sdk\samples\c__~1\direct3d\lighting\lighting .cpp
initialization to `TCHAR *' from `const char *' discards qualifiers.
Heck, even the tutorial01 gives me the error: 152 d:\dx9sdk\samples\c__~1\direct3d\tutori~1\tut01_~1 \create~1.cpp
ANSI C++ forbids implicit conversion from `void *' in argument passing.
I'm convinced I'm doing something wrong here. Nothing seems to compile...does anyone have any suggestions as to what it might be?
Oh, and, if anyone's looking for the DX9 package, it's available here:
http://www.gametutorials.com/forum/t...?TOPIC_ID=4402
--Ashiq