For DirectX 8.1 SDK, do these files exist on the web anymore? Apparently, Microsoft has zapped to bits Directx 8.1 SDk.
I had these files before on my old computer, but I did not think to back them up, because I had forgotten how precious they are.
hey while we're at it, I've been having trouble building an allegro project
gcc whatever.c -o whatever.exe -lalleg_s -lgdi32
Then it gives a bunch of unresolved directx symbols and I can't figure out how to link dx with it (without the gdi link it can't find gdi stuff either).
I was able to build allegro itself with mingw.
http://www.dwedit.org/files/dxsdk.7z
4MB, unzips to 20MB
Mini directx sdk, probably works.
I think it includes DX8 and DX9.
Hmm, I was able to make some of the undefined symbols go away but throwing in a lot of dx libraries didn't do the trick.
strat wrote:
I've been having trouble building an allegro project
gcc whatever.c -o whatever.exe -lalleg_s -lgdi32
Then it gives a bunch of unresolved directx symbols and I can't figure out how to link dx with it (without the gdi link it can't find gdi stuff either).
Look in .../allegro/docs/build/mingw32.txt, section "Using Allegro". Short version:
- #define ALLEGRO_STATICLINK before #include <allegro.h>
- -lalleg_s -lkernel32 -luser32 -lgdi32 -lcomdlg32 -lole32 -ldinput -lddraw -ldxguid -lwinmm -ldsound
(incidentally, the length of this list is why the Linux version uses `allegro-config --libs`)