From: AE <ae...@wa...> - 2003-07-27 17:39:16
|
Just a guess, but it looks like you have an older version of the DirectX SDK installed in MinGW. From the error-messages, it looks like you are using MinGW. What you should do is download the minimal version of the Direct X SDK for MinGW from http://alleg.sourceforge.net/wip.html (scroll to the "Miscellaneous files" section). Read docs\build\mingw32.txt for instructions on how to install it. Note that as well as the Direct X headers, you also need to install the Direct X libs. AE. >-----Original Message----- >From: all...@li... >[mailto:all...@li...]On Behalf Of Neil Roy >Sent: 27 July 2003 04:15 >To: all...@li... >Subject: [AL] Compilation problem > > > > I was having trouble re-compiling my program using v4.1.1 so I >downloaded v4.0.3 and tried to compile the stable version and got the >same errors when compiling the library that I got when I compiled my >game using 4.1.1. I'm not sure what the problem could be as I have >compiled the library before. A missing header or corrupt lib >maybe <shrug>. > I made certain I done a "make uninstall" first and >completely deleted >the old (v4.1.1) version before I put "4.0.3" on. Could this have >anything to do with me using the DX8 headers rather than the DX7 headers >maybe? But then that wouldn't explain 4.0.3 not compiling I don't think. > Maybe you could help me with what could be the problem, or >what I am >missing/have corrupt or whatever... thanks... > >obj/mingw32/alleg/wdsndmix.o(.text+0x361):wdsndmix.c: undefined >reference to `DirectSoundCreate@12' >obj/mingw32/alleg/wdsndmix.o(.text+0x41c):wdsndmix.c: undefined >reference to `DirectSoundCreate@12' >obj/mingw32/alleg/wdsound.o(.text+0x9c):wdsound.c: undefined reference >to `DirectSoundEnumerateA@8' >obj/mingw32/alleg/wdsound.o(.text+0x231):wdsound.c: undefined reference >to `DirectSoundCreate@12' >obj/mingw32/alleg/wdsound.o(.text+0x2fc):wdsound.c: undefined reference >to `DirectSoundCreate@12' >obj/mingw32/alleg/wkeybd.o(.text+0x462):wkeybd.c: undefined reference to >`c_dfDIKeyboard' >obj/mingw32/alleg/wmouse.o(.text+0x3b1):wmouse.c: undefined reference to >`c_dfDIMouse' >dllwrap: gcc exited with status 1 >make: *** [lib/mingw32/alleg40.dll] Error 1 |