User Tools

Site Tools


build:compiling_avidemux

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
Next revision Both sides next revision
build:compiling_avidemux [2010/04/14 02:58]
j.m
build:compiling_avidemux [2010/04/14 04:01]
j.m
Line 237: Line 237:
 **Note:** The following instructions are tailored specifically for Microsoft Visual(nbsp)C++ 6.0. If you wish to use a different version of Visual(nbsp)C++ you may need to rebuild the dependencies required by Avidemux. More information at [[http://​msdn.microsoft.com|msdn.microsoft.com]]. **Note:** The following instructions are tailored specifically for Microsoft Visual(nbsp)C++ 6.0. If you wish to use a different version of Visual(nbsp)C++ you may need to rebuild the dependencies required by Avidemux. More information at [[http://​msdn.microsoft.com|msdn.microsoft.com]].
  
-==== Build Environment ​====+==== Build environment ​====
  
-=== Download ​Components === +=== Download components ===
- +
-These components ​are necessary to build Avidemux on Microsoft Windows. +
- +
-===Build Environment=== +
- +
-====Download Components====+
  
 These components are necessary to build Avidemux on Microsoft Windows. These components are necessary to build Avidemux on Microsoft Windows.
Line 270: Line 264:
 ^Program ​                               ^Component(s) ​ ^Example Filename ​ ^URL                                                                      ^ ^Program ​                               ^Component(s) ​ ^Example Filename ​ ^URL                                                                      ^
 |Microsoft Visual C++ 6 Processor Pack  |              |vcpp5.exe ​        ​|[[http://​msdn2.microsoft.com/​en-us/​vstudio/​aa718349.aspx|MSDN website]] ​ | |Microsoft Visual C++ 6 Processor Pack  |              |vcpp5.exe ​        ​|[[http://​msdn2.microsoft.com/​en-us/​vstudio/​aa718349.aspx|MSDN website]] ​ |
 +
 +=== Install build environment ===
 +
 +To build Avidemux on a Microsoft Windows operating system you will require MSYS and MinGW. MSYS is a Unix style shell environment for Windows. MinGW is a collection of header files, import libraries and GNU toolsets for producing native Windows programs.
 +
 +To download the Avidemux source code you will require TortoiseSVN,​ which is source control software. It is implemented as a Windows shell extension, which makes it integrate seamlessly into the Windows Explorer.
 +
 +== MinGW ==
 +
 +  - Extract the contents of each MinGW tarball (binutils, gcc-core, gcc-g++, mingw-runtime,​ mingw-utils,​ w32api) to a folder on your hard-drive, e.g. C:DevMinGW.
 +
 +== MSYS ==
 +
 +  - Run the MSYS installer (e.g. MSYS-1.0.11-2004.04.30-1.exe) and follow the install wizard. ​ Choose an appropriate destination folder, e.g. C:Devmsys.
 +  - Agree to the post install process.
 +  - State that MinGW is installed.
 +  - Enter the MinGW installation folder.
 +  - Run the MSYS Developer Toolkit installer (e.g. msysDTK-1.0.1.exe) and follow the install wizard. Choose the MSYS folder for the destination folder.
 +
 +== Pkg-config ==
 +  - Extract the contents of the Pkg-config zip file to the MinGW folder.
 +
 +== TortoiseSVN ==
 +
 +  - Run the Tortoise SVN installer and follow the install wizard.
 +
 +=== Install optional build environment ===
 +
 +== Microsoft Visual C++ 6 Processor Pack ==
 +
 +Install the Processor Pack only if you wish to compile optional dependencies using Microsoft Visual C++.
 +  - Run the Processor Pack installer and follow the install wizard.
 +
 +== Netwide Assembler ==
 +
 +  - Extract the contents of the NASM zip file to an appropriate folder, e.g. C:Program FilesNasm.
 +  - Make a copy of **nasmw.exe** and rename it to **nasm.exe** in the Nasm folder. ​ (The optional components expect the filename to be nasm.exe but the Win32 version of NASM has a filename of nasmw.exe)
 +  - Copy **nasm.exe** to the MinGW **bin** folder.
 +
 +=== Configure build environment ===
 +
 +  - Open the **profile** file in the MSYS **etc** folder with a text editor.
 +  - Add the following lines to the end of the file:<​code>​export ACLOCALFLAGS="​$ACLOCALFLAGS -I /​mingw/​share/​aclocal/"​
 +export PKG_CONFIG_PATH="/​mingw/​lib/​pkgconfig"</​code>​
 +  - Save file and close editor.
 +
 +If you’ve installed the Netwide Assembler and wish to use Microsoft Visual C++ to compile optional dependencies,​ also follow these steps:
 +
 +  - Start Microsoft Visual C++.
 +  - Choose **Options** from the **Tools** menu.
 +  - Choose the **Directories** tab.
 +  - Select **Executable Files** from the **Show Directories For** dropdown box.
 +  - Add the path for NASM, e.g. C:Program FilesNasm.
 +
 +=== Downloading source code from SVN ===
 +
 +The source code for Avidemux and some of its dependencies must be downloaded from subversion repositories. ​ TortoiseSVN supports all subversion protocols. Follow these steps to download code from an SVN URL:
 +
 +  - Open **Windows Explorer** and click on the C: drive with the right mouse button.
 +  - Choose **SVN Checkout** from the popup menu.
 +  - Enter the **URL of repository**,​ e.g. svn:<​nowiki>//​svn.berlios.de/​avidemux/​branches/​avidemux_2.3_branch/</​nowiki>​.
 +  - Enter a **Checkout directory**,​ e.g. <​nowiki>​c:​\Dev\avidemux</​nowiki>​.
 +  - Click **OK** to download the source code.
 +
 +==== Avidemux Dependencies ====
 +
 +=== Download Dependencies ===
 +
 +These dependencies are necessary to successfully build Avidemux.
 +
 +^Dependency ​                ​^Component(s) ​   ^Example Filename ​                      ​^URL ​                                                                                                   ^
 +|Expat v1                   ​|expat ​          ​|Expat.zip ​                             |[[http://​www.jclark.com/​xml/​expat.html|expat website]] ​                                                |
 +|GTK+                       ​|atk ​            ​|atk-1.12.3.zip ​                        ​|[[http://​www.gimp.org/​~tml/​gimp/​win32/​downloads.html|Tor Lillqvist'​s GTK+ for Windows website]] ​       |
 +|:::                        |atk-dev ​        ​|atk-dev-1.12.3.zip ​                    ​|::: ​                                                                                                   |
 +|:::                        |cairo ​          ​|cairo-1.2.6.zip ​                       |:::                                                                                                    |
 +|:::                        |cairo-dev ​      ​|cairo-dev-1.2.6.zip ​                   |:::                                                                                                    |
 +|:::                        |fontconfig ​     |fontconfig-2.3.2-tml-20060825.zip ​     |:::                                                                                                    |
 +|:::                        |fontconfig-dev ​ |fontconfig-dev-2.3.2-tml-20060825.zip ​ |:::                                                                                                    |
 +|:::                        |freetype ​       |freetype-2.1.10-bin.zip ​               |:::                                                                                                    |
 +|:::                        |freetype-lib ​   |freetype-2.1.10-lib.zip ​               |:::                                                                                                    |
 +|:::                        |gettext ​        ​|gettext-0.14.5.zip ​                    ​|::: ​                                                                                                   |
 +|:::                        |gettext-dev ​    ​|gettext-dev-0.14.5.zip ​                ​|::: ​                                                                                                   |
 +|:::                        |glib            |glib-2.12.6.zip ​                       |:::                                                                                                    |
 +|:::                        |glib-dev ​       |glib-dev-2.12.6.zip ​                   |:::                                                                                                    |
 +|:::                        |gtk+            |gtk+-2.10.6.zip ​                       |:::                                                                                                    |
 +|:::                        |gtk+-dev ​       |gtk+-dev-2.10.6.zip ​                   |:::                                                                                                    |
 +|:::                        |libiconv ​       |libiconv-1.9.1.bin.woe32.zip ​          ​|::: ​                                                                                                   |
 +|:::                        |libpng ​         |libpng-1.2.8-bin.zip ​                  ​|::: ​                                                                                                   |
 +|:::                        |libpng-lib ​     |libpng-1.2.8-lib.zip ​                  ​|::: ​                                                                                                   |
 +|:::                        |pango ​          ​|pango-1.14.8.zip ​                      ​|::: ​                                                                                                   |
 +|:::                        |pango-dev ​      ​|pango-dev-1.14.8.zip ​                  ​|::: ​                                                                                                   |
 +|Libxml v2                  |libxml2 ​        ​|libxml2-2.6.27.win32.zip ​              ​|[[http://​www.zlatkovic.com/​libxml.en.html|Libxml website]] ​                                            |
 +|Netscape Portable Runtime ​ |nspr            |nspr-4.4.1.zip ​                        ​|[[ftp://​ftp.mozilla.org/​pub/​mozilla.org/​nspr/​releases/​v4.4.1/​WINNT5.0_OPT.OBJ|Mozilla NSPR FTP site]] ​ |
 +|Pthreads-w32 v1            |pthread-win32 ​  ​|pthreads-w32-1-11-0-release.exe ​       |[[http://​sourceware.org/​pthreads-win32|Pthreads website]] ​                                             |
 +|Spidermonkey ​              ​|js ​             |js-1.5.tar.gz ​                         |[[http://​www.mozilla.org/​js/​spidermonkey|Mozilla Spidermonkey website]] ​                               |
 +|Zlib                       ​|zlib ​           |zlib123-dll.zip ​                       |[[http://​www.zlib.net/​|zlib website]] ​                                                                 |
 +
 +These libraries are optional but enable Avidemux to have greater functionality.
 +
 +^Library ​                  ​^Component(s) ​             ^Example Filename ​         ^URL                                                            ^
 +|Aften ​                    ​|aften ​                    ​|aften-0.05-win32.zip ​     |[[http://​aften.sourceforge.net/​|Aften website]] ​               |
 +|FAAC                      |faac                      |faac-1.25.zip ​            ​|[[http://​www.audiocoding.com/​|Audiocoding website]] ​           |
 +|FAAD                      |faad                      |faad2-2.5.zip ​            ​|::: ​                                                           |
 +|LAME                      |mp3lame ​                  ​|lame-3.97.tar.gz ​         |[[http://​lame.sourceforge.net/​|LAME website]] ​                 |
 +|Libdca ​                   |libdca ​                   |libdca-0.0.2.tar.gz ​      ​|[[http://​developers.videolan.org/​libdca.html|libdca website]] ​ |
 +|Ogg Vorbis ​               |libogg ​                   |libogg-1.1.3.zip ​         |[[http://​www.vorbis.com/​|Vorbis website]] ​                     |
 +|:::                       ​|libvorbis ​                ​|libvorbis-1.1.2.zip ​      ​|::: ​                                                           |
 +|Simple DirectMedia Layer  |libsdl ​                   |SDL-1.2.11.zip ​           |[[http://​www.libsdl.org/​index.php|SDL website]] ​               |
 +|:::                       ​|libsdl-dev ​               |SDL-devel-1.2.11-VC6.zip ​ |:::                                                            |
 +|Xvid                      |xvid                      |xvidcore-1.1.2.tar.gz ​    ​|[[http://​www.xvid.org/​|Xvid website]] ​                         |
build/compiling_avidemux.txt · Last modified: 2012/11/11 08:51 (external edit)