# Error Compiling SDL 1.3

**URL:** <https://discourse.libsdl.org/t/error-compiling-sdl-1-3/15697>\
**Category:** SDL Development\
**Created:** [October 13, 2008, 9:54pm UTC](https://discourse.libsdl.org/t/error-compiling-sdl-1-3/15697 "2008-10-13T21:54:17Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Micah\_Brening](https://discourse.libsdl.org/letter_avatar_proxy/v4/letter/m/90db22/32.png) [@Micah\_Brening](https://discourse.libsdl.org/u/Micah_Brening)\
**Post date:** [October 13, 2008, 9:54pm UTC](https://discourse.libsdl.org/t/error-compiling-sdl-1-3/15697/1 "2008-10-13T21:54:17Z")

</div>

Hello Everyone,

I decided to take the plunge into the 1.3 branch and I am currently unable to  
get it to compile. Here is the information:  
Build system:  
Pentium3 933mhz  
256 meg  
Windows 2003  
Mingw 5.1.4  
Msys 1.0.10

Build commands:  
./configure --disable-stdio-redirect --prefix=/mingw CFLAGS="-O2 -mtune=penti  
um3"  
make

It dies during the force feed back with these errors:

/bin/sh ./libtool --mode=compile gcc -O2 -mtune=athlon64 -m32 -I./include  
-D\_GNU\_SOURCE=1 -mmmx -msse -msse2 -DNO\_STDIO\_REDIRECT -c  
./src/haptic/win32/SDL\_syshaptic.c -o build/SDL\_syshaptic.lo  
gcc -O2 -mtune=athlon64 -m32 -I./include -D\_GNU\_SOURCE=1 -mmmx -msse -msse2  
-DNO\_STDIO\_REDIRECT -c ./src/haptic/win32/SDL\_syshaptic.c -DDLL\_EXPORT -DPIC -o  
build/.libs/SDL\_syshaptic.o  
./src/haptic/win32/SDL\_syshaptic.c: In function `SDL_SYS_ToDIEFFECT': ./src/haptic/win32/SDL_syshaptic.c:778: warning: comparison is always false due to limited range of data type ./src/haptic/win32/SDL_syshaptic.c:786: error: structure has no member named`dwStartDelay’  
./src/haptic/win32/SDL\_syshaptic.c:822: warning: comparison is always false due  
to limited range of data type  
./src/haptic/win32/SDL\_syshaptic.c:823: warning: comparison is always false due  
to limited range of data type  
./src/haptic/win32/SDL\_syshaptic.c:833: error: structure has no member named  
`dwStartDelay' ./src/haptic/win32/SDL_syshaptic.c:869: warning: comparison is always false due to limited range of data type ./src/haptic/win32/SDL_syshaptic.c:871: warning: comparison is always false due to limited range of data type ./src/haptic/win32/SDL_syshaptic.c:873: warning: comparison is always false due to limited range of data type ./src/haptic/win32/SDL_syshaptic.c:887: error: structure has no member named`dwStartDelay’  
./src/haptic/win32/SDL\_syshaptic.c:911: warning: comparison is always false due  
to limited range of data type  
./src/haptic/win32/SDL\_syshaptic.c:912: warning: comparison is always false due  
to limited range of data type  
./src/haptic/win32/SDL\_syshaptic.c:920: error: structure has no member named  
`dwStartDelay' ./src/haptic/win32/SDL_syshaptic.c:965: error: structure has no member named`dwStartDelay’  
./src/haptic/win32/SDL\_syshaptic.c: In function `SDL_SYS_HapticUpdateEffect': ./src/haptic/win32/SDL_syshaptic.c:1152: error:`DIEP\_STARTDELAY’ undeclared  
(first use in this function)  
./src/haptic/win32/SDL\_syshaptic.c:1152: error: (Each undeclared identifier is  
reported only once  
./src/haptic/win32/SDL\_syshaptic.c:1152: error: for each function it appears in.)  
make: \*\*\* [build/SDL\_syshaptic.lo] Error 1

Anything I should be doing different to get it to compile? Such as something as  
radical as read the README? I did a quick google search but didn’t come up with  
anything.

That’s all I have.

Thanks for any replies.

Micah

---

<div class="post-metadata">

**Author:** ![Edgar\_Simo](https://discourse.libsdl.org/user_avatar/discourse.libsdl.org/edgar_simo/32/750_2.png) [@Edgar\_Simo](https://discourse.libsdl.org/u/Edgar_Simo)\
**Post date:** [October 14, 2008, 5:13am UTC](https://discourse.libsdl.org/t/error-compiling-sdl-1-3/15697/2 "2008-10-14T05:13:38Z")

</div>

-----BEGIN PGP SIGNED MESSAGE-----  
Hash: SHA1

Hello,

I believe that’s a known issue with mingw32, since the haptic subsystem  
depends on directx 8.0 or later and mingw32 is missing those headers.  
You can disable the haptic subsystem with --disable-haptic, but you’ll  
then be missing force feedback.

Edgar

Micah Brening wrote:

> Hello Everyone,
> 
> I decided to take the plunge into the 1.3 branch and I am currently unable to  
> get it to compile. Here is the information:  
> Build system:  
> Pentium3 933mhz  
> 256 meg  
> Windows 2003  
> Mingw 5.1.4  
> Msys 1.0.10
> 
> Build commands:  
> ./configure --disable-stdio-redirect --prefix=/mingw CFLAGS=“-O2 -mtune=penti  
> um3”  
> make
> 
> It dies during the force feed back with these errors:
> 
> /bin/sh ./libtool --mode=compile gcc -O2 -mtune=athlon64 -m32 -I./include  
> -D\_GNU\_SOURCE=1 -mmmx -msse -msse2 -DNO\_STDIO\_REDIRECT -c  
> ./src/haptic/win32/SDL\_syshaptic.c -o build/SDL\_syshaptic.lo  
> gcc -O2 -mtune=athlon64 -m32 -I./include -D\_GNU\_SOURCE=1 -mmmx -msse -msse2  
> -DNO\_STDIO\_REDIRECT -c ./src/haptic/win32/SDL\_syshaptic.c -DDLL\_EXPORT -DPIC -o  
> build/.libs/SDL\_syshaptic.o  
> ./src/haptic/win32/SDL\_syshaptic.c: In function `SDL_SYS_ToDIEFFECT': ./src/haptic/win32/SDL_syshaptic.c:778: warning: comparison is always false due to limited range of data type ./src/haptic/win32/SDL_syshaptic.c:786: error: structure has no member named `dwStartDelay’  
> ./src/haptic/win32/SDL\_syshaptic.c:822: warning: comparison is always false due  
> to limited range of data type  
> ./src/haptic/win32/SDL\_syshaptic.c:823: warning: comparison is always false due  
> to limited range of data type  
> ./src/haptic/win32/SDL\_syshaptic.c:833: error: structure has no member named  
> `dwStartDelay' ./src/haptic/win32/SDL_syshaptic.c:869: warning: comparison is always false due to limited range of data type ./src/haptic/win32/SDL_syshaptic.c:871: warning: comparison is always false due to limited range of data type ./src/haptic/win32/SDL_syshaptic.c:873: warning: comparison is always false due to limited range of data type ./src/haptic/win32/SDL_syshaptic.c:887: error: structure has no member named `dwStartDelay’  
> ./src/haptic/win32/SDL\_syshaptic.c:911: warning: comparison is always false due  
> to limited range of data type  
> ./src/haptic/win32/SDL\_syshaptic.c:912: warning: comparison is always false due  
> to limited range of data type  
> ./src/haptic/win32/SDL\_syshaptic.c:920: error: structure has no member named  
> `dwStartDelay' ./src/haptic/win32/SDL_syshaptic.c:965: error: structure has no member named `dwStartDelay’  
> ./src/haptic/win32/SDL\_syshaptic.c: In function `SDL_SYS_HapticUpdateEffect': ./src/haptic/win32/SDL_syshaptic.c:1152: error: `DIEP\_STARTDELAY’ undeclared  
> (first use in this function)  
> ./src/haptic/win32/SDL\_syshaptic.c:1152: error: (Each undeclared identifier is  
> reported only once  
> ./src/haptic/win32/SDL\_syshaptic.c:1152: error: for each function it appears in.)  
> make: \*\*\* [build/SDL\_syshaptic.lo] Error 1
> 
> Anything I should be doing different to get it to compile? Such as something as  
> radical as read the README? I did a quick google search but didn’t come up with  
> anything.
> 
> That’s all I have.
> 
> Thanks for any replies.
> 
> Micah
> 
> * * *
> 
> SDL mailing list  
> SDL at [lists.libsdl.org](http://lists.libsdl.org)  
> [http://lists.libsdl.org/listinfo.cgi/sdl-libsdl.org](http://lists.libsdl.org/listinfo.cgi/sdl-libsdl.org)  
> -----BEGIN PGP SIGNATURE-----  
> Version: GnuPG v1.4.9 (GNU/Linux)

iEYEARECAAYFAkj0KoIACgkQolm4VNX3QTxufwCgq5KyU3g3FNEX5ogTnHHp+5QN  
l+QAoOF6ceViCQ06dDdvrCNF0U9Pa1Ri  
=bZKV  
-----END PGP SIGNATURE-----
