# SDL 1.2.5 on MinGW

**URL:** <https://discourse.libsdl.org/t/sdl-1-2-5-on-mingw/8334>\
**Category:** SDL Development\
**Created:** [February 25, 2003, 11:35am UTC](https://discourse.libsdl.org/t/sdl-1-2-5-on-mingw/8334 "2003-02-25T11:35:02Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Calvin\_Spealman](https://discourse.libsdl.org/letter_avatar_proxy/v4/letter/c/ec9cab/32.png) [@Calvin\_Spealman](https://discourse.libsdl.org/u/Calvin_Spealman)\
**Post date:** [February 25, 2003, 11:35am UTC](https://discourse.libsdl.org/t/sdl-1-2-5-on-mingw/8334/1 "2003-02-25T11:35:02Z")

</div>

I can’t seem to get SDL 1.2.5 to compile on MinGW. I installed MSYS and  
then installed MinGW to /mingw in the MSYS tree. However, when I try to  
run ‘make’ on the SDL source, I get some errors:

at this line:  
lib /OUT:.libs/libarch.al dummy.lo

I get this error:  
LIB : fatal error LNK1181: cannot open input file  
"C:\msys\1.0\OUT;.libs\[libarch.al](http://libarch.al)"  
make[2]: \*\*\* [[libarch.la](http://libarch.la)] Error 157  
make[2]: Leaving directory `/c/Documents and Settings/calvin/My Documents/SDL-1.2.5/src/main' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory`/c/Documents and Settings/calvin/My  
Documents/SDL-1.2.5/src’  
make: \*\*\* [all-recursive] Error 1

---

<div class="post-metadata">

**Author:** ![Calvin\_Spealman](https://discourse.libsdl.org/letter_avatar_proxy/v4/letter/c/ec9cab/32.png) [@Calvin\_Spealman](https://discourse.libsdl.org/u/Calvin_Spealman)\
**Post date:** [February 26, 2003, 7:48am UTC](https://discourse.libsdl.org/t/sdl-1-2-5-on-mingw/8334/2 "2003-02-26T07:48:05Z")

</div>

Calvin Spealman wrote:

> I can’t seem to get SDL 1.2.5 to compile on MinGW. I installed MSYS and  
> then installed MinGW to /mingw in the MSYS tree. However, when I try to  
> run ‘make’ on the SDL source, I get some errors:
> 
> at this line:  
> lib /OUT:.libs/libarch.al dummy.lo
> 
> I get this error:  
> LIB : fatal error LNK1181: cannot open input file  
> “C:\msys\1.0\OUT;.libs\libarch.al”  
> make[2]: \*\*\* [libarch.la] Error 157  
> make[2]: Leaving directory `/c/Documents and Settings/calvin/My Documents/SDL-1.2.5/src/main' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/c/Documents and Settings/calvin/My  
> Documents/SDL-1.2.5/src’  
> make: \*\*\* [all-recursive] Error 1

Are there any extra steps I might be missing?
