<?xml version="1.0"?>
<?xml-stylesheet type="text/css" href="http://wiki.panotools.org/skins/common/feed.css?303"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
		<id>http://wiki.panotools.org/index.php?title=Fixing_The_Hugin_Build&amp;feed=atom&amp;action=history</id>
		<title>Fixing The Hugin Build - Revision history</title>
		<link rel="self" type="application/atom+xml" href="http://wiki.panotools.org/index.php?title=Fixing_The_Hugin_Build&amp;feed=atom&amp;action=history"/>
		<link rel="alternate" type="text/html" href="http://wiki.panotools.org/index.php?title=Fixing_The_Hugin_Build&amp;action=history"/>
		<updated>2013-05-22T08:39:46Z</updated>
		<subtitle>Revision history for this page on the wiki</subtitle>
		<generator>MediaWiki 1.19.0</generator>

	<entry>
		<id>http://wiki.panotools.org/index.php?title=Fixing_The_Hugin_Build&amp;diff=12819&amp;oldid=prev</id>
		<title>Bruno: categorise</title>
		<link rel="alternate" type="text/html" href="http://wiki.panotools.org/index.php?title=Fixing_The_Hugin_Build&amp;diff=12819&amp;oldid=prev"/>
				<updated>2010-11-12T22:18:33Z</updated>
		
		<summary type="html">&lt;p&gt;categorise&lt;/p&gt;
