https://wiki.panotools.org/api.php?action=feedcontributions&user=Davidefa&feedformat=atomPanoTools.org Wiki - User contributions [en]2024-03-29T14:24:48ZUser contributionsMediaWiki 1.35.3https://wiki.panotools.org/index.php?title=Hugin_SDK_(MSVC_2008)&diff=12808Hugin SDK (MSVC 2008)2010-11-06T14:59:56Z<p>Davidefa: </p>
<hr />
<div>Hugin depends on different components like libraries and tools, which are not available on a common Windows system. All these components can be combined to a Hugin Software Development Kit (SDK). This article gives step-by-step instructions to build such SDK for Hugin using Microsoft Visual C++ 2008 (MSVC 2008) Express Edition and precompiled dependencies. <br />
<br />
While this article is designed for developing a native 32-bit version, additional instructions are provided so that a 64-bit version of the Hugin SDK can be compiled. When appropriate, steps that only apply to the 32-bit or 64-bit versions will be noted as (32-bit) or (64-bit), and you can safely ignore them if you are not targeting that particular version. In order to compile a 64-bit version of the Hugin SDK, one does not need a 64-bit computer. However, if they wish to test or debug the binaries, or for some projects (such as OpenEXR) which execute compiled binaries as part of their build step, this will not necessarily be possible on Win32.<br />
<br />
First of all an overview is given over the contents of the SDK and the tools that are necessary to build the SDK.<br />
<br />
The build steps for each component are written like a walk-through and annotated on the end of each section.<br />
<br />
Maybe some of the described tools and packages, especially those fetched from Subversion (SVN) repository, will change over time and/or become obsolete. Hence it is likely that some steps will become invalid or won't work any more.<br />
<br />
The SDK is structured, that each component resides in its own subdirectory. This approach is different to other platforms like Linux, where some common directories are available to store include files, libraries and applications. The files of a component are spread over all these directories. Both approaches to structure the files in a file system have its assets and drawbacks.<br />
<br />
The base directory of the SDK is denoted as <tt><SDKHOME></tt> in this article. Replace <tt><SDKHOME></tt> by directory name where you store the SDK on your system. In the examples <tt><SDKHOME></tt> is replaced by the directory name <tt>D:\usr\src\SDK</tt>.<br />
<br />
== Prerequisites ==<br />
<br />
To build the SDK some tools are required that are listed in the table below. Download the tools and install them. The destination directory of each tool is arbitrary. If you are uncertain, choose the default given in the setup dialog of each tool.<br />
<br />
{| class="wikitable" width="100%"<br />
|- valign="top"<br />
! style="padding:5px; text-align:left" width="30%" | Tool<br />
! style="padding:5px; text-align:left" | Description<br />
|- valign="top"<br />
| style="padding:5px; text-align:left" | Microsoft Visual C++ 2008 Express Edition<br />
| style="padding:5px; text-align:left" | Compiler, Debugger and IDE<br/>Visit [http://www.microsoft.com/express/vc/ Download page] <br>If compiling for 64-bit, you will need to [http://jenshuebel.wordpress.com/2009/02/12/visual-c-2008-express-edition-and-64-bit-targets/ enable Express Edition to compile 64-bit projects]. <br />
|- valign="top"<br />
| style="padding:5px; text-align:left" | (x64 Only) Microsoft Windows SDK for Windows Server 2008 and .NET Framework 3.5<br />
| style="padding:5px; text-align:left" | x64 Compiler, Libraries, and Headers<br/>Visit [http://www.microsoft.com/downloads/details.aspx?FamilyId=F26B1AA4-741A-433A-9BE5-FA919850BDBF]<br> When installing, make sure to include the Visual C++ compilers for x64 (under Developer Tools) and the Header Files and x64 libraries (under Windows Headers and Libraries). Optionally consider installing all of the SDK, as it makes compiling generally easier.<br />
|- valign="top"<br />
| style="padding:5px; text-align:left" | CMake 2.6.4 (2009-05-05)<br />
| style="padding:5px; text-align:left" | Generator of solution and project files for MSVC 2008<br/>Visit [http://www.cmake.org/cmake/resources/software.html#latest Download page] or download [http://www.cmake.org/files/v2.6/cmake-2.6.4-win32-x86.exe <tt>cmake-2.6.4-win32-x86.exe</tt>]<br />
|- valign="top"<br />
| style="padding:5px; text-align:left" | TortoiseSVN 1.6.1.16129 (2009-02-13)<br />
| style="padding:5px; text-align:left" | Tool to handle source codes in Subversion repositories<br/>Visit [http://tortoisesvn.net/downloads Download page] or download<br/> [http://downloads.sourceforge.net/tortoisesvn/TortoiseSVN-1.6.1.16129-win32-svn-1.6.1.msi <tt>TortoiseSVN-1.6.1.16129-win32-svn-1.6.1.msi (32-bit)</tt>] or<br/> [http://downloads.sourceforge.net/tortoisesvn/TortoiseSVN-1.6.1.16129-x64-svn-1.6.1.msi <tt>TortoiseSVN-1.6.1.16129-x64-svn-1.6.1.msi (64-bit)</tt>]<br />
|- valign="top"<br />
| style="padding:5px; text-align:left" | TortoiseHg 1.0.4 (2010-06-11)<br />
| style="padding:5px; text-align:left" | Tool to handle source codes in Mercurial repositories<br/>Visit [http://tortoisehg.bitbucket.org/ Download page]<br/> <br />
|- valign="top"<br />
| style="padding:5px; text-align:left" | 7-Zip 4.65 (2009-02-03)<br />
| style="padding:5px; text-align:left" | Tool to decompress the source packages<br/>Visit [http://www.7-zip.org/download.html Download page] or download [http://downloads.sourceforge.net/sevenzip/7z465.exe <tt>7z465.exe (32-bit)</tt>] or [http://downloads.sourceforge.net/sevenzip/7z465-x64.msi <tt>7z465-x64.msi (64-bit)</tt>]<br />
|- valign="top"<br />
| style="padding:5px; text-align:left" | Java SE Development Kit 6 Update 13<br />
| style="padding:5px; text-align:left" | Java Development Kit (JDK)<br/>Visit [http://java.sun.com/javase/downloads/index.jsp Download page]<br />
|}<br />
<br />
== Contents of the Hugin SDK ==<br />
<br />
=== Precompiled Version (32-bit only) ===<br />
<br />
For those who want to avoid to build the whole SDK from scratch a precompiled SDK is available.<br />
<br />
{| class="wikitable" width="100%"<br />
|- valign="top"<br />
! style="padding:5px; text-align:left" | Precompiled Hugin SDK (Win32)<br />
|- valign="top"<br />
| style="padding:5px; text-align:left" | [http://hugin.panotools.org/sdk/MSVC/Hugin-SDK-20090509-win32.exe <tt>Hugin-SDK-20090509-win32.exe </tt>] (76 MiB, 2009-05-09)<br />
|}<br />
<br />
=== Building from Source ===<br />
The contents of the Hugin SDK is shown in the following table. Download the packages, except the packages fetched from Subversion repository.<br />
<br />
{| class="wikitable" width="100%"<br />
|- valign="top"<br />
! style="padding:5px; text-align:left" width="30%" | Directory<br />
! style="padding:5px; text-align:left" | Description (Website)<br/>Download package (Date of the package)<br />
|- valign="top"<br />
| style="padding:5px; text-align:left" | <tt>autopano-sift-C</tt><br />
| style="padding:5px; text-align:left" | Autopano-SIFT-C (http://hugin.sourceforge.net/)<br/>Subversion repository<br/><tt>https://hugin.svn.sourceforge.net/svnroot/hugin/autopano-sift-C/trunk</tt><br />
|- valign="top"<br />
| style="padding:5px; text-align:left" | <tt>boost_1_39_0</tt><br />
| style="padding:5px; text-align:left" | Boost C++ libraries 1.39.0 (http://www.boost.org/)<br/>[http://downloads.sourceforge.net/boost/boost_1_39_0.7z <tt>boost_1_39_0.7z</tt>] (2009-02-09)<br/>[http://downloads.sourceforge.net/boost/boost-jam-3.1.17-1-ntx86.zip <tt>boost-jam-3.1.17-1-ntx86.zip</tt>] (2008-11-29)<br />
|- valign="top"<br />
| style="padding:5px; text-align:left" | <tt>Deploy</tt><br/><tt>OpenEXR</tt><br />
| style="padding:5px; text-align:left" | OpenEXR library 1.6.1 and IlmBase libraries 1.0.1 (http://www.openexr.com/)<br/>[http://download.savannah.nongnu.org/releases/openexr/ilmbase-1.0.1.tar.gz <tt>ilmbase-1.0.1.tar.gz</tt>] (2007-10-22)<br/>[http://download.savannah.nongnu.org/releases/openexr/openexr-1.6.1.tar.gz <tt>openexr-1.6.1.tar.gz</tt>] (2007-10-22)<br />
|- valign="top"<br />
| style="padding:5px; text-align:left" | <tt>enblend-enfuse-3.2</tt> <br />
| style="padding:5px; text-align:left" | Enblend 3.2 and Enfuse 3.2 (http://enblend.sourceforge.net/)<br/><br />
{| class="wikitable"<br />
|- valign="top"<br />
! style="padding:5px; text-align:left" | 32-Bit<br />
! style="padding:5px; text-align:left" | 64-Bit<br />
|- valign="top"<br />
| style="padding:5px; text-align:left" | [http://downloads.sourceforge.net/enblend/enblend-enfuse-3.2.zip <tt>enblend-enfuse-3.2.zip</tt>] (2008-09-09)<br />
| style="padding:5px; text-align:left" | [http://downloads.sourceforge.net/enblend/enblend-enfuse-3.2.tar.gz <tt>enblend-enfuse-3.2.tar.gz</tt>] (2008-09-09)<br />
|}<br />
|- valign="top"<br />
| style="padding:5px; text-align:left" | <tt>exiftool</tt><br />
| style="padding:5px; text-align:left" | ExifTool 7.74 (http://www.sno.phy.queensu.ca/~phil/exiftool)<br/>[http://www.sno.phy.queensu.ca/~phil/exiftool/exiftool-7.74.zip <tt>exiftool-7.74.zip</tt>] (2009-02-17)<br />
|- valign="top"<br />
| style="padding:5px; text-align:left" | <tt>exiv2-0.18.1</tt><br />
| style="padding:5px; text-align:left" | Exiv2 C++ library 0.18 (http://www.exiv2.org/)<br/>[http://www.exiv2.org/exiv2-0.18.1.tar.gz <tt>exiv2-0.18.1.tar.gz</tt>] (2009-04-06)<br />
|- valign="top"<br />
| style="padding:5px; text-align:left" | <tt>expat-2.0.1</tt><br />
| style="padding:5px; text-align:left" | Expat XML Parser library 2.0.1 (http://sourceforge.net/projects/expat/)<br/>[http://downloads.sourceforge.net/expat/expat-2.0.1.tar.gz <tt>expat-2.0.1.tar.gz</tt>] (2007-06-05)<br />
|- valign="top"<br />
| style="padding:5px; text-align:left" | <tt>gettext</tt><br />
| style="padding:5px; text-align:left" | GNU gettext 0.13.1 and iconv library 1.9.1 (http://www.gnu.org/)<br/><br />
{| class="wikitable"<br />
|- valign="top"<br />
! style="padding:5px; text-align:left" | 32-Bit<br />
! style="padding:5px; text-align:left" | 64-Bit<br />
|- valign="top"<br />
| style="padding:5px; text-align:left" | <ul><li>[http://ftp.gnu.org/gnu/gettext/gettext-runtime-0.13.1.bin.woe32.zip <tt>gettext-runtime-0.13.1.bin.woe32.zip</tt>] (2004-01-20)</li><li>[http://ftp.gnu.org/gnu/gettext/gettext-tools-0.13.1.bin.woe32.zip <tt>gettext-tools-0.13.1.bin.woe32.zip</tt>] (2004-01-20)</li><li>[http://ftp.gnu.org/gnu/libiconv/libiconv-1.9.1.bin.woe32.zip <tt>libiconv-1.9.1.bin.woe32.zip</tt>] (2004-01-20)</li></ul><br />
| style="padding:5px; text-align:left" | <ul><li> [http://ftp.gnu.org/gnu/libiconv/libiconv-1.9.1.tar.gz libiconv-1.9.1.tar.gz] (2003-05-27)</li><li>[http://ftp.gnu.org/gnu/gettext/gettext-0.13.1.tar.gz gettext-0.13.1.tar.gz] (2003-12-17)</li></ul><br />
|}<br />
|- valign="top"<br />
| style="padding:5px; text-align:left" | <tt>glew</tt><br />
| style="padding:5px; text-align:left" | OpenGL Extension Wrangler Library (GLEW) 1.5.1 (http://glew.sourceforge.net/)<br/>[http://downloads.sourceforge.net/glew/glew-1.5.1-src.zip <tt>glew-1.5.1-src.zip</tt>] (2008-11-03)<br />
|- valign="top"<br />
| style="padding:5px; text-align:left" | <tt>libpano\pano13</tt><br />
| style="padding:5px; text-align:left" | Panorama Tools and pano13 library (http://panotools.sourceforge.net/)<br/>Subversion repository<br/><tt>https://panotools.svn.sourceforge.net/svnroot/panotools/trunk/libpano</tt><br />
|- valign="top"<br />
| style="padding:5px; text-align:left" | <tt>libxml2-2.7.3</tt><br />
| style="padding:5px; text-align:left" | XML C parser and toolkit (http://www.xmlsoft.org/)<br/>[ftp://xmlsoft.org/libxml2/libxml2-sources-2.7.3.tar.gz <tt>libxml2-sources-2.7.3.tar.gz</tt>] (2009-01-18)<br />
|- valign="top"<br />
| style="padding:5px; text-align:left" | <tt>UnxUtils</tt><br />
| style="padding:5px; text-align:left" | GNU utilities ported to win32 platform (http://sourceforge.net/projects/unxutils/)<br/>[http://downloads.sourceforge.net/unxutils/UnxUtils.zip <tt>UnxUtils.zip</tt>] (2007-03-01)<br />
|- valign="top"<br />
| style="padding:5px; text-align:left" | <tt>wxWidgets-2.8.10</tt><br />
| style="padding:5px; text-align:left" | wxWidgets cross-platform GUI C++ framework 2.8.10 (http://www.wxwidgets.org/)<br/>[http://downloads.sourceforge.net/wxwindows/wxMSW-2.8.10.zip <tt>wxMSW-2.8.10.zip</tt>] (2009-03-17)<br />
|- valign="top"<br />
! colspan="2" | Additional files only necessary for building a 64-bit SDK<br />
|- valign="top"<br />
! style="padding:5px; text-align:left" width="30%" | Directory<br />
! style="padding:5px; text-align:left" | Description (Website)<br/>Download package (Date of the package)<br />
|- valign="top"<br />
| style="padding:5px; text-align:left" | <tt>(64-bit) libxmi-1.2-1</tt> <br />
| style="padding:5px; text-align:left" | GNU libxmi 2-D rasterization library (Win32 port) (http://gnuwin32.sourceforge.net)<br/> [http://downloads.sourceforge.net/gnuwin32/libxmi-1.2-1-src.zip <tt>libxmi-1.2-1-src.zip</tt>] (2004-04-16)<br/><br />
|- valign="top"<br />
| style="padding:5px; text-align:left" | <tt>(64-bit) STLport-5.2.1</tt> <br />
| style="padding:5px; text-align:left" | STLport Standard Library (http://stlport.sourceforge.net/)<br/> [http://downloads.sourceforge.net/stlport/STLport-5.2.1.tar.gz <tt>STLport-5.2.1.tar.gz</tt>] (2008-12-10)<br/><br />
|- valign="top"<br />
| style="padding:5px; text-align:left" | <tt>(64-bit) lcms-1.18a</tt> <br />
| style="padding:5px; text-align:left" | LittleCms Color management library (http://www.littlecms.com)<br/> [http://www.littlecms.com/lcms-1.18a.zip <tt>lcms-1.18a.zip</tt>] (2009-04-19)<br/><br />
|}<br />
<br />
In the following subsections each component is discussed in detail. The order of the subsections seems random, but I applied the approach to describe the precompiled packages first, followed by the big packages, where some of the small packages depend on.<br />
<br />
The decompress step of each component contains seemingly inconsistent namings of destination directories, because in some components a subdirectory is specified as destination directory and in some steps only the base directory. This is due to the fact that some package archives contain a base directory and some not. To check the right locations each result section of every component's description contains a summary of the expected files. <br />
<br />
The SDK is currently outdated. The following changes are necessary to build Hugin:<br />
<br />
{| class="wikitable" width="100%"<br />
|- valign="top"<br />
! style="padding:5px; text-align:left" width="30%" | Directory<br />
! style="padding:5px; text-align:left" | Description (Website)<br/>Download package <br />
|- valign="top"<br />
| style="padding:5px; text-align:left" | <tt>freeglut_2.6.0</tt><br />
| style="padding:5px; text-align:left" | Freeglut (http://freeglut.sourceforge.net/index.php)<br/> [http://prdownloads.sourceforge.net/freeglut/freeglut-2.6.0.tar.gz?download <tt>freeglut-2.6.0.tar.gz</tt>]<br />
|- valign="top"<br />
| style="padding:5px; text-align:left" | <tt>make_3.81</tt><br />
| style="padding:5px; text-align:left" | GNU make 3.81 (http://www.gnu.org/software/make/) <br/>[http://ftp.gnu.org/pub/gnu/make/make-3.81.tar.gz <tt>make-3.81.tar.gz</tt>] <br/> This package replaces UnxUtils.<br />
|}<br />
<br />
<br />
==== Diff Files ====<br />
In order to make compilation simple, a series of patch files are included below that contain all the necessary changes, not only to compile the SDK, but to optionally compile an x64 version of the SDK. When directed, you will need to apply the patch file specified. If you are compiling for x64, there may be additional patches you need to apply.<br />
<br />
The download link for the patches is [http://sourceforge.net/tracker/?func=detail&aid=2789320&group_id=77506&atid=550443 http://sourceforge.net/tracker/?func=detail&aid=2789320&group_id=77506&atid=550443]<br />
<br />
In order to apply a patch, you will first have needed to follow directions for the [[#UnxUtils|UnxUtils]] step. You cannot apply any patches before that step. To apply a patch, follow these directions:<br />
<ol><br />
<li>Start a Command Prompt by choosing Start -> Run and typing in "cmd.exe"</li><br />
<li>On the Command Prompt, change directory to <tt><SDKHOME></tt><br/><br />
'''Example'''<br />
<pre><br />
C:\Program Files\Microsoft\Windows SDK\v6.1>d:<br />
<br />
D:>cd \usr\src\SDK<br />
<br />
D:\usr\src\SDK><br />
</pre></li><br />
<li>On the command prompt, enter the following commands without any line breaks and press the Return/Enter key, substituting <SDKHOME> where appropriate:<br/><br />
<pre><br />
set PATH=%PATH%;<SDKHOME>\UnxUtils\usr\local\wbin<br />
</pre><br />
</li><br />
<li>On the command prompt, enter the following commands without any line breaks and press the Return/Enter key, substituting <PATCHFILE> with the name of the patch file to apply:<br/><br />
<pre><br />
patch -p 0 -i <PATCHFILE><br />
</pre><br />
'''NOTE:''' On Vista and later systems, the filename "patch.exe" is a protected file name which will always result in a UAC prompt if the file does not include a manifest (which UnxUtils version does not). This can be worked around by copying the file <tt><SDKHOME>\UnxUtils\usr\local\wbin\patch.exe</tt> to another file not containing the name, such as <tt><SDKHOME>\UnxUtils\usr\local\wbin\apply_diff.exe</tt>. Then substitute the command <tt>'patch'</tt> in the above command with <tt>'apply_diff'</tt><br />
</li><br />
</ol><br />
<br />
'''Result'''<br />
<br />
If everything worked, you should see a list of filenames that were patched. <br />
'''Example'''<br />
<pre><br />
D:\usr\src\SDK>patch -p 0 -i libiconv-1.9.1.diff<br />
patching file 'libiconv-1.9.1/srclib/error.c'<br />
<br />
D:\usr\src\SDK><br />
</pre><br />
<br />
If there was an error, you may wish to consult the [[Hugin SDK (MSVC 2008) Patches]] page for instructions on what changes were contained in the patch.<br />
<br />
=== UnxUtils ===<br />
<br />
<ol><br />
<li>Create the directory <tt><SDKHOME>\UnxUtils</tt></li><br />
<li>Decompress the file <tt>UnxUtils.zip</tt> to created directory <tt><SDKHOME>\UnxUtils</tt></li><br />
</ol><br />
<br />
'''Result'''<br />
<br />
The applications reside in<br />
<tt><SDKHOME>\UnxUtils\bin</tt> and<br />
<tt><SDKHOME>\UnxUtils\usr\local\wbin</tt><br />
<br />
=== ExifTool ===<br />
<br />
<ol><br />
<li>Create the directory <tt><SDKHOME>\exiftool</tt></li><br />
<li>Decompress the file <tt>exiftool-7.74.zip</tt> to <tt><SDKHOME>\exiftool</tt></li><br />
<li>Rename the file <tt>exiftool(-k).exe</tt> to <tt>exiftool.exe</tt></li><br />
</ol><br />
<br />
'''Result'''<br />
<br />
The application resides in<br />
<tt><SDKHOME>\exiftool</tt><br />
<br />
=== GetText ===<br />
{| class="wikitable"<br />
|- valign="top"<br />
! style="padding:5px; text-align:left" | 32-Bit Directions<br />
! style="padding:5px; text-align:left" | 64-Bit Directions<br />
|- valign="top"<br />
| style="padding:5px; text-align:left" | <ol><br />
<li>Create the directory <tt><SDKHOME>\gettext</tt></li><br />
<li>Decompress the following files to created directory <tt><SDKHOME>\gettext</tt><br />
<ul><br />
<li><tt>gettext-runtime-0.13.1.bin.woe32.zip</tt></li><br />
<li><tt>gettext-tools-0.13.1.bin.woe32.zip</tt></li><br />
<li><tt>libiconv-1.9.1.bin.woe32.zip</tt></li><br />
</ul><br />
</li><br />
</ol><br />
| style="padding:5px; text-align:left" | <ol><br />
<li>Create the directory <tt><SDKHOME>\gettext</tt></li><br />
<li>Decompress the following files into the directory <tt><SDKHOME></tt><br />
<ul><br />
<li><tt>gettext-0.13.1.tar.gz</tt></li><br />
<li><tt>libiconv-1.9.1.tar.gz</tt></li><br />
</ul><br />
After decompress, there should be two new folders in <tt><SDKHOME></tt>: <tt><SDKHOME>\gettext-0.13.1</tt> and <tt><SDKHOME>\libiconv-1.9.1</tt><br />
</li><br />
<li>Apply the <tt>libiconv-1.9.1.diff</tt> patch</li><br />
<li>Apply the <tt>gettext-0.13.1.diff</tt> patch</li><br />
<li>Open a Windows SDK prompt by choosing Start -> Programs -> Microsoft Windows SDK v6.1 -> CMD Shell</li><br />
<li>On the command prompt, enter the following command without any line breaks and press the Return/Enter key:<br/><br />
<pre><br />
setenv /Release /x64 /xp<br />
</pre><br />
It should now refresh and say<br />
<pre><br />
Setting SDK environment relative to <path where you installed the SDK><br />
Targeting Windows XP x64 RELEASE<br />
</pre></li><br />
<li>On the command prompt, change directory to <SDKHOME>\libiconv-1.9.1<br/><br />
'''Example'''<br />
<pre><br />
C:\Program Files\Microsoft\Windows SDK\v6.1>d:<br />
<br />
D:>cd \usr\src\SDK\libiconv-1.9.1<br />
<br />
D:\usr\src\SDK\libiconv-1.9.1><br />
</pre></li><br />
<li>On the command prompt, enter the following commands without any line breaks and press the Return/Enter key, substituting <SDKHOME> where appropriate:<br/><br />
<pre><br />
nmake -f Makefile.msvc NO_NLS=1 MFLAGS=-MT<br />
nmake -f Makefile.msvc NO_NLS=1 MFLAGS=-MT install PREFIX=<SDKHOME>\gettext<br />
cd ..\gettext-0.13.1<br />
nmake -f Makefile.msvc MFLAGS=-MT PREFIX=<SDKHOME>\gettext<br />
nmake -f Makefile.msvc MFLAGS=-MT install PREFIX=<SDKHOME>\gettext<br />
cd ..\libiconv-1.9.2-src<br />
nmake -f Makefile.msvc NO_NLS=1 MFLAGS=-MT distclean<br />
nmake -f Makefile.msvc MFLAGS=-MT PREFIX=<SDKHOME>\gettext<br />
nmake -f Makefile.msvc MFLAGS=-MT install PREFIX=<SDKHOME>\gettext<br />
</pre></li><br />
<li>Close the Windows SDK command prompt window</li><br />
</ol><br />
|} <br />
'''Result'''<br />
<br />
The applications reside in<br />
<tt><SDKHOME>\gettext\bin</tt><br />
<br />
The include files reside in<br />
<tt><SDKHOME>\gettext\include</tt><br />
<br />
The libraries reside in<br />
<tt><SDKHOME>\gettext\lib</tt><br />
=== STLport (64-bit Only) ===<br />
<ol><br />
<li>Decompress the file <tt>STLport-5.2.1.tar.gz</tt> to directory <tt><SDKHOME></tt></li><br />
<li>Open a Windows SDK prompt by choosing Start -> Programs -> Microsoft Windows SDK v6.1 -> CMD Shell</li><br />
<li>On the command prompt, enter the following command without any line breaks and press the Return/Enter key:<br/><br />
<pre><br />
setenv /Release /x64 /xp<br />
</pre><br />
It should now refresh and say<br />
<pre><br />
Setting SDK environment relative to <path where you installed the SDK><br />
Targeting Windows XP x64 RELEASE<br />
</pre></li><br />
<li>On the command prompt, change directory to <SDKHOME>\STLport-5.2.1<br/><br />
'''Example'''<br />
<pre><br />
C:\Program Files\Microsoft\Windows SDK\v6.1>d:<br />
<br />
D:>cd \usr\src\SDK\STLport-5.2.1<br />
<br />
D:\usr\src\SDK\STLport-5.2.1><br />
</pre></li><br />
<li>On the command prompt, enter the following commands without any line breaks and press the Return/Enter key:<br/><br />
<pre>configure msvc9 --with-static-rtl<br />
cd build/lib<br />
nmake clean install</pre><br />
</li><br />
<li>Close the Windows SDK command prompt window</li><br />
</ol><br />
<br />
'''Result'''<br />
<br />
The libraries reside in <tt><SDKHOME>\STLport-5.2.1\lib</tt><br />
<br />
=== lcms-1.18 (64-bit Only) ===<br />
<ol><br />
<li>Decompress the file <tt>lcms-1.18a.tar.gz</tt> to directory <tt><SDKHOME></tt></li><br />
<li>Apply the <tt>lcms-1.18.diff</tt> patch</li><br />
<li>Open the file <tt><SDKHOME>\lcms-1.18\Projects\VC2008\lcms.sln</tt></li><br />
<li>Select "Release" in the Solution Configuration pull-down menu. Select "x64" in the Solution Platform pull-down menu</li><br />
<li>Select project lcms in Solution Explorer, and then choose Build > Project Only > Build Only lcms</li><br />
<li>Close Visual Studio C++ 2008 Express Edition</li><br />
</ol><br />
<br />
'''Result'''<br />
<br />
The library resides in <tt><SDKHOME>\lcms-1.18\Lib\MS</tt><br />
<br />
{| class="wikitable" width="100%"<br />
|-<br />
! style="padding:5px; text-align:left" | Note<br />
|-<br />
| style="padding:5px; text-align:left" | During build process temporary object files are stored in following directories<br />
<ul><br />
<li><tt><SDKHOME>\lcms-1.18\Projects\VC2008\LibDebug</tt></li><br />
<li><tt><SDKHOME>\lcms-1.18\Projects\VC2008\LibRelease</tt></li><br />
</ul><br />
Both directories may be deleted to save disk space.<br />
|}<br />
<br />
=== libxmi-1.2.1 (64-bit Only) ===<br />
<ol><br />
<li>Open the file <tt>libxmi-1.2-1.src.zip</tt> in 7-Zip</li><br />
<li>Open the "src" folder by double-clicking</li><br />
<li>Open the "libxmi" folder by double-clicking</li><br />
<li>Open the "1.2" folder by double-clicking</li><br />
<li>Extract "libxmi-1.2" to the directory <tt><SDKHOME></tt></li><br />
<li>Apply the <tt>libxmi-1.2.diff</tt> patch</li><br />
</ol><br />
<br />
'''Result'''<br />
<br />
The libxmi-1.2 sources now reside in <tt><SDKHOME>\libxmi-1.2</tt><br />
=== wxWidgets ===<br />
<ol><br />
<li>Decompress the file <tt>wxMSW-2.8.10.zip</tt> to directory <tt><SDKHOME></tt></li><br />
<li>Rename the directory <tt><SDKHOME>\wxMSW-2.8.10</tt> to <tt><SDKHOME>\wxWidgets-2.8.10</tt></li><br />
<li>Apply the <tt>wxWidgets-2.8.10.diff</tt> patch [[Hugin SDK (MSVC 2008) Patches#wxWidgets]]</li><br />
<li><br />
{| class="wikitable" width="100%"<br />
|- valign="top"<br />
! style="padding:5px; text-align:left" width="50%" | 32-Bit Directions<br />
! style="padding:5px; text-align:left" | 64-Bit Directions<br />
|- valign="top"<br />
| style="padding:5px; text-align:left" | To open a Visual Studio command prompt choose Start > Programs > Microsoft Visual C++ 2008 Express Edition > Visual Studio Tools > Visual Studio 2008 Command Prompt<br />
| style="padding:5px; text-align:left" | <ol><br />
<li>Open a Windows SDK prompt by choosing Start -> Programs -> Microsoft Windows SDK v6.1 -> CMD Shell</li><br />
<li>On the command prompt, enter the following command without any line breaks and press the Return/Enter key:<br/><br />
<pre><br />
setenv /Release /x64 /xp<br />
</pre><br />
It should now refresh and say<br />
<pre><br />
Setting SDK environment relative to <path where you installed the SDK><br />
Targeting Windows XP x64 RELEASE<br />
</pre></li><br />
</ol><br />
|}</li><br />
<br />
<li>On command prompt change directory to <tt><SDKHOME>\wxWidgets-2.8.10\build\msw</tt><br/><br />
'''Example'''<br />
<pre><br />
C:\Program Files\Microsoft Visual Studio 9.0\VC>d:<br />
<br />
D:\>cd \usr\src\SDK\wxWidgets-2.8.10\build\msw<br />
<br />
D:\usr\src\SDK\wxWidgets-2.8.10\build\msw><br />
</pre><br />
</li><br />
<li>Enter each of the following two commands without any line break and press the Return key<br />
{| class="wikitable" <br />
|- valign="top"<br />
! style="padding:5px; text-align:left" | 32-Bit Directions<br />
! style="padding:5px; text-align:left" | 64-Bit Directions<br />
|- valign="top"<br />
| style="padding:5px; text-align:left" | <pre><br />
nmake -f makefile.vc BUILD=debug UNICODE=1 SHARED=0 USE_OPENGL=1 RUNTIME_LIBS=static<br />
nmake -f makefile.vc BUILD=release UNICODE=1 SHARED=0 USE_OPENGL=1 RUNTIME_LIBS=static<br />
</pre><br />
| style="padding:5px; text-align:left" | <pre><br />
nmake -f makefile.vc BUILD=debug TARGET_CPU=AMD64 UNICODE=1 SHARED=0 USE_OPENGL=1 RUNTIME_LIBS=static<br />
nmake -f makefile.vc BUILD=release TARGET_CPU=AMD64 UNICODE=1 SHARED=0 USE_OPENGL=1 RUNTIME_LIBS=static<br />
</pre><br />
|}<br />
</li><br />
<li>Close the Windows SDK command prompt window</li><br />
<li>(64-bit Only)Rename the folder <tt><SDKHOME>wxWidgets-2.8.10\lib\vc_amd64_lib</tt> to <tt><SDKHOME>wxWidgets-2.8.10\lib\vc_lib</tt></li><br />
</ol><br />
<br />
'''Result'''<br />
<br />
The include files reside in<br />
<tt><SDKHOME>\wxWidgets-2.8.10\include</tt> and its subdirectories<br />
<br />
Additional Hugin depends on following files<br />
<ul><br />
<li><tt><SDKHOME>\wxWidgets-2.8.10\src\jpg\*.h</tt></li><br />
<li><tt><SDKHOME>\wxWidgets-2.8.10\src\jpg\jconfig.vc</tt></li><br />
<li><tt><SDKHOME>\wxWidgets-2.8.10\src\png\*.h</tt></li><br />
<li><tt><SDKHOME>\wxWidgets-2.8.10\src\tiff\*.h</tt></li><br />
<li><tt><SDKHOME>\wxWidgets-2.8.10\src\zlib\*.h</tt></li><br />
</ul><br />
<br />
The libraries reside in<br />
<tt><SDKHOME>\wxWidgets-2.8.10\lib\vc_lib</tt><br />
<br />
{| class="wikitable"<br />
|-<br />
! style="padding:5px; text-align:left" | Note<br />
|-<br />
| style="padding:5px; text-align:left" | During build process temporary object files are stored in following directories<br />
{| class="wikitable" width="100%"<br />
|- valign="top"<br />
! style="padding:5px; text-align:left" | 32-Bit <br />
! style="padding:5px; text-align:left" | 64-Bit<br />
|- valign="top"<br />
| style="padding:5px; text-align:left" | <ul><br />
<li><tt><SDKHOME>\wxWidgets-2.8.10\build\msw\vc_mswu</tt></li><br />
<li><tt><SDKHOME>\wxWidgets-2.8.10\build\msw\vc_mswud</tt></li><br />
</ul><br />
| style="padding:5px; text-align:left" | <br />
<ul><br />
<li><tt><SDKHOME>\wxWidgets-2.8.10\build\msw\vc_mswu_amd64</tt></li><br />
<li><tt><SDKHOME>\wxWidgets-2.8.10\build\msw\vc_mswud_amd64</tt></li><br />
</ul><br />
|}<br />
Both directories may be deleted to save disk space.<br />
|}<br />
<br />
=== Boost ===<br />
<br />
<ol><br />
<li>Decompress the file <tt>boost_1_39_0.7z</tt> to directory <tt><SDKHOME></tt></li><br />
<li>Decompress the file <tt>boost-jam-3.1.17-1-ntx86.zip</tt> to an arbitrary directory and copy the application <tt>bjam.exe</tt> to <tt><SDKHOME>\boost_1_39_0</tt></li><br />
<li>To open a Windows command prompt choose Start > Run, then enter <tt>cmd.exe</tt> and click OK.</li><br />
<li>On command prompt change directory to <tt><SDKHOME>\boost_1_39_0</tt><br/><br />
'''Example'''<br />
<pre><br />
Microsoft Windows XP [Version 5.1.2600]<br />
(C) Copyright 1985-2001 Microsoft Corp.<br />
<br />
C:\Dokuments and Settings\Guido>d:<br />
<br />
D:\>cd \usr\src\SDK\boost_1_39_0<br />
<br />
D:\usr\src\SDK\boost_1_39_0><br />
</pre><br />
</li><br />
<li>Enter the following command without line breaks and press Return key<br/><br />
{| class="wikitable" <br />
|- valign="top"<br />
! style="padding:5px; text-align:left" | 32-Bit Directions<br />
! style="padding:5px; text-align:left" | 64-Bit Directions<br />
|- valign="top"<br />
| style="padding:5px; text-align:left" | <pre><br />
bjam --with-date_time --with-thread toolset=msvc variant=debug variant=release link=static threading=multi runtime-link=static stage<br />
</pre><br />
After <tt>bjam.exe</tt> finished a statement like the following should be printed in the command prompt window<br />
<pre><br />
...updated 56 targets...<br />
<br />
d:\usr\src\SDK\boost_1_39_0><br />
</pre><br />
<br />
Since September 2010 Hugin requieres also the boost libraries regex, filesystem, iostream and system, since November 2010 also the boost library signals. If you want to compile this version you need to compile Boost lib with <br />
<pre><br />
bjam --with-date_time --with-thread --with-regex --with-filesystem --with-iostreams --with-system --with-signals toolset=msvc variant=debug variant=release link=static threading=multi runtime-link=static stage<br />
</pre><br />
<br />
| style="padding:5px; text-align:left" | <pre><br />
bjam --with-date_time --with-thread toolset=msvc variant=debug variant=release link=static threading=multi runtime-link=static address-model=64 stage<br />
</pre><br />
After <tt>bjam.exe</tt> finished a statement like the following should be printed in the command prompt window<br />
<pre><br />
...updated 26 targets...<br />
</pre><br />
|}</li><br />
<br />
<li>Close the Windows command prompt window</li><br />
</ol><br />
<br />
'''Result'''<br />
<br />
The include files reside in<br />
<tt><SDKHOME>\boost_1_39_0</tt> and its subdirectory <tt>boost</tt><br />
<br />
The libraries reside in<br />
<tt><SDKHOME>\boost_1_39_0\stage\lib</tt><br />
<br />
{| class="wikitable" width="100%"<br />
|-<br />
! style="padding:5px; text-align:left" | Notes<br />
|-<br />
|<ul><br />
<li>During build process temporary files are generated in <tt><SDKHOME>\boost_1_39_0\bin.v2</tt>. This directory may be deleted to save disk space.<br />
</li><br />
<li>Hugin needs only the two Boost libraries <tt>date_time</tt> and <tt>thread</tt>, thus only these two libraries have to be built.<br/><br />
If you want to build all Boost libraries enter following command on the Windows command prompt instead of the command described above and press Return key.<br />
<pre><br />
bjam -–build-type=complete toolset=msvc stage<br />
</pre><br />
There are about 7GB disc space needed during build of all libraries (3.5GB for libraries and the same amount for the temporary files).<br />
</li><br />
<li>The Boost include files are typically included by a statement like<br/><br />
<tt>#include "boost/whatever.hpp"</tt><br/><br />
Therefore the base directory of the Boost include files is <tt><SDKHOME>\boost_1_39_0</tt><br />
</li><br />
<li>Only the following libraries are needed to build a release version of Hugin:<br />
<ul><br />
<li><tt>libboost_date_time-vc90-mt-s-1_39.lib</tt></li><br />
<li><tt>libboost_thread-vc90-mt-s-1_39.lib</tt></li><br />
</ul><br />
The files with "<tt>gd</tt>" in the filename, e.g. <tt>libboost_thread-vc90-mt-sgd-1_39.lib</tt>, are the debug libraries.<br />
The library files without "<tt>-1_39</tt>" suffix are automatically generated copies of the libraries with version suffix. They are used by CMake to detect the library directory.<br />
</li><br />
</ul><br />
|}<br />
<br />
=== OpenEXR ===<br />
<br />
OpenEXR depends on following SDK component:<br />
<ul><br />
<li>wxWidgets</li><br />
</ul><br />
Prepare this component before OpenEXR.<br />
<br />
<ol><br />
<li>Create the directory <tt><SDKHOME>\OpenEXR</tt></li><br />
<li>Decompress the file <tt>ilmbase-1.0.1.tar.gz</tt> to created directory <tt><SDKHOME>\OpenEXR</tt><br/><br />
<li>Decompress the file <tt>openexr-1.6.1.tar.gz</tt> to the same directory <tt><SDKHOME>\OpenEXR</tt><br/><br />
After decompress there should only exist the two directories <tt>ilmbase-1.0.1</tt> and <tt>openexr-1.6.1</tt> in <tt><SDKHOME>\OpenEXR</tt></li><br />
<li>Apply the <tt>OpenEXR.diff</tt> patch [[Hugin SDK (MSVC 2008) Patches#OpenEXR]]</li><br />
<li>Open solution file <tt><SDKHOME>\OpenEXR\ilmbase-1.0.1\vc\vc8\IlmBase\IlmBase.sln</tt></li><br />
<li>Select Debug in Solutions Configuration pull-down menu, and then choose Build > Build Solution</li><br />
<li>Select Release in Solutions Configuration pull-down menu, and then choose Build > Build Solution</li><br />
<li>Open solution file <tt><SDKHOME>\OpenEXR\openexr-1.6.1\vc\vc8\OpenEXR\OpenEXR.sln</tt></li><br />
<li>Choose Build > Batch Build</li><br />
<li>Select Build for Project IlmImf with Solution Config <br/><br />
{| class="wikitable" <br />
|- valign="top"<br />
! style="padding:5px; text-align:left" | 32-Bit<br />
! style="padding:5px; text-align:left" | 64-Bit<br />
|- valign="top"<br />
| style="padding:5px; text-align:left" | Solution Config: "Debug" with Platform: "Win32"<br/><br />
Solution Config: "Release" with Platform: "Win32"<br />
| style="padding:5px; text-align:left" | Solution Config: "Debug" with Platform: "x64"<br/><br />
Solution Config: "Release" with Platform: "x64"<br />
|}</li><br />
<li>Click Build</li><br />
<li>Close Visual C++ 2008 Express Edition</li><br />
</ol><br />
<br />
'''Result'''<br />
<br />
The include files reside in<br />
<tt><SDKHOME>\Deploy\include</tt><br />
<br />
The libraries reside in<br />
<tt><SDKHOME>\Deploy\lib\Debug</tt> and<br />
<tt><SDKHOME>\Deploy\lib\Release</tt><br />
<br />
=== Enblend and Enfuse ===<br />
{| class="wikitable" <br />
|- valign="top"<br />
! style="padding:5px; text-align:left" | 32-Bit Directions<br />
! style="padding:5px; text-align:left" | 64-Bit Directions<br />
|- valign="top"<br />
| style="padding:5px; text-align:left" | <ol><br />
<li>Decompress the file <tt>enblend-enfuse-3.2.zip</tt> to directory <tt><SDKHOME></tt></li><br />
</ol><br />
| style="padding:5px; text-align:left" | Enblend & Enfuse depend on the following SDK components:<br />
<ul><br />
<li>wxWidgets</li><br />
<li>OpenEXR</li><br />
<li>lcms</li><br />
<li>STLport</li><br />
<li>boost</li><br />
<li>libxmi</li><br />
</ul><br />
Prepare these components before Enblend & Enfuse.<br />
<br />
<ol><br />
<li>Decompress the file <tt>enblend-enfuse-3.2.tar.gz</tt> to directory <tt><SDKHOME></tt><br/><br />
After decompression, you should now have a folder <tt><SDKHOME>\enblend-enfuse-3.2</tt></li><br />
<li>Apply the <tt>enblend-enfuse-3.2.diff</tt> patch [[Hugin SDK (MSVC 2008) Patches#Enblend/Enfuse/libxmi]]</li><br />
<li>Open the file <tt><SDKHOME>\enblend-enfuse-3.2\enblend_msvc2008.sln</tt></li><br />
<li>Select Release in Solutions Configuration pull-down menu, choose x64 in the Solutions Platform pull-down menu, and then choose Build > Build Solution</li><br />
<li>Close Visual C++ 2008 Express Edition</li><br />
</ol><br />
|}<br />
'''Result'''<br />
<br />
The applications reside in <tt><SDKHOME>\enblend-enfuse-3.2</tt><br />
<br />
=== Expat ===<br />
<br />
<ol><br />
<li>Decompress the file <tt>expat-2.0.1.tar.gz</tt> to directory <tt><SDKHOME></tt></li><br />
<li>Apply the <tt>expat-2.0.1.diff</tt> patch [[Hugin SDK (MSVC 2008) Patches#expat]]</li><br />
<li>Open the file <tt><SDKHOME>\expat-2.0.1\Source\expat.sln</tt></li><br />
<li>Choose Build > Batch Build</li><br />
<li>Select Build for Project expat_static with <br/><br />
{| class="wikitable" <br />
|- valign="top"<br />
! style="padding:5px; text-align:left" | 32-Bit<br />
! style="padding:5px; text-align:left" | 64-Bit<br />
|- valign="top"<br />
| style="padding:5px; text-align:left" | Solution Config: "Debug" with Platform: "Win32"<br/><br />
Solution Config: "Release" with Platform: "Win32"<br />
| style="padding:5px; text-align:left" | Solution Config: "Debug" with Platform: "x64"<br/><br />
Solution Config: "Release" with Platform: "x64"<br />
|}</li><br />
<li>Click Build</li><br />
<li>Close Visual C++ 2008 Express Edition</li><br />
</ol><br />
<br />
'''Result'''<br />
<br />
The include files reside in<br />
<tt><SDKHOME>\expat-2.0.1\lib</tt><br />
<br />
The libraries reside in<br />
<tt><SDKHOME>\expat-2.0.1\win32\bin\Debug</tt> and<br />
<tt><SDKHOME>\expat-2.0.1\win32\bin\Release</tt><br />
<br />
=== Exiv2 ===<br />
<br />
Exiv2 depends on following SDK components:<br />
<ul><br />
<li>wxWidgets</li><br />
<li>GetText</li><br />
<li>Expat</li><br />
</ul><br />
Prepare these components before Exiv2.<br />
<br />
<ol><br />
<li>Decompress the file <tt>exiv2-0.18.1.tar.gz</tt> to directory <tt><SDKHOME></tt></li><br />
<li>Apply the <tt>exiv2-0.18.1.diff</tt> patch [[Hugin SDK (MSVC 2008) Patches#exiv2]]</li><br />
<li>(64-bit Only)Apply the <tt>exiv2-0.18.1.x64.diff</tt> patch</li><br />
<li>Open solution file <tt><SDKHOME>\exiv2-0.18.1\msvc\exiv2.sln</tt></li><br />
<li>In the Solution Explorer, select "exiv2lib"</li><br />
<li>Select Debug in Solutions Configuration pull-down menu and your platform in the Solution Platform pull-down menu, and then choose Build > Build exiv2lib</li><br />
<li>Select Release in Solutions Configuration pull-down menu and your platform in the Solution Platform pull-down menu, and then choose Build > Build exiv2lib</li><br />
<li>Close Visual C++ 2008 Express Edition</li><br />
<li>Create the directory <tt><SDKHOME>\exiv2-0.18.1\msvc\lib</tt></li><br />
<li>Copy the following files to this directory and rename them as specified in Destination column.<br />
<br />
{| class="wikitable"<br />
|- valign="top"<br />
! style="padding:5px; text-align:left" | Source<br />
! style="padding:5px; text-align:left" | Destination<br />
|-<br />
| style="padding:5px; text-align:left" | <tt><SDKHOME>\exiv2-0.18.1\msvc\bin\Debug\exiv2.lib</tt><br />
| style="padding:5px; text-align:left" | <tt><SDKHOME>\exiv2-0.18.1\msvc\lib\''exiv2d''.lib</tt><br />
|-<br />
| style="padding:5px; text-align:left" | <tt><SDKHOME>\exiv2-0.18.1\msvc\bin\Release\exiv2.lib</tt><br />
| style="padding:5px; text-align:left" | <tt><SDKHOME>\exiv2-0.18.1\msvc\lib\exiv2.lib</tt><br />
|-<br />
| style="padding:5px; text-align:left" | <tt><SDKHOME>\expat-2.0.1\win32\bin\Debug\libexpatMT.lib</tt><br />
| style="padding:5px; text-align:left" | <tt><SDKHOME>\exiv2-0.18.1\msvc\lib\''libexpatd''.lib</tt><br />
|-<br />
| style="padding:5px; text-align:left" | <tt><SDKHOME>\expat-2.0.1\win32\bin\Release\libexpatMT.lib</tt><br />
| style="padding:5px; text-align:left" | <tt><SDKHOME>\exiv2-0.18.1\msvc\lib\''libexpat''.lib</tt><br />
|}<br />
</li><br />
</ol><br />
<br />
'''Comment'''<br />
<br />
When using exiv2 0.19 (which works better with bigger files), copy and rename also the following files:<br />
<br />
{| class="wikitable"<br />
|- valign="top"<br />
! style="padding:5px; text-align:left" | Source<br />
! style="padding:5px; text-align:left" | Destination<br />
|-<br />
| style="padding:5px; text-align:left" | <tt><SDKHOME>\exiv2-0.19\msvc\xmpsdk\Debug\xmpsdk.lib</tt><br />
| style="padding:5px; text-align:left" | <tt><SDKHOME>\exiv2-0.19\msvc\lib\''xmpsdkd''.lib</tt><br />
|-<br />
| style="padding:5px; text-align:left" | <tt><SDKHOME>\exiv2-0.19\msvc\xmpsdk\Release\xmpsdk.lib</tt><br />
| style="padding:5px; text-align:left" | <tt><SDKHOME>\exiv2-0.19\msvc\lib\xmpsdk.lib</tt><br />
|}<br />
<br />
'''Result'''<br />
<br />
The include files reside in<br />
<tt><SDKHOME>\exiv2-0.18.1\msvc\include</tt><br />
<br />
The libraries reside in<br />
<tt><SDKHOME>\exiv2-0.18.1\msvc\lib</tt><br />
<br />
=== GLEW ===<br />
<br />
<ol><br />
<li>Decompress the file <tt>glew-1.5.1-src.zip</tt> to directory <tt><SDKHOME></tt></li><br />
<li>Apply the <tt>glew.diff</tt> patch [[Hugin SDK (MSVC 2008) Patches#glew]]</li><br />
<li>Open the file <tt><SDKHOME>\glew\build\vc6\glew.sln</tt></li><br />
<li>Choose Build > Batch Build</li><br />
<li>Select Build for Project glew_static with Solution Config <br/><br />
{| class="wikitable" <br />
|- valign="top"<br />
! style="padding:5px; text-align:left" | 32-Bit<br />
! style="padding:5px; text-align:left" | 64-Bit<br />
|- valign="top"<br />
| style="padding:5px; text-align:left" | Solution Config: "Debug" with Platform: "Win32"<br/><br />
Solution Config: "Release" with Platform: "Win32"<br />
| style="padding:5px; text-align:left" | Solution Config: "Debug" with Platform: "x64"<br/><br />
Solution Config: "Release" with Platform: "x64"<br />
|}</li><br />
<li>Click Build</li><br />
<li>Close Visual C++ 2008 Express Edition</li><br />
</ol><br />
<br />
'''Result'''<br />
<br />
The include files reside in<br />
<tt><SDKHOME>\glew\include</tt><br />
<br />
The libraries reside in<br />
<tt><SDKHOME>\glew\lib</tt><br />
<br />
{| class="wikitable" width="100%"<br />
|-<br />
! style="padding:5px; text-align:left" | Note<br />
|-<br />
| style="padding:5px; text-align:left" | The GLEW include files are typically included by a statement like<br/><tt>#include "GL/glew.h"</tt><br/>Therefore the base directory of the GLEW include files is <tt><SDKHOME>\glew\include</tt><br />
|}<br />
<br />
=== Panorama Tools ===<br />
<br />
Panorama Tools depends on following SDK component:<br />
<ul><br />
<li>wxWidgets</li><br />
</ul><br />
Prepare this component before Panoroma Tools.<br />
<br />
<ol><br />
<li>Set two windows environment variables:<br />
<ul><br />
<li>Set variable <tt>WXWIDGETS_HOME</tt> to wxWidgets base folder <tt><SDKHOME>\wxWidgets-2.8.10</tt></li><br />
<li>Set variable <tt>JDK_HOME</tt> to Java SE Development Kit's destination directory name. This directory name was shown during the setup, e.g. <tt>C:\Program Files\Java\jdk1.6.0_13</tt></li><br />
</ul><br />
To take effect on changes of environment variables you may have to logout and login.<br />
</li><br />
<li>Create the directory <tt><SDKHOME>\libpano\pano13</tt></li><br />
<li>In explorer right-click on created directory <tt><SDKHOME>\libpano\pano13</tt></li>, and then choose SVN Checkout from the shortcut menu. The Checkout dialog appears.</li><br />
<li>In "URL of repository" field enter following address:<br />
<pre><br />
https://panotools.svn.sourceforge.net/svnroot/panotools/trunk/libpano<br />
</pre><br />
</li><br />
<li>Click OK</li><br />
<li>After checkout has finished click OK</li><br />
<li>Apply the <tt>libpano.diff</tt> patch [[Hugin SDK (MSVC 2008) Patches#Panorama Tools]]</li><br />
<li>Open solution file <tt><SDKHOME>\libpano\pano13\libpano.sln</tt></li><br />
<li>Select your platform in the Solution Platform pull-down menu</li><br />
<li>Select "Debug LIB CMD" in Solution Configuration pull-down menu</li><br />
<li>Select project pano13 in Solution Explorer, and then choose Build > Project Only > Build Only pano13</li><br />
<li>Select "Release LIB CMD" in Solution Configuration pull-down menu, and then choose Build > Build Solution</li><br />
<li>Close Visual C++ 2008 Express Edition</li><br />
</ol><br />
<br />
'''Result'''<br />
<br />
The applications reside in<br />
<tt><SDKHOME>\libpano\pano13\tools\Release</tt><br />
<br />
The include files reside in<br />
<tt><SDKHOME>\libpano\pano13</tt><br />
<br />
The libraries reside in<br />
"<tt><SDKHOME>\libpano\pano13\Debug LIB CMD</tt>" and <br />
"<tt><SDKHOME>\libpano\pano13\Release LIB CMD</tt>"<br />
<br />
{| class="wikitable" width="100%"<br />
|- valign="top"<br />
! style="padding:5px; text-align:left" | Note<br />
|- valign="top"<br />
| style="padding:5px; text-align:left" | The applications have to be built in release version only. Therefore only pano13 library has to be built in Debug configuration.<br />
|}<br />
<br />
=== libxml2 ===<br />
<br />
<ol><br />
<li>Decompress the file <tt>libxml2-sources-2.7.3.tar.gz</tt> to directory <tt><SDKHOME></tt></li><br />
<li><br />
{| class="wikitable" <br />
|- valign="top"<br />
! style="padding:5px; text-align:left" | 32-Bit Directions<br />
! style="padding:5px; text-align:left" | 64-Bit Directions<br />
|- valign="top"<br />
| style="padding:5px; text-align:left" | <ol><li>To open a Visual Studio command prompt choose Start > Programs > Microsoft Visual C++ 2008 Express Edition > Visual Studio Tools > Visual Studio 2008 Command Prompt</li></ol><br />
| style="padding: 5px; text-align:left" | <ol><br />
<li>Open a Windows SDK prompt by choosing Start -> Programs -> Microsoft Windows SDK v6.1 -> CMD Shell</li><br />
<li>On the command prompt, enter the following command without any line breaks and press the Return/Enter key:<br/><br />
<pre><br />
setenv /Release /x64 /xp<br />
</pre><br />
It should now refresh and say<br />
<pre><br />
Setting SDK environment relative to <path where you installed the SDK><br />
Targeting Windows XP x64 RELEASE<br />
</pre></li><br />
</ol><br />
|}<br />
</li><br />
<br />
<li>On command prompt change directory to <tt><SDKHOME>\libxml2-2.7.3\win32</tt><br/><br />
'''Example'''<br />
<pre><br />
Setting environment for using Microsoft Visual Studio 2008 x86 tools.<br />
<br />
C:\Program Files\Microsoft Visual Studio 9.0\VC>d:<br />
<br />
D:\>cd \usr\src\SDK\libxml2-2.7.3\win32 <br />
<br />
D:\usr\src\SDK\libxml2-2.7.3\win32><br />
</pre><br />
<br />
<li>Enter each of the following two commands without any line break and press the Return key.<br />
<pre><br />
cscript configure.js ftp=no http=no iconv=no cruntime=/MT<br />
nmake -f makefile.msvc libxmla<br />
</pre><br />
</li><br />
</ol><br />
<br />
'''Result'''<br />
<br />
The include files reside in<br />
<tt><SDKHOME>\libxml2-2.7.3\include</tt><br />
<br />
The libraries reside in<br />
<tt><SDKHOME>\libxml2-2.7.3\win32\bin.msvc</tt><br />
<br />
{| class="wikitable" width="100%"<br />
|-<br />
! style="padding:5px; text-align:left" | Notes<br />
|-<br />
| style="padding:5px; text-align:left" | <ul><br />
<li>During build process temporary object files are generated in directory<br />
<tt><SDKHOME>\libxml2-2.7.3\win32\int.a.msvc</tt>.<br />
This directories may be deleted to save disc space.</li><br />
<li>Hugin does not depend on libxml2 library, but autopano-sift-C. Therefore it is included in this SDK.</li><br />
</ul><br />
|}<br />
<br />
=== autopano-sift-C ===<br />
<br />
Autopano-SIFT-C depends on following SDK components:<br />
<ul><br />
<li>libxml2</li><br />
<li>Panorama Tool's pano13 library</li><br />
<li>wxWidgets</li><br />
</ul><br />
Prepare these components before Autopano-SIFT-C.<br />
<br />
<ol><br />
<li>Create the directory <tt><SDKHOME>\autopano-sift-C-trunk</tt></li><br />
<li>In explorer right-click on created directory <tt><SDKHOME>\autopano-sift-C-trunk</tt>, and then choose SVN Checkout from the shortcut menu. The Checkout dialog appears.</li><br />
<li>In "URL of repository" field enter following address:<br />
<pre><br />
https://hugin.svn.sourceforge.net/svnroot/hugin/autopano-sift-C/trunk<br />
</pre><br />
</li><br />
<li>Click OK</li><br />
<li>After checkout has finished click OK</li><br />
<li>Start CMake (cmake-gui). The CMake dialog appears.</li><br />
<li>In "Where is the source code" field enter<br />
<pre><br />
<SDKHOME>\autopano-sift-C-trunk<br />
</pre><br />
Alternatively click Browse Source to point to this directory</li><br />
<li>In "Where to build the binaries" field enter<br />
<pre><br />
<SDKHOME>\autopano-sift-C<br />
</pre><br />
</li><br />
<li>Click Configure<br/><br />
If a dialog appears, which asks to create the build directoy, click Yes.<br/><br />
A dialog appears, where you can specify the generator for the project.</li><br />
<li><br />
{| class="wikitable" <br />
|- valign="top"<br />
! style="padding:5px; text-align:left" | 32-Bit Directions<br />
! style="padding:5px; text-align:left" | 64-Bit Directions<br />
|- valign="top"<br />
| style="padding:5px; text-align:left" | Select "Visual Studio 9 2008" and select option "Use default native compilers"<br />
| style="padding:5px; text-align:left" | Select "Visual Studio 9 2008 Win64" and select option "Use default native compilers"<br />
|}</li><br />
<li>Click Finish<br/><br />
In the Name and Value list the entries are shown with red background.</li><br />
<li>Click Configure</li><br />
<li>Click Generate</li><br />
<li>Close CMake</li><br />
<li>Open solution file <tt><SDKHOME>\autopano-sift-C\autopano-sift-C.sln</tt></li><br />
<li>Select Release in Solution Configuration pull-down menu, and then choose Build > Build Solution</li><br />
<li>Select project INSTALL in Solution Explorer, and then choose Build > Project Only > Build Only INSTALL</li><br />
<li>Close Visual C++ 2008 Express Edition</li><br />
<li><br />
Copy the directories <tt>bin</tt> and <tt>shared</tt> from <tt><SDKHOME>\autopano-sift-C\INSTALL\FILES</tt> to <tt><SDKHOME>\autopano-sift-C</tt></li><br />
</ol><br />
<br />
'''Result'''<br />
<br />
The applications reside in<br />
<tt><SDKHOME>\autopano-sift-C\bin</tt><br />
<br />
The manual pages reside in<br />
<tt><SDKHOME>\autopano-sift-C\shared</tt><br />
<br />
{| class="wikitable" width="100%"<br />
|- valign="top"<br />
! style="padding:5px; text-align:left" | Note<br />
|- valign="top"<br />
| style="padding:5px; text-align:left" | To save disk space you may delete all files and directories in <tt><SDKHOME>\autopano-sift-C</tt>, except the subdirectories <tt>bin</tt> and <tt>shared</tt>.<br />
|}<br />
<br />
=== Freeglut ===<br />
<ol><br />
<li>Decompress the file <tt>freeglut-2.6.0.tar.gz</tt> to directory <tt><SDKHOME></tt></li><br />
<li>Open the file <tt><SDKHOME>\freeglut-2.6.0\VisualStudio2008Static\freeglut.sln</tt></li><br />
<li>Select "Debug" in the Solution Configuration pull-down menu. </li><br />
<li>Select project freeglut in Solution Explorer, and then choose Build > Project Only > Build Only freeglut</li><br />
<li>Select "Release" in the Solution Configuration pull-down menu. </li><br />
<li>Select project freeglut in Solution Explorer, and then choose Build > Project Only > Build Only freeglut</li><br />
<li>Close Visual Studio C++ 2008 Express Edition</li><br />
</ol><br />
<br />
'''Result'''<br />
<br />
The library resides in <tt><SDKHOME>\freeglut-2.6.0\VisualStudio2008Static\Debug</tt> and <tt><SDKHOME>\freeglut-2.6.0\VisualStudio2008Static\Release</tt><br />
<br />
=== GNU Make ===<br />
<ol><br />
<li>Decompress the file <tt>make-3.81.tar.gz</tt> to directory <tt><SDKHOME></tt></li><br />
<li>Open the file <tt><SDKHOME>\make-3.81\make_msvc_net2003.sln</tt> (Confirm convertion.)</li> <br />
<li>Select "Release" in the Solution Configuration pull-down menu. </li><br />
<li>Select project make_msvc.net2003 Solution Explorer, and then choose Build > Project</li><br />
<li>Close Visual Studio C++ 2008 Express Edition</li><br />
<li>Rename the file <tt><SDKHOME>\make-3.81\Release\make_msvc.net2003.exe</tt> to <tt><SDKHOME>\make-3.81\Release\make.exe</tt><br />
</ol><br />
<br />
'''Result'''<br />
<br />
The executable make.exe resides in <tt><SDKHOME>\make-3.81\Release\</tt><br />
<br />
(All other files in this directory can be deleted to save space.)<br />
<br />
<br />
[[User:Ryansleevi|Ryan Sleevi]] 17:00, 9 May 2009 (UTC)<br />
<br />
[[Category:Software:Hugin]]<br />
[[Category:Software:Platform:Windows]]</div>Davidefahttps://wiki.panotools.org/index.php?title=Hugin_SDK_(MSVC_2008)&diff=12807Hugin SDK (MSVC 2008)2010-11-06T14:58:36Z<p>Davidefa: </p>
<hr />
<div>Hugin depends on different components like libraries and tools, which are not available on a common Windows system. All these components can be combined to a Hugin Software Development Kit (SDK). This article gives step-by-step instructions to build such SDK for Hugin using Microsoft Visual C++ 2008 (MSVC 2008) Express Edition and precompiled dependencies. <br />
<br />
While this article is designed for developing a native 32-bit version, additional instructions are provided so that a 64-bit version of the Hugin SDK can be compiled. When appropriate, steps that only apply to the 32-bit or 64-bit versions will be noted as (32-bit) or (64-bit), and you can safely ignore them if you are not targeting that particular version. In order to compile a 64-bit version of the Hugin SDK, one does not need a 64-bit computer. However, if they wish to test or debug the binaries, or for some projects (such as OpenEXR) which execute compiled binaries as part of their build step, this will not necessarily be possible on Win32.<br />
<br />
First of all an overview is given over the contents of the SDK and the tools that are necessary to build the SDK.<br />
<br />
The build steps for each component are written like a walk-through and annotated on the end of each section.<br />
<br />
Maybe some of the described tools and packages, especially those fetched from Subversion (SVN) repository, will change over time and/or become obsolete. Hence it is likely that some steps will become invalid or won't work any more.<br />
<br />
The SDK is structured, that each component resides in its own subdirectory. This approach is different to other platforms like Linux, where some common directories are available to store include files, libraries and applications. The files of a component are spread over all these directories. Both approaches to structure the files in a file system have its assets and drawbacks.<br />
<br />
The base directory of the SDK is denoted as <tt><SDKHOME></tt> in this article. Replace <tt><SDKHOME></tt> by directory name where you store the SDK on your system. In the examples <tt><SDKHOME></tt> is replaced by the directory name <tt>D:\usr\src\SDK</tt>.<br />
<br />
== Prerequisites ==<br />
<br />
To build the SDK some tools are required that are listed in the table below. Download the tools and install them. The destination directory of each tool is arbitrary. If you are uncertain, choose the default given in the setup dialog of each tool.<br />
<br />
{| class="wikitable" width="100%"<br />
|- valign="top"<br />
! style="padding:5px; text-align:left" width="30%" | Tool<br />
! style="padding:5px; text-align:left" | Description<br />
|- valign="top"<br />
| style="padding:5px; text-align:left" | Microsoft Visual C++ 2008 Express Edition<br />
| style="padding:5px; text-align:left" | Compiler, Debugger and IDE<br/>Visit [http://www.microsoft.com/express/vc/ Download page] <br>If compiling for 64-bit, you will need to [http://jenshuebel.wordpress.com/2009/02/12/visual-c-2008-express-edition-and-64-bit-targets/ enable Express Edition to compile 64-bit projects]. <br />
|- valign="top"<br />
| style="padding:5px; text-align:left" | (x64 Only) Microsoft Windows SDK for Windows Server 2008 and .NET Framework 3.5<br />
| style="padding:5px; text-align:left" | x64 Compiler, Libraries, and Headers<br/>Visit [http://www.microsoft.com/downloads/details.aspx?FamilyId=F26B1AA4-741A-433A-9BE5-FA919850BDBF]<br> When installing, make sure to include the Visual C++ compilers for x64 (under Developer Tools) and the Header Files and x64 libraries (under Windows Headers and Libraries). Optionally consider installing all of the SDK, as it makes compiling generally easier.<br />
|- valign="top"<br />
| style="padding:5px; text-align:left" | CMake 2.6.4 (2009-05-05)<br />
| style="padding:5px; text-align:left" | Generator of solution and project files for MSVC 2008<br/>Visit [http://www.cmake.org/cmake/resources/software.html#latest Download page] or download [http://www.cmake.org/files/v2.6/cmake-2.6.4-win32-x86.exe <tt>cmake-2.6.4-win32-x86.exe</tt>]<br />
|- valign="top"<br />
| style="padding:5px; text-align:left" | TortoiseSVN 1.6.1.16129 (2009-02-13)<br />
| style="padding:5px; text-align:left" | Tool to handle source codes in Subversion repositories<br/>Visit [http://tortoisesvn.net/downloads Download page] or download<br/> [http://downloads.sourceforge.net/tortoisesvn/TortoiseSVN-1.6.1.16129-win32-svn-1.6.1.msi <tt>TortoiseSVN-1.6.1.16129-win32-svn-1.6.1.msi (32-bit)</tt>] or<br/> [http://downloads.sourceforge.net/tortoisesvn/TortoiseSVN-1.6.1.16129-x64-svn-1.6.1.msi <tt>TortoiseSVN-1.6.1.16129-x64-svn-1.6.1.msi (64-bit)</tt>]<br />
|- valign="top"<br />
| style="padding:5px; text-align:left" | TortoiseHg 1.0.4 (2010-06-11)<br />
| style="padding:5px; text-align:left" | Tool to handle source codes in Mercurial repositories<br/>Visit [http://tortoisehg.bitbucket.org/ Download page]<br/> <br />
|- valign="top"<br />
| style="padding:5px; text-align:left" | 7-Zip 4.65 (2009-02-03)<br />
| style="padding:5px; text-align:left" | Tool to decompress the source packages<br/>Visit [http://www.7-zip.org/download.html Download page] or download [http://downloads.sourceforge.net/sevenzip/7z465.exe <tt>7z465.exe (32-bit)</tt>] or [http://downloads.sourceforge.net/sevenzip/7z465-x64.msi <tt>7z465-x64.msi (64-bit)</tt>]<br />
|- valign="top"<br />
| style="padding:5px; text-align:left" | Java SE Development Kit 6 Update 13<br />
| style="padding:5px; text-align:left" | Java Development Kit (JDK)<br/>Visit [http://java.sun.com/javase/downloads/index.jsp Download page]<br />
|}<br />
<br />
== Contents of the Hugin SDK ==<br />
<br />
=== Precompiled Version (32-bit only) ===<br />
<br />
For those who want to avoid to build the whole SDK from scratch a precompiled SDK is available.<br />
<br />
{| class="wikitable" width="100%"<br />
|- valign="top"<br />
! style="padding:5px; text-align:left" | Precompiled Hugin SDK (Win32)<br />
|- valign="top"<br />
| style="padding:5px; text-align:left" | [http://hugin.panotools.org/sdk/MSVC/Hugin-SDK-20090509-win32.exe <tt>Hugin-SDK-20090509-win32.exe </tt>] (76 MiB, 2009-05-09)<br />
|}<br />
<br />
=== Building from Source ===<br />
The contents of the Hugin SDK is shown in the following table. Download the packages, except the packages fetched from Subversion repository.<br />
<br />
{| class="wikitable" width="100%"<br />
|- valign="top"<br />
! style="padding:5px; text-align:left" width="30%" | Directory<br />
! style="padding:5px; text-align:left" | Description (Website)<br/>Download package (Date of the package)<br />
|- valign="top"<br />
| style="padding:5px; text-align:left" | <tt>autopano-sift-C</tt><br />
| style="padding:5px; text-align:left" | Autopano-SIFT-C (http://hugin.sourceforge.net/)<br/>Subversion repository<br/><tt>https://hugin.svn.sourceforge.net/svnroot/hugin/autopano-sift-C/trunk</tt><br />
|- valign="top"<br />
| style="padding:5px; text-align:left" | <tt>boost_1_39_0</tt><br />
| style="padding:5px; text-align:left" | Boost C++ libraries 1.39.0 (http://www.boost.org/)<br/>[http://downloads.sourceforge.net/boost/boost_1_39_0.7z <tt>boost_1_39_0.7z</tt>] (2009-02-09)<br/>[http://downloads.sourceforge.net/boost/boost-jam-3.1.17-1-ntx86.zip <tt>boost-jam-3.1.17-1-ntx86.zip</tt>] (2008-11-29)<br />
|- valign="top"<br />
| style="padding:5px; text-align:left" | <tt>Deploy</tt><br/><tt>OpenEXR</tt><br />
| style="padding:5px; text-align:left" | OpenEXR library 1.6.1 and IlmBase libraries 1.0.1 (http://www.openexr.com/)<br/>[http://download.savannah.nongnu.org/releases/openexr/ilmbase-1.0.1.tar.gz <tt>ilmbase-1.0.1.tar.gz</tt>] (2007-10-22)<br/>[http://download.savannah.nongnu.org/releases/openexr/openexr-1.6.1.tar.gz <tt>openexr-1.6.1.tar.gz</tt>] (2007-10-22)<br />
|- valign="top"<br />
| style="padding:5px; text-align:left" | <tt>enblend-enfuse-3.2</tt> <br />
| style="padding:5px; text-align:left" | Enblend 3.2 and Enfuse 3.2 (http://enblend.sourceforge.net/)<br/><br />
{| class="wikitable"<br />
|- valign="top"<br />
! style="padding:5px; text-align:left" | 32-Bit<br />
! style="padding:5px; text-align:left" | 64-Bit<br />
|- valign="top"<br />
| style="padding:5px; text-align:left" | [http://downloads.sourceforge.net/enblend/enblend-enfuse-3.2.zip <tt>enblend-enfuse-3.2.zip</tt>] (2008-09-09)<br />
| style="padding:5px; text-align:left" | [http://downloads.sourceforge.net/enblend/enblend-enfuse-3.2.tar.gz <tt>enblend-enfuse-3.2.tar.gz</tt>] (2008-09-09)<br />
|}<br />
|- valign="top"<br />
| style="padding:5px; text-align:left" | <tt>exiftool</tt><br />
| style="padding:5px; text-align:left" | ExifTool 7.74 (http://www.sno.phy.queensu.ca/~phil/exiftool)<br/>[http://www.sno.phy.queensu.ca/~phil/exiftool/exiftool-7.74.zip <tt>exiftool-7.74.zip</tt>] (2009-02-17)<br />
|- valign="top"<br />
| style="padding:5px; text-align:left" | <tt>exiv2-0.18.1</tt><br />
| style="padding:5px; text-align:left" | Exiv2 C++ library 0.18 (http://www.exiv2.org/)<br/>[http://www.exiv2.org/exiv2-0.18.1.tar.gz <tt>exiv2-0.18.1.tar.gz</tt>] (2009-04-06)<br />
|- valign="top"<br />
| style="padding:5px; text-align:left" | <tt>expat-2.0.1</tt><br />
| style="padding:5px; text-align:left" | Expat XML Parser library 2.0.1 (http://sourceforge.net/projects/expat/)<br/>[http://downloads.sourceforge.net/expat/expat-2.0.1.tar.gz <tt>expat-2.0.1.tar.gz</tt>] (2007-06-05)<br />
|- valign="top"<br />
| style="padding:5px; text-align:left" | <tt>gettext</tt><br />
| style="padding:5px; text-align:left" | GNU gettext 0.13.1 and iconv library 1.9.1 (http://www.gnu.org/)<br/><br />
{| class="wikitable"<br />
|- valign="top"<br />
! style="padding:5px; text-align:left" | 32-Bit<br />
! style="padding:5px; text-align:left" | 64-Bit<br />
|- valign="top"<br />
| style="padding:5px; text-align:left" | <ul><li>[http://ftp.gnu.org/gnu/gettext/gettext-runtime-0.13.1.bin.woe32.zip <tt>gettext-runtime-0.13.1.bin.woe32.zip</tt>] (2004-01-20)</li><li>[http://ftp.gnu.org/gnu/gettext/gettext-tools-0.13.1.bin.woe32.zip <tt>gettext-tools-0.13.1.bin.woe32.zip</tt>] (2004-01-20)</li><li>[http://ftp.gnu.org/gnu/libiconv/libiconv-1.9.1.bin.woe32.zip <tt>libiconv-1.9.1.bin.woe32.zip</tt>] (2004-01-20)</li></ul><br />
| style="padding:5px; text-align:left" | <ul><li> [http://ftp.gnu.org/gnu/libiconv/libiconv-1.9.1.tar.gz libiconv-1.9.1.tar.gz] (2003-05-27)</li><li>[http://ftp.gnu.org/gnu/gettext/gettext-0.13.1.tar.gz gettext-0.13.1.tar.gz] (2003-12-17)</li></ul><br />
|}<br />
|- valign="top"<br />
| style="padding:5px; text-align:left" | <tt>glew</tt><br />
| style="padding:5px; text-align:left" | OpenGL Extension Wrangler Library (GLEW) 1.5.1 (http://glew.sourceforge.net/)<br/>[http://downloads.sourceforge.net/glew/glew-1.5.1-src.zip <tt>glew-1.5.1-src.zip</tt>] (2008-11-03)<br />
|- valign="top"<br />
| style="padding:5px; text-align:left" | <tt>libpano\pano13</tt><br />
| style="padding:5px; text-align:left" | Panorama Tools and pano13 library (http://panotools.sourceforge.net/)<br/>Subversion repository<br/><tt>https://panotools.svn.sourceforge.net/svnroot/panotools/trunk/libpano</tt><br />
|- valign="top"<br />
| style="padding:5px; text-align:left" | <tt>libxml2-2.7.3</tt><br />
| style="padding:5px; text-align:left" | XML C parser and toolkit (http://www.xmlsoft.org/)<br/>[ftp://xmlsoft.org/libxml2/libxml2-sources-2.7.3.tar.gz <tt>libxml2-sources-2.7.3.tar.gz</tt>] (2009-01-18)<br />
|- valign="top"<br />
| style="padding:5px; text-align:left" | <tt>UnxUtils</tt><br />
| style="padding:5px; text-align:left" | GNU utilities ported to win32 platform (http://sourceforge.net/projects/unxutils/)<br/>[http://downloads.sourceforge.net/unxutils/UnxUtils.zip <tt>UnxUtils.zip</tt>] (2007-03-01)<br />
|- valign="top"<br />
| style="padding:5px; text-align:left" | <tt>wxWidgets-2.8.10</tt><br />
| style="padding:5px; text-align:left" | wxWidgets cross-platform GUI C++ framework 2.8.10 (http://www.wxwidgets.org/)<br/>[http://downloads.sourceforge.net/wxwindows/wxMSW-2.8.10.zip <tt>wxMSW-2.8.10.zip</tt>] (2009-03-17)<br />
|- valign="top"<br />
! colspan="2" | Additional files only necessary for building a 64-bit SDK<br />
|- valign="top"<br />
! style="padding:5px; text-align:left" width="30%" | Directory<br />
! style="padding:5px; text-align:left" | Description (Website)<br/>Download package (Date of the package)<br />
|- valign="top"<br />
| style="padding:5px; text-align:left" | <tt>(64-bit) libxmi-1.2-1</tt> <br />
| style="padding:5px; text-align:left" | GNU libxmi 2-D rasterization library (Win32 port) (http://gnuwin32.sourceforge.net)<br/> [http://downloads.sourceforge.net/gnuwin32/libxmi-1.2-1-src.zip <tt>libxmi-1.2-1-src.zip</tt>] (2004-04-16)<br/><br />
|- valign="top"<br />
| style="padding:5px; text-align:left" | <tt>(64-bit) STLport-5.2.1</tt> <br />
| style="padding:5px; text-align:left" | STLport Standard Library (http://stlport.sourceforge.net/)<br/> [http://downloads.sourceforge.net/stlport/STLport-5.2.1.tar.gz <tt>STLport-5.2.1.tar.gz</tt>] (2008-12-10)<br/><br />
|- valign="top"<br />
| style="padding:5px; text-align:left" | <tt>(64-bit) lcms-1.18a</tt> <br />
| style="padding:5px; text-align:left" | LittleCms Color management library (http://www.littlecms.com)<br/> [http://www.littlecms.com/lcms-1.18a.zip <tt>lcms-1.18a.zip</tt>] (2009-04-19)<br/><br />
|}<br />
<br />
In the following subsections each component is discussed in detail. The order of the subsections seems random, but I applied the approach to describe the precompiled packages first, followed by the big packages, where some of the small packages depend on.<br />
<br />
The decompress step of each component contains seemingly inconsistent namings of destination directories, because in some components a subdirectory is specified as destination directory and in some steps only the base directory. This is due to the fact that some package archives contain a base directory and some not. To check the right locations each result section of every component's description contains a summary of the expected files. <br />
<br />
The SDK is currently outdated. The following changes are necessary to build Hugin:<br />
<br />
{| class="wikitable" width="100%"<br />
|- valign="top"<br />
! style="padding:5px; text-align:left" width="30%" | Directory<br />
! style="padding:5px; text-align:left" | Description (Website)<br/>Download package <br />
|- valign="top"<br />
| style="padding:5px; text-align:left" | <tt>freeglut_2.6.0</tt><br />
| style="padding:5px; text-align:left" | Freeglut (http://freeglut.sourceforge.net/index.php)<br/> [http://prdownloads.sourceforge.net/freeglut/freeglut-2.6.0.tar.gz?download <tt>freeglut-2.6.0.tar.gz</tt>]<br />
|- valign="top"<br />
| style="padding:5px; text-align:left" | <tt>make_3.81</tt><br />
| style="padding:5px; text-align:left" | GNU make 3.81 (http://www.gnu.org/software/make/) <br/>[http://ftp.gnu.org/pub/gnu/make/make-3.81.tar.gz <tt>make-3.81.tar.gz</tt>] <br/> This package replaces UnxUtils.<br />
|}<br />
<br />
<br />
==== Diff Files ====<br />
In order to make compilation simple, a series of patch files are included below that contain all the necessary changes, not only to compile the SDK, but to optionally compile an x64 version of the SDK. When directed, you will need to apply the patch file specified. If you are compiling for x64, there may be additional patches you need to apply.<br />
<br />
The download link for the patches is [http://sourceforge.net/tracker/?func=detail&aid=2789320&group_id=77506&atid=550443 http://sourceforge.net/tracker/?func=detail&aid=2789320&group_id=77506&atid=550443]<br />
<br />
In order to apply a patch, you will first have needed to follow directions for the [[#UnxUtils|UnxUtils]] step. You cannot apply any patches before that step. To apply a patch, follow these directions:<br />
<ol><br />
<li>Start a Command Prompt by choosing Start -> Run and typing in "cmd.exe"</li><br />
<li>On the Command Prompt, change directory to <tt><SDKHOME></tt><br/><br />
'''Example'''<br />
<pre><br />
C:\Program Files\Microsoft\Windows SDK\v6.1>d:<br />
<br />
D:>cd \usr\src\SDK<br />
<br />
D:\usr\src\SDK><br />
</pre></li><br />
<li>On the command prompt, enter the following commands without any line breaks and press the Return/Enter key, substituting <SDKHOME> where appropriate:<br/><br />
<pre><br />
set PATH=%PATH%;<SDKHOME>\UnxUtils\usr\local\wbin<br />
</pre><br />
</li><br />
<li>On the command prompt, enter the following commands without any line breaks and press the Return/Enter key, substituting <PATCHFILE> with the name of the patch file to apply:<br/><br />
<pre><br />
patch -p 0 -i <PATCHFILE><br />
</pre><br />
'''NOTE:''' On Vista and later systems, the filename "patch.exe" is a protected file name which will always result in a UAC prompt if the file does not include a manifest (which UnxUtils version does not). This can be worked around by copying the file <tt><SDKHOME>\UnxUtils\usr\local\wbin\patch.exe</tt> to another file not containing the name, such as <tt><SDKHOME>\UnxUtils\usr\local\wbin\apply_diff.exe</tt>. Then substitute the command <tt>'patch'</tt> in the above command with <tt>'apply_diff'</tt><br />
</li><br />
</ol><br />
<br />
'''Result'''<br />
<br />
If everything worked, you should see a list of filenames that were patched. <br />
'''Example'''<br />
<pre><br />
D:\usr\src\SDK>patch -p 0 -i libiconv-1.9.1.diff<br />
patching file 'libiconv-1.9.1/srclib/error.c'<br />
<br />
D:\usr\src\SDK><br />
</pre><br />
<br />
If there was an error, you may wish to consult the [[Hugin SDK (MSVC 2008) Patches]] page for instructions on what changes were contained in the patch.<br />
<br />
=== UnxUtils ===<br />
<br />
<ol><br />
<li>Create the directory <tt><SDKHOME>\UnxUtils</tt></li><br />
<li>Decompress the file <tt>UnxUtils.zip</tt> to created directory <tt><SDKHOME>\UnxUtils</tt></li><br />
</ol><br />
<br />
'''Result'''<br />
<br />
The applications reside in<br />
<tt><SDKHOME>\UnxUtils\bin</tt> and<br />
<tt><SDKHOME>\UnxUtils\usr\local\wbin</tt><br />
<br />
=== ExifTool ===<br />
<br />
<ol><br />
<li>Create the directory <tt><SDKHOME>\exiftool</tt></li><br />
<li>Decompress the file <tt>exiftool-7.74.zip</tt> to <tt><SDKHOME>\exiftool</tt></li><br />
<li>Rename the file <tt>exiftool(-k).exe</tt> to <tt>exiftool.exe</tt></li><br />
</ol><br />
<br />
'''Result'''<br />
<br />
The application resides in<br />
<tt><SDKHOME>\exiftool</tt><br />
<br />
=== GetText ===<br />
{| class="wikitable"<br />
|- valign="top"<br />
! style="padding:5px; text-align:left" | 32-Bit Directions<br />
! style="padding:5px; text-align:left" | 64-Bit Directions<br />
|- valign="top"<br />
| style="padding:5px; text-align:left" | <ol><br />
<li>Create the directory <tt><SDKHOME>\gettext</tt></li><br />
<li>Decompress the following files to created directory <tt><SDKHOME>\gettext</tt><br />
<ul><br />
<li><tt>gettext-runtime-0.13.1.bin.woe32.zip</tt></li><br />
<li><tt>gettext-tools-0.13.1.bin.woe32.zip</tt></li><br />
<li><tt>libiconv-1.9.1.bin.woe32.zip</tt></li><br />
</ul><br />
</li><br />
</ol><br />
| style="padding:5px; text-align:left" | <ol><br />
<li>Create the directory <tt><SDKHOME>\gettext</tt></li><br />
<li>Decompress the following files into the directory <tt><SDKHOME></tt><br />
<ul><br />
<li><tt>gettext-0.13.1.tar.gz</tt></li><br />
<li><tt>libiconv-1.9.1.tar.gz</tt></li><br />
</ul><br />
After decompress, there should be two new folders in <tt><SDKHOME></tt>: <tt><SDKHOME>\gettext-0.13.1</tt> and <tt><SDKHOME>\libiconv-1.9.1</tt><br />
</li><br />
<li>Apply the <tt>libiconv-1.9.1.diff</tt> patch</li><br />
<li>Apply the <tt>gettext-0.13.1.diff</tt> patch</li><br />
<li>Open a Windows SDK prompt by choosing Start -> Programs -> Microsoft Windows SDK v6.1 -> CMD Shell</li><br />
<li>On the command prompt, enter the following command without any line breaks and press the Return/Enter key:<br/><br />
<pre><br />
setenv /Release /x64 /xp<br />
</pre><br />
It should now refresh and say<br />
<pre><br />
Setting SDK environment relative to <path where you installed the SDK><br />
Targeting Windows XP x64 RELEASE<br />
</pre></li><br />
<li>On the command prompt, change directory to <SDKHOME>\libiconv-1.9.1<br/><br />
'''Example'''<br />
<pre><br />
C:\Program Files\Microsoft\Windows SDK\v6.1>d:<br />
<br />
D:>cd \usr\src\SDK\libiconv-1.9.1<br />
<br />
D:\usr\src\SDK\libiconv-1.9.1><br />
</pre></li><br />
<li>On the command prompt, enter the following commands without any line breaks and press the Return/Enter key, substituting <SDKHOME> where appropriate:<br/><br />
<pre><br />
nmake -f Makefile.msvc NO_NLS=1 MFLAGS=-MT<br />
nmake -f Makefile.msvc NO_NLS=1 MFLAGS=-MT install PREFIX=<SDKHOME>\gettext<br />
cd ..\gettext-0.13.1<br />
nmake -f Makefile.msvc MFLAGS=-MT PREFIX=<SDKHOME>\gettext<br />
nmake -f Makefile.msvc MFLAGS=-MT install PREFIX=<SDKHOME>\gettext<br />
cd ..\libiconv-1.9.2-src<br />
nmake -f Makefile.msvc NO_NLS=1 MFLAGS=-MT distclean<br />
nmake -f Makefile.msvc MFLAGS=-MT PREFIX=<SDKHOME>\gettext<br />
nmake -f Makefile.msvc MFLAGS=-MT install PREFIX=<SDKHOME>\gettext<br />
</pre></li><br />
<li>Close the Windows SDK command prompt window</li><br />
</ol><br />
|} <br />
'''Result'''<br />
<br />
The applications reside in<br />
<tt><SDKHOME>\gettext\bin</tt><br />
<br />
The include files reside in<br />
<tt><SDKHOME>\gettext\include</tt><br />
<br />
The libraries reside in<br />
<tt><SDKHOME>\gettext\lib</tt><br />
=== STLport (64-bit Only) ===<br />
<ol><br />
<li>Decompress the file <tt>STLport-5.2.1.tar.gz</tt> to directory <tt><SDKHOME></tt></li><br />
<li>Open a Windows SDK prompt by choosing Start -> Programs -> Microsoft Windows SDK v6.1 -> CMD Shell</li><br />
<li>On the command prompt, enter the following command without any line breaks and press the Return/Enter key:<br/><br />
<pre><br />
setenv /Release /x64 /xp<br />
</pre><br />
It should now refresh and say<br />
<pre><br />
Setting SDK environment relative to <path where you installed the SDK><br />
Targeting Windows XP x64 RELEASE<br />
</pre></li><br />
<li>On the command prompt, change directory to <SDKHOME>\STLport-5.2.1<br/><br />
'''Example'''<br />
<pre><br />
C:\Program Files\Microsoft\Windows SDK\v6.1>d:<br />
<br />
D:>cd \usr\src\SDK\STLport-5.2.1<br />
<br />
D:\usr\src\SDK\STLport-5.2.1><br />
</pre></li><br />
<li>On the command prompt, enter the following commands without any line breaks and press the Return/Enter key:<br/><br />
<pre>configure msvc9 --with-static-rtl<br />
cd build/lib<br />
nmake clean install</pre><br />
</li><br />
<li>Close the Windows SDK command prompt window</li><br />
</ol><br />
<br />
'''Result'''<br />
<br />
The libraries reside in <tt><SDKHOME>\STLport-5.2.1\lib</tt><br />
<br />
=== lcms-1.18 (64-bit Only) ===<br />
<ol><br />
<li>Decompress the file <tt>lcms-1.18a.tar.gz</tt> to directory <tt><SDKHOME></tt></li><br />
<li>Apply the <tt>lcms-1.18.diff</tt> patch</li><br />
<li>Open the file <tt><SDKHOME>\lcms-1.18\Projects\VC2008\lcms.sln</tt></li><br />
<li>Select "Release" in the Solution Configuration pull-down menu. Select "x64" in the Solution Platform pull-down menu</li><br />
<li>Select project lcms in Solution Explorer, and then choose Build > Project Only > Build Only lcms</li><br />
<li>Close Visual Studio C++ 2008 Express Edition</li><br />
</ol><br />
<br />
'''Result'''<br />
<br />
The library resides in <tt><SDKHOME>\lcms-1.18\Lib\MS</tt><br />
<br />
{| class="wikitable" width="100%"<br />
|-<br />
! style="padding:5px; text-align:left" | Note<br />
|-<br />
| style="padding:5px; text-align:left" | During build process temporary object files are stored in following directories<br />
<ul><br />
<li><tt><SDKHOME>\lcms-1.18\Projects\VC2008\LibDebug</tt></li><br />
<li><tt><SDKHOME>\lcms-1.18\Projects\VC2008\LibRelease</tt></li><br />
</ul><br />
Both directories may be deleted to save disk space.<br />
|}<br />
<br />
=== libxmi-1.2.1 (64-bit Only) ===<br />
<ol><br />
<li>Open the file <tt>libxmi-1.2-1.src.zip</tt> in 7-Zip</li><br />
<li>Open the "src" folder by double-clicking</li><br />
<li>Open the "libxmi" folder by double-clicking</li><br />
<li>Open the "1.2" folder by double-clicking</li><br />
<li>Extract "libxmi-1.2" to the directory <tt><SDKHOME></tt></li><br />
<li>Apply the <tt>libxmi-1.2.diff</tt> patch</li><br />
</ol><br />
<br />
'''Result'''<br />
<br />
The libxmi-1.2 sources now reside in <tt><SDKHOME>\libxmi-1.2</tt><br />
=== wxWidgets ===<br />
<ol><br />
<li>Decompress the file <tt>wxMSW-2.8.10.zip</tt> to directory <tt><SDKHOME></tt></li><br />
<li>Rename the directory <tt><SDKHOME>\wxMSW-2.8.10</tt> to <tt><SDKHOME>\wxWidgets-2.8.10</tt></li><br />
<li>Apply the <tt>wxWidgets-2.8.10.diff</tt> patch [[Hugin SDK (MSVC 2008) Patches#wxWidgets]]</li><br />
<li><br />
{| class="wikitable" width="100%"<br />
|- valign="top"<br />
! style="padding:5px; text-align:left" width="50%" | 32-Bit Directions<br />
! style="padding:5px; text-align:left" | 64-Bit Directions<br />
|- valign="top"<br />
| style="padding:5px; text-align:left" | To open a Visual Studio command prompt choose Start > Programs > Microsoft Visual C++ 2008 Express Edition > Visual Studio Tools > Visual Studio 2008 Command Prompt<br />
| style="padding:5px; text-align:left" | <ol><br />
<li>Open a Windows SDK prompt by choosing Start -> Programs -> Microsoft Windows SDK v6.1 -> CMD Shell</li><br />
<li>On the command prompt, enter the following command without any line breaks and press the Return/Enter key:<br/><br />
<pre><br />
setenv /Release /x64 /xp<br />
</pre><br />
It should now refresh and say<br />
<pre><br />
Setting SDK environment relative to <path where you installed the SDK><br />
Targeting Windows XP x64 RELEASE<br />
</pre></li><br />
</ol><br />
|}</li><br />
<br />
<li>On command prompt change directory to <tt><SDKHOME>\wxWidgets-2.8.10\build\msw</tt><br/><br />
'''Example'''<br />
<pre><br />
C:\Program Files\Microsoft Visual Studio 9.0\VC>d:<br />
<br />
D:\>cd \usr\src\SDK\wxWidgets-2.8.10\build\msw<br />
<br />
D:\usr\src\SDK\wxWidgets-2.8.10\build\msw><br />
</pre><br />
</li><br />
<li>Enter each of the following two commands without any line break and press the Return key<br />
{| class="wikitable" <br />
|- valign="top"<br />
! style="padding:5px; text-align:left" | 32-Bit Directions<br />
! style="padding:5px; text-align:left" | 64-Bit Directions<br />
|- valign="top"<br />
| style="padding:5px; text-align:left" | <pre><br />
nmake -f makefile.vc BUILD=debug UNICODE=1 SHARED=0 USE_OPENGL=1 RUNTIME_LIBS=static<br />
nmake -f makefile.vc BUILD=release UNICODE=1 SHARED=0 USE_OPENGL=1 RUNTIME_LIBS=static<br />
</pre><br />
| style="padding:5px; text-align:left" | <pre><br />
nmake -f makefile.vc BUILD=debug TARGET_CPU=AMD64 UNICODE=1 SHARED=0 USE_OPENGL=1 RUNTIME_LIBS=static<br />
nmake -f makefile.vc BUILD=release TARGET_CPU=AMD64 UNICODE=1 SHARED=0 USE_OPENGL=1 RUNTIME_LIBS=static<br />
</pre><br />
|}<br />
</li><br />
<li>Close the Windows SDK command prompt window</li><br />
<li>(64-bit Only)Rename the folder <tt><SDKHOME>wxWidgets-2.8.10\lib\vc_amd64_lib</tt> to <tt><SDKHOME>wxWidgets-2.8.10\lib\vc_lib</tt></li><br />
</ol><br />
<br />
'''Result'''<br />
<br />
The include files reside in<br />
<tt><SDKHOME>\wxWidgets-2.8.10\include</tt> and its subdirectories<br />
<br />
Additional Hugin depends on following files<br />
<ul><br />
<li><tt><SDKHOME>\wxWidgets-2.8.10\src\jpg\*.h</tt></li><br />
<li><tt><SDKHOME>\wxWidgets-2.8.10\src\jpg\jconfig.vc</tt></li><br />
<li><tt><SDKHOME>\wxWidgets-2.8.10\src\png\*.h</tt></li><br />
<li><tt><SDKHOME>\wxWidgets-2.8.10\src\tiff\*.h</tt></li><br />
<li><tt><SDKHOME>\wxWidgets-2.8.10\src\zlib\*.h</tt></li><br />
</ul><br />
<br />
The libraries reside in<br />
<tt><SDKHOME>\wxWidgets-2.8.10\lib\vc_lib</tt><br />
<br />
{| class="wikitable"<br />
|-<br />
! style="padding:5px; text-align:left" | Note<br />
|-<br />
| style="padding:5px; text-align:left" | During build process temporary object files are stored in following directories<br />
{| class="wikitable" width="100%"<br />
|- valign="top"<br />
! style="padding:5px; text-align:left" | 32-Bit <br />
! style="padding:5px; text-align:left" | 64-Bit<br />
|- valign="top"<br />
| style="padding:5px; text-align:left" | <ul><br />
<li><tt><SDKHOME>\wxWidgets-2.8.10\build\msw\vc_mswu</tt></li><br />
<li><tt><SDKHOME>\wxWidgets-2.8.10\build\msw\vc_mswud</tt></li><br />
</ul><br />
| style="padding:5px; text-align:left" | <br />
<ul><br />
<li><tt><SDKHOME>\wxWidgets-2.8.10\build\msw\vc_mswu_amd64</tt></li><br />
<li><tt><SDKHOME>\wxWidgets-2.8.10\build\msw\vc_mswud_amd64</tt></li><br />
</ul><br />
|}<br />
Both directories may be deleted to save disk space.<br />
|}<br />
<br />
=== Boost ===<br />
<br />
<ol><br />
<li>Decompress the file <tt>boost_1_39_0.7z</tt> to directory <tt><SDKHOME></tt></li><br />
<li>Decompress the file <tt>boost-jam-3.1.17-1-ntx86.zip</tt> to an arbitrary directory and copy the application <tt>bjam.exe</tt> to <tt><SDKHOME>\boost_1_39_0</tt></li><br />
<li>To open a Windows command prompt choose Start > Run, then enter <tt>cmd.exe</tt> and click OK.</li><br />
<li>On command prompt change directory to <tt><SDKHOME>\boost_1_39_0</tt><br/><br />
'''Example'''<br />
<pre><br />
Microsoft Windows XP [Version 5.1.2600]<br />
(C) Copyright 1985-2001 Microsoft Corp.<br />
<br />
C:\Dokuments and Settings\Guido>d:<br />
<br />
D:\>cd \usr\src\SDK\boost_1_39_0<br />
<br />
D:\usr\src\SDK\boost_1_39_0><br />
</pre><br />
</li><br />
<li>Enter the following command without line breaks and press Return key<br/><br />
{| class="wikitable" <br />
|- valign="top"<br />
! style="padding:5px; text-align:left" | 32-Bit Directions<br />
! style="padding:5px; text-align:left" | 64-Bit Directions<br />
|- valign="top"<br />
| style="padding:5px; text-align:left" | <pre><br />
bjam --with-date_time --with-thread toolset=msvc variant=debug variant=release link=static threading=multi runtime-link=static stage<br />
</pre><br />
After <tt>bjam.exe</tt> finished a statement like the following should be printed in the command prompt window<br />
<pre><br />
...updated 56 targets...<br />
<br />
d:\usr\src\SDK\boost_1_39_0><br />
</pre><br />
<br />
Since September 2010 Hugin requieres also the boost libraries regex, filesystem, iostream, system and signals, since November 2010 also the boost library signals. If you want to compile this version you need to compile Boost lib with <br />
<pre><br />
bjam --with-date_time --with-thread --with-regex --with-filesystem --with-iostreams --with-system --with-signals toolset=msvc variant=debug variant=release link=static threading=multi runtime-link=static stage<br />
</pre><br />
<br />
| style="padding:5px; text-align:left" | <pre><br />
bjam --with-date_time --with-thread toolset=msvc variant=debug variant=release link=static threading=multi runtime-link=static address-model=64 stage<br />
</pre><br />
After <tt>bjam.exe</tt> finished a statement like the following should be printed in the command prompt window<br />
<pre><br />
...updated 26 targets...<br />
</pre><br />
|}</li><br />
<br />
<li>Close the Windows command prompt window</li><br />
</ol><br />
<br />
'''Result'''<br />
<br />
The include files reside in<br />
<tt><SDKHOME>\boost_1_39_0</tt> and its subdirectory <tt>boost</tt><br />
<br />
The libraries reside in<br />
<tt><SDKHOME>\boost_1_39_0\stage\lib</tt><br />
<br />
{| class="wikitable" width="100%"<br />
|-<br />
! style="padding:5px; text-align:left" | Notes<br />
|-<br />
|<ul><br />
<li>During build process temporary files are generated in <tt><SDKHOME>\boost_1_39_0\bin.v2</tt>. This directory may be deleted to save disk space.<br />
</li><br />
<li>Hugin needs only the two Boost libraries <tt>date_time</tt> and <tt>thread</tt>, thus only these two libraries have to be built.<br/><br />
If you want to build all Boost libraries enter following command on the Windows command prompt instead of the command described above and press Return key.<br />
<pre><br />
bjam -–build-type=complete toolset=msvc stage<br />
</pre><br />
There are about 7GB disc space needed during build of all libraries (3.5GB for libraries and the same amount for the temporary files).<br />
</li><br />
<li>The Boost include files are typically included by a statement like<br/><br />
<tt>#include "boost/whatever.hpp"</tt><br/><br />
Therefore the base directory of the Boost include files is <tt><SDKHOME>\boost_1_39_0</tt><br />
</li><br />
<li>Only the following libraries are needed to build a release version of Hugin:<br />
<ul><br />
<li><tt>libboost_date_time-vc90-mt-s-1_39.lib</tt></li><br />
<li><tt>libboost_thread-vc90-mt-s-1_39.lib</tt></li><br />
</ul><br />
The files with "<tt>gd</tt>" in the filename, e.g. <tt>libboost_thread-vc90-mt-sgd-1_39.lib</tt>, are the debug libraries.<br />
The library files without "<tt>-1_39</tt>" suffix are automatically generated copies of the libraries with version suffix. They are used by CMake to detect the library directory.<br />
</li><br />
</ul><br />
|}<br />
<br />
=== OpenEXR ===<br />
<br />
OpenEXR depends on following SDK component:<br />
<ul><br />
<li>wxWidgets</li><br />
</ul><br />
Prepare this component before OpenEXR.<br />
<br />
<ol><br />
<li>Create the directory <tt><SDKHOME>\OpenEXR</tt></li><br />
<li>Decompress the file <tt>ilmbase-1.0.1.tar.gz</tt> to created directory <tt><SDKHOME>\OpenEXR</tt><br/><br />
<li>Decompress the file <tt>openexr-1.6.1.tar.gz</tt> to the same directory <tt><SDKHOME>\OpenEXR</tt><br/><br />
After decompress there should only exist the two directories <tt>ilmbase-1.0.1</tt> and <tt>openexr-1.6.1</tt> in <tt><SDKHOME>\OpenEXR</tt></li><br />
<li>Apply the <tt>OpenEXR.diff</tt> patch [[Hugin SDK (MSVC 2008) Patches#OpenEXR]]</li><br />
<li>Open solution file <tt><SDKHOME>\OpenEXR\ilmbase-1.0.1\vc\vc8\IlmBase\IlmBase.sln</tt></li><br />
<li>Select Debug in Solutions Configuration pull-down menu, and then choose Build > Build Solution</li><br />
<li>Select Release in Solutions Configuration pull-down menu, and then choose Build > Build Solution</li><br />
<li>Open solution file <tt><SDKHOME>\OpenEXR\openexr-1.6.1\vc\vc8\OpenEXR\OpenEXR.sln</tt></li><br />
<li>Choose Build > Batch Build</li><br />
<li>Select Build for Project IlmImf with Solution Config <br/><br />
{| class="wikitable" <br />
|- valign="top"<br />
! style="padding:5px; text-align:left" | 32-Bit<br />
! style="padding:5px; text-align:left" | 64-Bit<br />
|- valign="top"<br />
| style="padding:5px; text-align:left" | Solution Config: "Debug" with Platform: "Win32"<br/><br />
Solution Config: "Release" with Platform: "Win32"<br />
| style="padding:5px; text-align:left" | Solution Config: "Debug" with Platform: "x64"<br/><br />
Solution Config: "Release" with Platform: "x64"<br />
|}</li><br />
<li>Click Build</li><br />
<li>Close Visual C++ 2008 Express Edition</li><br />
</ol><br />
<br />
'''Result'''<br />
<br />
The include files reside in<br />
<tt><SDKHOME>\Deploy\include</tt><br />
<br />
The libraries reside in<br />
<tt><SDKHOME>\Deploy\lib\Debug</tt> and<br />
<tt><SDKHOME>\Deploy\lib\Release</tt><br />
<br />
=== Enblend and Enfuse ===<br />
{| class="wikitable" <br />
|- valign="top"<br />
! style="padding:5px; text-align:left" | 32-Bit Directions<br />
! style="padding:5px; text-align:left" | 64-Bit Directions<br />
|- valign="top"<br />
| style="padding:5px; text-align:left" | <ol><br />
<li>Decompress the file <tt>enblend-enfuse-3.2.zip</tt> to directory <tt><SDKHOME></tt></li><br />
</ol><br />
| style="padding:5px; text-align:left" | Enblend & Enfuse depend on the following SDK components:<br />
<ul><br />
<li>wxWidgets</li><br />
<li>OpenEXR</li><br />
<li>lcms</li><br />
<li>STLport</li><br />
<li>boost</li><br />
<li>libxmi</li><br />
</ul><br />
Prepare these components before Enblend & Enfuse.<br />
<br />
<ol><br />
<li>Decompress the file <tt>enblend-enfuse-3.2.tar.gz</tt> to directory <tt><SDKHOME></tt><br/><br />
After decompression, you should now have a folder <tt><SDKHOME>\enblend-enfuse-3.2</tt></li><br />
<li>Apply the <tt>enblend-enfuse-3.2.diff</tt> patch [[Hugin SDK (MSVC 2008) Patches#Enblend/Enfuse/libxmi]]</li><br />
<li>Open the file <tt><SDKHOME>\enblend-enfuse-3.2\enblend_msvc2008.sln</tt></li><br />
<li>Select Release in Solutions Configuration pull-down menu, choose x64 in the Solutions Platform pull-down menu, and then choose Build > Build Solution</li><br />
<li>Close Visual C++ 2008 Express Edition</li><br />
</ol><br />
|}<br />
'''Result'''<br />
<br />
The applications reside in <tt><SDKHOME>\enblend-enfuse-3.2</tt><br />
<br />
=== Expat ===<br />
<br />
<ol><br />
<li>Decompress the file <tt>expat-2.0.1.tar.gz</tt> to directory <tt><SDKHOME></tt></li><br />
<li>Apply the <tt>expat-2.0.1.diff</tt> patch [[Hugin SDK (MSVC 2008) Patches#expat]]</li><br />
<li>Open the file <tt><SDKHOME>\expat-2.0.1\Source\expat.sln</tt></li><br />
<li>Choose Build > Batch Build</li><br />
<li>Select Build for Project expat_static with <br/><br />
{| class="wikitable" <br />
|- valign="top"<br />
! style="padding:5px; text-align:left" | 32-Bit<br />
! style="padding:5px; text-align:left" | 64-Bit<br />
|- valign="top"<br />
| style="padding:5px; text-align:left" | Solution Config: "Debug" with Platform: "Win32"<br/><br />
Solution Config: "Release" with Platform: "Win32"<br />
| style="padding:5px; text-align:left" | Solution Config: "Debug" with Platform: "x64"<br/><br />
Solution Config: "Release" with Platform: "x64"<br />
|}</li><br />
<li>Click Build</li><br />
<li>Close Visual C++ 2008 Express Edition</li><br />
</ol><br />
<br />
'''Result'''<br />
<br />
The include files reside in<br />
<tt><SDKHOME>\expat-2.0.1\lib</tt><br />
<br />
The libraries reside in<br />
<tt><SDKHOME>\expat-2.0.1\win32\bin\Debug</tt> and<br />
<tt><SDKHOME>\expat-2.0.1\win32\bin\Release</tt><br />
<br />
=== Exiv2 ===<br />
<br />
Exiv2 depends on following SDK components:<br />
<ul><br />
<li>wxWidgets</li><br />
<li>GetText</li><br />
<li>Expat</li><br />
</ul><br />
Prepare these components before Exiv2.<br />
<br />
<ol><br />
<li>Decompress the file <tt>exiv2-0.18.1.tar.gz</tt> to directory <tt><SDKHOME></tt></li><br />
<li>Apply the <tt>exiv2-0.18.1.diff</tt> patch [[Hugin SDK (MSVC 2008) Patches#exiv2]]</li><br />
<li>(64-bit Only)Apply the <tt>exiv2-0.18.1.x64.diff</tt> patch</li><br />
<li>Open solution file <tt><SDKHOME>\exiv2-0.18.1\msvc\exiv2.sln</tt></li><br />
<li>In the Solution Explorer, select "exiv2lib"</li><br />
<li>Select Debug in Solutions Configuration pull-down menu and your platform in the Solution Platform pull-down menu, and then choose Build > Build exiv2lib</li><br />
<li>Select Release in Solutions Configuration pull-down menu and your platform in the Solution Platform pull-down menu, and then choose Build > Build exiv2lib</li><br />
<li>Close Visual C++ 2008 Express Edition</li><br />
<li>Create the directory <tt><SDKHOME>\exiv2-0.18.1\msvc\lib</tt></li><br />
<li>Copy the following files to this directory and rename them as specified in Destination column.<br />
<br />
{| class="wikitable"<br />
|- valign="top"<br />
! style="padding:5px; text-align:left" | Source<br />
! style="padding:5px; text-align:left" | Destination<br />
|-<br />
| style="padding:5px; text-align:left" | <tt><SDKHOME>\exiv2-0.18.1\msvc\bin\Debug\exiv2.lib</tt><br />
| style="padding:5px; text-align:left" | <tt><SDKHOME>\exiv2-0.18.1\msvc\lib\''exiv2d''.lib</tt><br />
|-<br />
| style="padding:5px; text-align:left" | <tt><SDKHOME>\exiv2-0.18.1\msvc\bin\Release\exiv2.lib</tt><br />
| style="padding:5px; text-align:left" | <tt><SDKHOME>\exiv2-0.18.1\msvc\lib\exiv2.lib</tt><br />
|-<br />
| style="padding:5px; text-align:left" | <tt><SDKHOME>\expat-2.0.1\win32\bin\Debug\libexpatMT.lib</tt><br />
| style="padding:5px; text-align:left" | <tt><SDKHOME>\exiv2-0.18.1\msvc\lib\''libexpatd''.lib</tt><br />
|-<br />
| style="padding:5px; text-align:left" | <tt><SDKHOME>\expat-2.0.1\win32\bin\Release\libexpatMT.lib</tt><br />
| style="padding:5px; text-align:left" | <tt><SDKHOME>\exiv2-0.18.1\msvc\lib\''libexpat''.lib</tt><br />
|}<br />
</li><br />
</ol><br />
<br />
'''Comment'''<br />
<br />
When using exiv2 0.19 (which works better with bigger files), copy and rename also the following files:<br />
<br />
{| class="wikitable"<br />
|- valign="top"<br />
! style="padding:5px; text-align:left" | Source<br />
! style="padding:5px; text-align:left" | Destination<br />
|-<br />
| style="padding:5px; text-align:left" | <tt><SDKHOME>\exiv2-0.19\msvc\xmpsdk\Debug\xmpsdk.lib</tt><br />
| style="padding:5px; text-align:left" | <tt><SDKHOME>\exiv2-0.19\msvc\lib\''xmpsdkd''.lib</tt><br />
|-<br />
| style="padding:5px; text-align:left" | <tt><SDKHOME>\exiv2-0.19\msvc\xmpsdk\Release\xmpsdk.lib</tt><br />
| style="padding:5px; text-align:left" | <tt><SDKHOME>\exiv2-0.19\msvc\lib\xmpsdk.lib</tt><br />
|}<br />
<br />
'''Result'''<br />
<br />
The include files reside in<br />
<tt><SDKHOME>\exiv2-0.18.1\msvc\include</tt><br />
<br />
The libraries reside in<br />
<tt><SDKHOME>\exiv2-0.18.1\msvc\lib</tt><br />
<br />
=== GLEW ===<br />
<br />
<ol><br />
<li>Decompress the file <tt>glew-1.5.1-src.zip</tt> to directory <tt><SDKHOME></tt></li><br />
<li>Apply the <tt>glew.diff</tt> patch [[Hugin SDK (MSVC 2008) Patches#glew]]</li><br />
<li>Open the file <tt><SDKHOME>\glew\build\vc6\glew.sln</tt></li><br />
<li>Choose Build > Batch Build</li><br />
<li>Select Build for Project glew_static with Solution Config <br/><br />
{| class="wikitable" <br />
|- valign="top"<br />
! style="padding:5px; text-align:left" | 32-Bit<br />
! style="padding:5px; text-align:left" | 64-Bit<br />
|- valign="top"<br />
| style="padding:5px; text-align:left" | Solution Config: "Debug" with Platform: "Win32"<br/><br />
Solution Config: "Release" with Platform: "Win32"<br />
| style="padding:5px; text-align:left" | Solution Config: "Debug" with Platform: "x64"<br/><br />
Solution Config: "Release" with Platform: "x64"<br />
|}</li><br />
<li>Click Build</li><br />
<li>Close Visual C++ 2008 Express Edition</li><br />
</ol><br />
<br />
'''Result'''<br />
<br />
The include files reside in<br />
<tt><SDKHOME>\glew\include</tt><br />
<br />
The libraries reside in<br />
<tt><SDKHOME>\glew\lib</tt><br />
<br />
{| class="wikitable" width="100%"<br />
|-<br />
! style="padding:5px; text-align:left" | Note<br />
|-<br />
| style="padding:5px; text-align:left" | The GLEW include files are typically included by a statement like<br/><tt>#include "GL/glew.h"</tt><br/>Therefore the base directory of the GLEW include files is <tt><SDKHOME>\glew\include</tt><br />
|}<br />
<br />
=== Panorama Tools ===<br />
<br />
Panorama Tools depends on following SDK component:<br />
<ul><br />
<li>wxWidgets</li><br />
</ul><br />
Prepare this component before Panoroma Tools.<br />
<br />
<ol><br />
<li>Set two windows environment variables:<br />
<ul><br />
<li>Set variable <tt>WXWIDGETS_HOME</tt> to wxWidgets base folder <tt><SDKHOME>\wxWidgets-2.8.10</tt></li><br />
<li>Set variable <tt>JDK_HOME</tt> to Java SE Development Kit's destination directory name. This directory name was shown during the setup, e.g. <tt>C:\Program Files\Java\jdk1.6.0_13</tt></li><br />
</ul><br />
To take effect on changes of environment variables you may have to logout and login.<br />
</li><br />
<li>Create the directory <tt><SDKHOME>\libpano\pano13</tt></li><br />
<li>In explorer right-click on created directory <tt><SDKHOME>\libpano\pano13</tt></li>, and then choose SVN Checkout from the shortcut menu. The Checkout dialog appears.</li><br />
<li>In "URL of repository" field enter following address:<br />
<pre><br />
https://panotools.svn.sourceforge.net/svnroot/panotools/trunk/libpano<br />
</pre><br />
</li><br />
<li>Click OK</li><br />
<li>After checkout has finished click OK</li><br />
<li>Apply the <tt>libpano.diff</tt> patch [[Hugin SDK (MSVC 2008) Patches#Panorama Tools]]</li><br />
<li>Open solution file <tt><SDKHOME>\libpano\pano13\libpano.sln</tt></li><br />
<li>Select your platform in the Solution Platform pull-down menu</li><br />
<li>Select "Debug LIB CMD" in Solution Configuration pull-down menu</li><br />
<li>Select project pano13 in Solution Explorer, and then choose Build > Project Only > Build Only pano13</li><br />
<li>Select "Release LIB CMD" in Solution Configuration pull-down menu, and then choose Build > Build Solution</li><br />
<li>Close Visual C++ 2008 Express Edition</li><br />
</ol><br />
<br />
'''Result'''<br />
<br />
The applications reside in<br />
<tt><SDKHOME>\libpano\pano13\tools\Release</tt><br />
<br />
The include files reside in<br />
<tt><SDKHOME>\libpano\pano13</tt><br />
<br />
The libraries reside in<br />
"<tt><SDKHOME>\libpano\pano13\Debug LIB CMD</tt>" and <br />
"<tt><SDKHOME>\libpano\pano13\Release LIB CMD</tt>"<br />
<br />
{| class="wikitable" width="100%"<br />
|- valign="top"<br />
! style="padding:5px; text-align:left" | Note<br />
|- valign="top"<br />
| style="padding:5px; text-align:left" | The applications have to be built in release version only. Therefore only pano13 library has to be built in Debug configuration.<br />
|}<br />
<br />
=== libxml2 ===<br />
<br />
<ol><br />
<li>Decompress the file <tt>libxml2-sources-2.7.3.tar.gz</tt> to directory <tt><SDKHOME></tt></li><br />
<li><br />
{| class="wikitable" <br />
|- valign="top"<br />
! style="padding:5px; text-align:left" | 32-Bit Directions<br />
! style="padding:5px; text-align:left" | 64-Bit Directions<br />
|- valign="top"<br />
| style="padding:5px; text-align:left" | <ol><li>To open a Visual Studio command prompt choose Start > Programs > Microsoft Visual C++ 2008 Express Edition > Visual Studio Tools > Visual Studio 2008 Command Prompt</li></ol><br />
| style="padding: 5px; text-align:left" | <ol><br />
<li>Open a Windows SDK prompt by choosing Start -> Programs -> Microsoft Windows SDK v6.1 -> CMD Shell</li><br />
<li>On the command prompt, enter the following command without any line breaks and press the Return/Enter key:<br/><br />
<pre><br />
setenv /Release /x64 /xp<br />
</pre><br />
It should now refresh and say<br />
<pre><br />
Setting SDK environment relative to <path where you installed the SDK><br />
Targeting Windows XP x64 RELEASE<br />
</pre></li><br />
</ol><br />
|}<br />
</li><br />
<br />
<li>On command prompt change directory to <tt><SDKHOME>\libxml2-2.7.3\win32</tt><br/><br />
'''Example'''<br />
<pre><br />
Setting environment for using Microsoft Visual Studio 2008 x86 tools.<br />
<br />
C:\Program Files\Microsoft Visual Studio 9.0\VC>d:<br />
<br />
D:\>cd \usr\src\SDK\libxml2-2.7.3\win32 <br />
<br />
D:\usr\src\SDK\libxml2-2.7.3\win32><br />
</pre><br />
<br />
<li>Enter each of the following two commands without any line break and press the Return key.<br />
<pre><br />
cscript configure.js ftp=no http=no iconv=no cruntime=/MT<br />
nmake -f makefile.msvc libxmla<br />
</pre><br />
</li><br />
</ol><br />
<br />
'''Result'''<br />
<br />
The include files reside in<br />
<tt><SDKHOME>\libxml2-2.7.3\include</tt><br />
<br />
The libraries reside in<br />
<tt><SDKHOME>\libxml2-2.7.3\win32\bin.msvc</tt><br />
<br />
{| class="wikitable" width="100%"<br />
|-<br />
! style="padding:5px; text-align:left" | Notes<br />
|-<br />
| style="padding:5px; text-align:left" | <ul><br />
<li>During build process temporary object files are generated in directory<br />
<tt><SDKHOME>\libxml2-2.7.3\win32\int.a.msvc</tt>.<br />
This directories may be deleted to save disc space.</li><br />
<li>Hugin does not depend on libxml2 library, but autopano-sift-C. Therefore it is included in this SDK.</li><br />
</ul><br />
|}<br />
<br />
=== autopano-sift-C ===<br />
<br />
Autopano-SIFT-C depends on following SDK components:<br />
<ul><br />
<li>libxml2</li><br />
<li>Panorama Tool's pano13 library</li><br />
<li>wxWidgets</li><br />
</ul><br />
Prepare these components before Autopano-SIFT-C.<br />
<br />
<ol><br />
<li>Create the directory <tt><SDKHOME>\autopano-sift-C-trunk</tt></li><br />
<li>In explorer right-click on created directory <tt><SDKHOME>\autopano-sift-C-trunk</tt>, and then choose SVN Checkout from the shortcut menu. The Checkout dialog appears.</li><br />
<li>In "URL of repository" field enter following address:<br />
<pre><br />
https://hugin.svn.sourceforge.net/svnroot/hugin/autopano-sift-C/trunk<br />
</pre><br />
</li><br />
<li>Click OK</li><br />
<li>After checkout has finished click OK</li><br />
<li>Start CMake (cmake-gui). The CMake dialog appears.</li><br />
<li>In "Where is the source code" field enter<br />
<pre><br />
<SDKHOME>\autopano-sift-C-trunk<br />
</pre><br />
Alternatively click Browse Source to point to this directory</li><br />
<li>In "Where to build the binaries" field enter<br />
<pre><br />
<SDKHOME>\autopano-sift-C<br />
</pre><br />
</li><br />
<li>Click Configure<br/><br />
If a dialog appears, which asks to create the build directoy, click Yes.<br/><br />
A dialog appears, where you can specify the generator for the project.</li><br />
<li><br />
{| class="wikitable" <br />
|- valign="top"<br />
! style="padding:5px; text-align:left" | 32-Bit Directions<br />
! style="padding:5px; text-align:left" | 64-Bit Directions<br />
|- valign="top"<br />
| style="padding:5px; text-align:left" | Select "Visual Studio 9 2008" and select option "Use default native compilers"<br />
| style="padding:5px; text-align:left" | Select "Visual Studio 9 2008 Win64" and select option "Use default native compilers"<br />
|}</li><br />
<li>Click Finish<br/><br />
In the Name and Value list the entries are shown with red background.</li><br />
<li>Click Configure</li><br />
<li>Click Generate</li><br />
<li>Close CMake</li><br />
<li>Open solution file <tt><SDKHOME>\autopano-sift-C\autopano-sift-C.sln</tt></li><br />
<li>Select Release in Solution Configuration pull-down menu, and then choose Build > Build Solution</li><br />
<li>Select project INSTALL in Solution Explorer, and then choose Build > Project Only > Build Only INSTALL</li><br />
<li>Close Visual C++ 2008 Express Edition</li><br />
<li><br />
Copy the directories <tt>bin</tt> and <tt>shared</tt> from <tt><SDKHOME>\autopano-sift-C\INSTALL\FILES</tt> to <tt><SDKHOME>\autopano-sift-C</tt></li><br />
</ol><br />
<br />
'''Result'''<br />
<br />
The applications reside in<br />
<tt><SDKHOME>\autopano-sift-C\bin</tt><br />
<br />
The manual pages reside in<br />
<tt><SDKHOME>\autopano-sift-C\shared</tt><br />
<br />
{| class="wikitable" width="100%"<br />
|- valign="top"<br />
! style="padding:5px; text-align:left" | Note<br />
|- valign="top"<br />
| style="padding:5px; text-align:left" | To save disk space you may delete all files and directories in <tt><SDKHOME>\autopano-sift-C</tt>, except the subdirectories <tt>bin</tt> and <tt>shared</tt>.<br />
|}<br />
<br />
=== Freeglut ===<br />
<ol><br />
<li>Decompress the file <tt>freeglut-2.6.0.tar.gz</tt> to directory <tt><SDKHOME></tt></li><br />
<li>Open the file <tt><SDKHOME>\freeglut-2.6.0\VisualStudio2008Static\freeglut.sln</tt></li><br />
<li>Select "Debug" in the Solution Configuration pull-down menu. </li><br />
<li>Select project freeglut in Solution Explorer, and then choose Build > Project Only > Build Only freeglut</li><br />
<li>Select "Release" in the Solution Configuration pull-down menu. </li><br />
<li>Select project freeglut in Solution Explorer, and then choose Build > Project Only > Build Only freeglut</li><br />
<li>Close Visual Studio C++ 2008 Express Edition</li><br />
</ol><br />
<br />
'''Result'''<br />
<br />
The library resides in <tt><SDKHOME>\freeglut-2.6.0\VisualStudio2008Static\Debug</tt> and <tt><SDKHOME>\freeglut-2.6.0\VisualStudio2008Static\Release</tt><br />
<br />
=== GNU Make ===<br />
<ol><br />
<li>Decompress the file <tt>make-3.81.tar.gz</tt> to directory <tt><SDKHOME></tt></li><br />
<li>Open the file <tt><SDKHOME>\make-3.81\make_msvc_net2003.sln</tt> (Confirm convertion.)</li> <br />
<li>Select "Release" in the Solution Configuration pull-down menu. </li><br />
<li>Select project make_msvc.net2003 Solution Explorer, and then choose Build > Project</li><br />
<li>Close Visual Studio C++ 2008 Express Edition</li><br />
<li>Rename the file <tt><SDKHOME>\make-3.81\Release\make_msvc.net2003.exe</tt> to <tt><SDKHOME>\make-3.81\Release\make.exe</tt><br />
</ol><br />
<br />
'''Result'''<br />
<br />
The executable make.exe resides in <tt><SDKHOME>\make-3.81\Release\</tt><br />
<br />
(All other files in this directory can be deleted to save space.)<br />
<br />
<br />
[[User:Ryansleevi|Ryan Sleevi]] 17:00, 9 May 2009 (UTC)<br />
<br />
[[Category:Software:Hugin]]<br />
[[Category:Software:Platform:Windows]]</div>Davidefa