Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com Message-ID: <20021114040044.59582.qmail@web10108.mail.yahoo.com> Date: Thu, 14 Nov 2002 05:00:44 +0100 (CET) From: =?iso-8859-1?q?Sylvain=20Petreolle?= Subject: How to run SDL native with Cygwin To: cygwin AT cygwin DOT com MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit From http://www.libsdl.org/extras/win32/cygwin/ : Steps to build SDL natively with the Cygwin environment available at: http://www.cygwin.com/ These steps assume that you are comfortable with the UNIX environment. Step 1. Run the Cygwin setup program, install the default packages and the development packages (adding any extras you want, like vim). Step 2. Run the Cygwin shell. Further instructions assume you're in this shell. Step 3. Extract the SDL source into a directory and run: ./configure && make && make install Step 4. When you're ready to build SDL applications, copy SDL.dll from /usr/local/lib to whereever your SDL application source resides. Troubleshooting: =========================================================================== Q: I get an error when building and I unpacked the source in a path with spaces. A: Unpack the source in a path without spaces, like /tmp, and build there. =========================================================================== Q: I get the following error while building SDL: GL/gl.h: No such file or directory A: You need to get the OpenGL development headers from: http://www.libsdl.org/extras/win32/cygwin/opengl-devel.tar.gz You need to unpack these in the /usr directory. =========================================================================== Q: My version of SDL doesn't have DirectX support! A: You need to get the DirectX development headers and libraries from: http://www.libsdl.org/extras/win32/cygwin/directx-devel.tar.gz You need to unpack these in the /usr directory. =========================================================================== Q: My version of SDL doesn't have assembly support, NASM is not available. A: You need to get nasm assembler from: http://www.libsdl.org/extras/win32/cygwin/nasm.exe Put this file in the /usr/bin directory. =========================================================================== ___________________________________________________________ Do You Yahoo!? -- Une adresse @yahoo.fr gratuite et en français ! Yahoo! Mail : http://fr.mail.yahoo.com -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Bug reporting: http://cygwin.com/bugs.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/