&lt;table class='diff diff-contentalign-left'&gt;
				&lt;col class='diff-marker' /&gt;
				&lt;col class='diff-content' /&gt;
				&lt;col class='diff-marker' /&gt;
				&lt;col class='diff-content' /&gt;
			&lt;tr valign='top'&gt;
			&lt;td colspan='2' style=&quot;background-color: white; color:black;&quot;&gt;← Older revision&lt;/td&gt;
			&lt;td colspan='2' style=&quot;background-color: white; color:black;&quot;&gt;Revision as of 22:18, 12 November 2010&lt;/td&gt;
			&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 46:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 46:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;* It's an interative process: after you installed a dependency that you think was missing, run CMake again.&amp;#160; If it stops at the same place with the same error message, you likely installed the wrong dependency (exception: boost - you can't really know).&amp;#160; If it continues past the previous error, you installed the right dependency.&amp;#160; Consider updating the instructions for your platform.&amp;#160; If it stops again later on, repeat the process.&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;* It's an interative process: after you installed a dependency that you think was missing, run CMake again.&amp;#160; If it stops at the same place with the same error message, you likely installed the wrong dependency (exception: boost - you can't really know).&amp;#160; If it continues past the previous error, you installed the right dependency.&amp;#160; Consider updating the instructions for your platform.&amp;#160; If it stops again later on, repeat the process.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;* Even after the build files have been successfully generated, read through the CMake output, you may find about optional libraries such as lapack.&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;* Even after the build files have been successfully generated, read through the CMake output, you may find about optional libraries such as lapack.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;background: #cfc; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;color: red; font-weight: bold; text-decoration: none;&quot;&gt;&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;background: #cfc; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;color: red; font-weight: bold; text-decoration: none;&quot;&gt;{{clr}}&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;background: #cfc; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;color: red; font-weight: bold; text-decoration: none;&quot;&gt;&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;background: #cfc; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;color: red; font-weight: bold; text-decoration: none;&quot;&gt;[[Category:Software:Hugin]]&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>Bruno</name></author>	</entry>

	<entry>
		<id>http://wiki.panotools.org/index.php?title=Fixing_The_Hugin_Build&amp;diff=12800&amp;oldid=prev</id>
		<title>Yuval: /* Debugging Your Build (work in progress) */</title>
		<link rel="alternate" type="text/html" href="http://wiki.panotools.org/index.php?title=Fixing_The_Hugin_Build&amp;diff=12800&amp;oldid=prev"/>
				<updated>2010-11-04T23:36:23Z</updated>
		
		<summary type="html">&lt;p&gt;‎&lt;span dir=&quot;auto&quot;&gt;&lt;span class=&quot;autocomment&quot;&gt;Debugging Your Build (work in progress)&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;table class='diff diff-contentalign-left'&gt;
				&lt;col class='diff-marker' /&gt;
				&lt;col class='diff-content' /&gt;
				&lt;col class='diff-marker' /&gt;
				&lt;col class='diff-content' /&gt;
			&lt;tr valign='top'&gt;
			&lt;td colspan='2' style=&quot;background-color: white; color:black;&quot;&gt;← Older revision&lt;/td&gt;
			&lt;td colspan='2' style=&quot;background-color: white; color:black;&quot;&gt;Revision as of 23:36, 4 November 2010&lt;/td&gt;
			&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 36:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 36:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;== Debugging Your Build (work in progress) ==&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;== Debugging Your Build (work in progress) ==&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;−&lt;/td&gt;&lt;td style=&quot;background: #ffa; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;&lt;del class=&quot;diffchange diffchange-inline&quot;&gt;&amp;quot; &lt;/del&gt;Start &lt;del class=&quot;diffchange diffchange-inline&quot;&gt;with &lt;/del&gt;the error &lt;del class=&quot;diffchange diffchange-inline&quot;&gt;messages&lt;/del&gt;.&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;background: #cfc; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;Start &lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;building according to the build instructions for your platform.&amp;#160; When the build fails, note &lt;/ins&gt;the error &lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;message.&amp;#160; This is the starting point to debug&lt;/ins&gt;.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;−&lt;/td&gt;&lt;td style=&quot;background: #ffa; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;* &lt;del class=&quot;diffchange diffchange-inline&quot;&gt;use the &lt;/del&gt;-- Could not find XXXX message &lt;del class=&quot;diffchange diffchange-inline&quot;&gt;in CMake&lt;/del&gt;&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;background: #cfc; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;* &lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;The most common build errors are missing dependencies.&amp;#160; CMake will stop with a '''&lt;/ins&gt;-- Could not find XXXX message&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;'''.&amp;#160; You want to find the XXXX dependency.&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;−&lt;/td&gt;&lt;td style=&quot;background: #ffa; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;* &lt;del class=&quot;diffchange diffchange-inline&quot;&gt;search with &lt;/del&gt;apt-cache for XXXX&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;background: #cfc; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;* &lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;On Debian / Ubuntu system, use '''&lt;/ins&gt;apt-cache&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;''' to search &lt;/ins&gt;for XXXX&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;.&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;−&lt;/td&gt;&lt;td style=&quot;background: #ffa; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;* &lt;del class=&quot;diffchange diffchange-inline&quot;&gt;if after installing something that &lt;/del&gt;looks like &lt;del class=&quot;diffchange diffchange-inline&quot;&gt;XXXX&lt;/del&gt;, &lt;del class=&quot;diffchange diffchange-inline&quot;&gt;then look &lt;/del&gt;at &lt;del class=&quot;diffchange diffchange-inline&quot;&gt;Suggested packages too&lt;/del&gt;&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;background: #cfc; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;* &lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;Most CMake error messages are detailed enough to identify the specific dependency.&amp;#160; Except '''-- Could NOT find Boost'''.&amp;#160; This error message is incomplete. [http://www.boost.org/ Boost] is a very large and growing collection of C++ libraries.&amp;#160; Instead of cluttering your system with a monolithic gigantic package, boost libraries are delivered in smaller packages on most systems.&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;−&lt;/td&gt;&lt;td style=&quot;background: #ffa; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;* &lt;del class=&quot;diffchange diffchange-inline&quot;&gt;even &lt;/del&gt;after build files have been generated, read through the output, you may find about optional libraries such as lapack&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;background: #cfc; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;* If the missing library is a boost library, you will have to look into the top level CMakeLists.txt file in your Hugin source tree and read what boost components are required.&amp;#160; At the time of writing, the line &lt;/ins&gt;looks like&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;:&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;background: #cfc; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;:&amp;lt;pre&amp;gt;FIND_PACKAGE(Boost 1.34 COMPONENTS thread date_time regex filesystem iostreams system signals)&amp;lt;/pre&amp;gt;&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;background: #cfc; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;* You will want to use your package manager search function to search for the specific Boost component&lt;/ins&gt;, &lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;e.g. `boost-signals`&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;background: #cfc; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;* It's an interative process: after you installed a dependency that you think was missing, run CMake again.&amp;#160; If it stops &lt;/ins&gt;at &lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;the same place with the same error message, you likely installed the wrong dependency (exception: boost - you can't really know).&amp;#160; If it continues past the previous error, you installed the right dependency.&amp;#160; Consider updating the instructions for your platform.&amp;#160; If it stops again later on, repeat the process.&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;background: #cfc; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;* &lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;Even &lt;/ins&gt;after &lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;the &lt;/ins&gt;build files have been &lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;successfully &lt;/ins&gt;generated, read through the &lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;CMake &lt;/ins&gt;output, you may find about optional libraries such as lapack&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;.&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>Yuval</name></author>	</entry>

	<entry>
		<id>http://wiki.panotools.org/index.php?title=Fixing_The_Hugin_Build&amp;diff=12740&amp;oldid=prev</id>
		<title>Yuval: initial draft (incomplete)</title>
		<link rel="alternate" type="text/html" href="http://wiki.panotools.org/index.php?title=Fixing_The_Hugin_Build&amp;diff=12740&amp;oldid=prev"/>
				<updated>2010-10-17T02:29:52Z</updated>
		
		<summary type="html">&lt;p&gt;initial draft (incomplete)&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;Hugin is a work in progress, and so are most operating systems.  The building processes [[Development_of_Open_Source_tools|documented]] on this site have worked for a specific version of Hugin and a specific version of the operating system concerned at some point in the past.  However this is no guarantee that they will work now and in your speific situation.  The purpose of this document is to raise awareness of potential build problems and mitigate their impact.  Moreover it should help contributors maintaining the documents for their specific platforms.&lt;br /&gt;
