User Tools

Site Tools


build:compiling_avidemux

Differences

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

Link to this comparison view

Next revision
Previous revision
Next revision Both sides next revision
build:compiling_avidemux [2010/04/14 02:38]
j.m created
build:compiling_avidemux [2010/04/14 03:09]
j.m
Line 236: Line 236:
  
 **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 ====
 +
 +=== 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.
 +
 +^Program ​     ^Component(s) ​ ^Example Filename ​                           ^URL                                                                                              ^
 +|MinGW ​       |binutils ​     |binutils-2.16.91-20060119-1.tar.gz ​         |[[http://​www.mingw.org/​|MinGW website]] ​                                                         |
 +|:::          |gcc-core ​     |gcc-core-3.4.2-20040916-1.tar.gz ​           |:::                                                                                              |
 +|:::          |gcc-g++      ​|gcc-g++-3.4.2-20040916-1.tar.gz ​            ​|::: ​                                                                                             |
 +|:::          |mingw-runtime |mingw-runtime-3.11.tar.gz ​                  ​|::: ​                                                                                             |
 +|:::          |mingw-utils ​  ​|mingw-utils-0.3.tar.gz ​                     |:::                                                                                              |
 +|:::          |w32api ​       |w32api-3.8.tar.gz ​                          ​|::: ​                                                                                             |
 +|:::          |MSYS          |MSYS-1.0.11-2004.04.30-1.exe ​               |:::                                                                                              |
 +|:::          |MSYS DTK      |msysDTK-1.0.1.exe ​                          ​|::: ​                                                                                             |
 +|Pkg-config ​  ​| ​             |pkg-config-0.20.zip ​                        ​|[[http://​www.gimp.org/​~tml/​gimp/​win32/​downloads.html|Tor Lillqvist'​s GTK+ for Windows website]] ​ |
 +|TortoiseSVN ​ |              |TortoiseSVN-1.4.1.7992-win32-svn-1.4.2.msi ​ |[[http://​tortoisesvn.net/​|TortoiseSVN website]] ​                                                 |
 +
 +These components are only required if you wish to compile optional dependencies.
 +
 +^Program ​           ^Component(s) ​ ^Example Filename ​       ^URL                ^
 +|Netwide Assembler ​ |nasm          |nasm-0.98.39-win32.zip ​ |[[http://​sourceforge.net/​projects/​nasm|NASM website]] ​ |
 +
 +These components are only required if you wish to compile optional dependencies with Microsoft Visual C++.
 +
 +^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]] ​ |
 +
 +=== 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.
  
build/compiling_avidemux.txt · Last modified: 2012/11/11 08:51 (external edit)