| 89 | Here are sample steps for building SDL, libx264, and ffmpeg: |
| 90 | a. SDL 1.3 comes with VS project settings, e.g: for VS2005 just open {{{VisualC\SDL_VS2005.sln}}} and build. |
| 91 | a. Get [http://www.mingw.org/wiki/MSYS MSYS|MinGW] for building libx264 and ffmpeg, and also its [http://www.mingw.org/wiki/InstallationHOWTOforMinGW gcc compiler suite]. Note that it is recommended to use gcc 4 or above to build ffmpeg. |
| 92 | a. libx264 (optional if H264 is wanted): |
| 93 | {{{ |
| 94 | $ ./configure # add any options if needed, e.g: optimization, install dir, search path |
| 95 | $ make && make install-lib-dev # default install dir is /usr/local |
| 96 | }}} |
| 97 | a. ffmpeg: |
| 98 | {{{ |
| 99 | $ ./configure --enable-gpl --enable-libx264 \ |
| 100 | --enable-shared --disable-static \ |
| 101 | --enable-memalign-hack # add other options if needed |
| 102 | $ make && make install |
| 103 | }}} |