Mercurial > mplayer.hg
comparison DOCS/documentation.html @ 8253:7eb9d868f2e9
configure now detects SDL automatically under Cygwin.
author | diego |
---|---|
date | Sat, 23 Nov 2002 01:29:47 +0000 |
parents | d78b7cbcdf9c |
children | 352b654c7787 |
comparison
equal
deleted
inserted
replaced
8252:992675110ab8 | 8253:7eb9d868f2e9 |
---|---|
1626 | 1626 |
1627 <P>Since there is no support for Win32 DLLs under Cygwin and OpenGL and mpdvdkit | 1627 <P>Since there is no support for Win32 DLLs under Cygwin and OpenGL and mpdvdkit |
1628 do not work/compile, you should disable them in configure with | 1628 do not work/compile, you should disable them in configure with |
1629 <CODE>./configure --disable-win32 --disable-gl --disable-mpdvdkit</CODE>.</P> | 1629 <CODE>./configure --disable-win32 --disable-gl --disable-mpdvdkit</CODE>.</P> |
1630 | 1630 |
1631 <P>SDL has also been reported to work after some tweaking:<BR> | |
1632 There are several changes that need to be made to the <CODE>config.mak</CODE> | |
1633 file after running <CODE>configure</CODE>. These changes, like any change to | |
1634 <CODE>config.mak</CODE> after the <CODE>configure</CODE> run are <B>not</B> | |
1635 supported, so please do <B>not</B> report bugs!</P> | |
1636 | |
1637 <P>Find the line that reads</P> | |
1638 | |
1639 <PRE> | |
1640 SDL_LIB = -L/usr/local/lib -lmingw32 -lSDLmain -lSDL -mwindows -mno-cygwin | |
1641 </PRE> | |
1642 | |
1643 <P>and change it to:</P> | |
1644 | |
1645 <PRE> | |
1646 SDL_LIB = -L/usr/local/lib -lSDL -mcygwin | |
1647 </PRE> | |
1648 | |
1649 <P>and replace</P> | |
1650 | |
1651 <PRE> | |
1652 SDL_INC = -I/usr/local/include -I/usr/local/include/SDL -Dmain=SDL_main -I/usr/include/mingw -DWIN32 -Uunix -mno-cygwin | |
1653 </PRE> | |
1654 | |
1655 <P>with</P> | |
1656 | |
1657 <PRE> | |
1658 SDL_INC = -I/usr/local/include -I/usr/local/include/SDL -Uunix -mcygwin | |
1659 </PRE> | |
1660 | |
1661 <P>Instructions and files for making SDL run under Cygwin can be found on the | 1631 <P>Instructions and files for making SDL run under Cygwin can be found on the |
1662 <A HREF="http://www.libsdl.org/extras/win32/cygwin/">libsdl site</A>.</P> | 1632 <A HREF="http://www.libsdl.org/extras/win32/cygwin/">libsdl site</A>.</P> |
1663 | 1633 |
1664 | 1634 |
1665 | 1635 |