This shows you the differences between two versions of the page.
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 03:12] 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. | ||
+ |