&lt;br /&gt;
== Who Is This Document For ==&lt;br /&gt;
&lt;br /&gt;
This document is for&lt;br /&gt;
* Developers&lt;br /&gt;
* Maintainers&lt;br /&gt;
* The General Building Public&lt;br /&gt;
&lt;br /&gt;
=== Developers ===&lt;br /&gt;
&lt;br /&gt;
As a developer you not only need a working build, you change it.  And your changes affect everybody else.&lt;br /&gt;
&lt;br /&gt;
Before adding a new dependency, consider the implications.&lt;br /&gt;
* If the dependency can't be satisfied on all supported mainstream platforms, don't add it.&lt;br /&gt;
* Every dependency adds an obstacle to the building process.  Is it really necessary?&lt;br /&gt;
* In borderline cases, consider the added value of the dependency vs. the extra effort required.  For example, OpenMP (used by Enblend) is supported on all mainstream platforms.  It makes the power of modern multi-core CPUs easily accessible.  But it has a negative impact on Windows because it requires a more expensive version of the MSVC compiler.  The advantages (for everybody, including Windows users) outweigh the disadvantages (affecting Windows builders and developers only), hence OpenMP should be considered OK.&lt;br /&gt;
* Seek the help/feedback from builders on other platforms to make sure the consequences are known.&lt;br /&gt;
&lt;br /&gt;
When you add a dependency or upgrade an existing one to a newer version:&lt;br /&gt;
* Document it in the commit log.&lt;br /&gt;
* Communicate it publicly on [http://groups.google.com/group/hugin-ptx/ Hugin-PTX].&lt;br /&gt;
* Document and communicate when it happens in a development branch; and repeat when it is merged into the main default branch.&lt;br /&gt;
* Document it in the README file, on this wiki, on the Hugin website.&lt;br /&gt;
&lt;br /&gt;
Spread the information broadly to mitigate the impact.  Spread it as early as possible to give enough time to everybody else to adapt.&lt;br /&gt;
&lt;br /&gt;
=== Maintainers ===&lt;br /&gt;
&lt;br /&gt;
If you follow a platform / operating system more closely than the average contributor, you know ahead of time of changes in upstream dependencies to Hugin.  When you learn about such a change, please communicate it publicly on [http://groups.google.com/group/hugin-ptx/ Hugin-PTX] and if possible edit the documentation in this wiki relative to the platform.  Early knowledge mitigates the impact and gives everybody a chance to adapt.&lt;br /&gt;
&lt;br /&gt;
=== General Building Public ===&lt;br /&gt;
&lt;br /&gt;
There are many reasons why you would want to build Hugin.  It may be a step on the way to become a developer or a maintainer.  Even if you are experienced in other areas of IT, start with the assumption that the problem is on your end, not with the documentation.  It can happen even to the most experienced builders.  Follow the instructions below to debug your build.  If you need help, ask on [http://groups.google.com/group/hugin-ptx/ Hugin-PTX], always assuming that the instructions are correct and something else is wrong.  Relax that assumption only when a bug with the instructions is confirmed, ideally by experienced builders.&lt;br /&gt;
&lt;br /&gt;
== Debugging Your Build (work in progress) ==&lt;br /&gt;
&lt;br /&gt;
&amp;quot; Start with the error messages.&lt;br /&gt;
&lt;br /&gt;
* use the -- Could not find XXXX message in CMake&lt;br /&gt;
* search with apt-cache for XXXX&lt;br /&gt;
* if after installing something that looks like XXXX, then look at Suggested packages too&lt;br /&gt;
* even after build files have been generated, read through the output, you may find about optional libraries such as lapack&lt;/div&gt;</summary>
		<author><name>Yuval</name></author>	</entry>

	</feed>