Hugin Compiling OpenSuse

From PanoTools.org Wiki
(Difference between revisions)
Jump to: navigation, search
m (Added libtiff-devel and liblcms-devel to list of dependencies. (Since I had to install them to compile enblend))
(Change compiling category)
 
(9 intermediate revisions by 6 users not shown)
Line 1: Line 1:
* Confirmed working on OpenSuSE 10.3 and x86_64 architecture.
+
To build enblend, enfuse, libpano and hugin, follow the instructions below.
* to build enblend, enfuse, libpano and hugin, follow the instructions below
+
* if you need to build a specific SVN version, e.g. 2765, you can slightly change the svn command to get it. e.g.:
+
*:<pre>
+
*:svn co -r 2765 https://hugin.svn.sourceforge.net/svnroot/hugin/hugin/trunk/ hugin
+
*:</pre>
+
  
 +
== Dependencies and prerequisites needed for OpenSuSE 10.3 ==
  
 +
gettext
 +
libjpeg-devel
 +
boost-devel
 +
boost
 +
wxGTK-devel
 +
wxGTK
 +
OpenEXR-devel
 +
openEXR
 +
libexiv2-devel
 +
libtiff-devel
 +
liblcms-devel
 +
cmake
  
# Dependencies needed for OpenSuSE 10.3
+
== Enblend and Enfuse (cvs) ==
#:<pre>
+
 
#:gettext
+
cvs -d:pserver:anonymous@enblend.cvs.sourceforge.net:/cvsroot/enblend login
#:libjpeg-devel
+
cvs -z3 -d:pserver:anonymous@enblend.cvs.sourceforge.net:/cvsroot/enblend co -P enblend
#:boost-devel
+
cd enblend
#:boost
+
make -f Makefile.cvs
#:wxGTK-devel
+
./configure
#:wxGTK
+
make
#:OpenEXR-devel
+
sudo make install
#:openEXR
+
 
#:libexiv2-devel
+
== libpano13 ==
#:libteff-devel
+
 
#:liblcms-devel
+
mkdir -p /usr/src/panotools/trunk
#:</pre>
+
cd /usr/src/panotools/trunk
#Enblend and Enfuse (cvs):
+
svn co https://panotools.svn.sourceforge.net/svnroot/panotools/trunk/libpano libpano13
#:<pre>
+
cd libpano13
#:cvs -d:pserver:anonymous@enblend.cvs.sourceforge.net:/cvsroot/enblend login
+
sh ./bootstrap
#:cvs -z3 -d:pserver:anonymous@enblend.cvs.sourceforge.net:/cvsroot/enblend co -P enblend
+
make
#:cd enblend
+
sudo make install install-data-am
#:make -f Makefile.cvs
+
 
#:./configure
+
== Hugin ==
#:make
+
=== Checkout Hugin ===
#:sudo make install
+
 
#:</pre>
+
  mkdir /usr/src/hugin
#compile and install pano13
+
cd /usr/src/hugin
#:<pre>
+
  svn co https://hugin.svn.sourceforge.net/svnroot/hugin/hugin/trunk hugin
#:mkdir -p /usr/src/panotools/trunk
+
 
#:cd /usr/src/panotools/trunk
+
* if you need to build a specific SVN revision, e.g. 2765, you can slightly change the svn command to get it. e.g.:
#:svn co https://panotools.svn.sourceforge.net/svnroot/panotools/trunk/libpano libpano13
+
 
#:cd libpano13
+
svn co -r 2765 https://hugin.svn.sourceforge.net/svnroot/hugin/hugin/trunk/ hugin
#:sh ./bootstrap
+
 
#:make
+
=== Compile Hugin ===
#:sudo make install
+
 
#:</pre>
+
mkdir /usr/src/hugin/BuildHugin
# Install cmake
+
cd /usr/src/hugin/BuildHugin
# create the svn-source-directory /usr/src/hugin
+
ccmake /usr/src/hugin/hugin
#:<pre>
+
cmake /usr/src/hugin/hugin
#:mkdir /usr/src/hugin
+
make && sudo make install
#:cd /usr/src/hugin
+
 
#:svn co https://hugin.svn.sourceforge.net/svnroot/hugin/hugin/trunk hugin
+
== autopano-sift-C ==
#:</pre>
+
Needed for automatic control point generation, restricted by software patents in some countries.
# create build-directory
+
 
#:<pre>mkdir /usr/src/hugin/BuildHugin
+
cd /usr/src
#:</pre>
+
svn co https://hugin.svn.sourceforge.net/svnroot/hugin/autopano-sift-C/trunk/ autopano-sift-C
# configure
+
cd autopano-sift-C
#:<pre>cd /usr/src/hugin/BuildHugin
+
mkdir build && cd build
#:ccmake /usr/src/hugin/hugin
+
cmake -DCMAKE_INSTALL_PREFIX=/usr/local ..
#:cmake /usr/src/hugin/hugin
+
make
#:</pre>
+
sudo make install
# make and install
+
 
#:<pre>make
+
== Status reports ==
#:sudo make install
+
#:</pre>
+
#compile and install autopano-sift-C<br>Needed for automatic control point generation, restricted by software patents in some countries
+
#:<pre>
+
#:cd /usr/src
+
#:svn co https://hugin.svn.sourceforge.net/svnroot/hugin/autopano-sift-C/trunk/ autopano-sift-C
+
#:cd autopano-sift-C
+
#:mkdir build && cd build
+
#:cmake -DCMAKE_INSTALL_PREFIX=/usr/local ..
+
#:make
+
#:sudo make install
+
#:</pre>
+
  
 
Success Report: On OpenSuSE 10.2 ist's really straightforward.
 
Success Report: On OpenSuSE 10.2 ist's really straightforward.
 
* clean SVN chechout (version as of 20070204)
 
* clean SVN chechout (version as of 20070204)
* followed the instructions in INSTALL_cmake.
+
* followed the instructions in '''INSTALL_cmake'''.
 
* The only non-standard thing is libpano13, (2.9.12 was used)
 
* The only non-standard thing is libpano13, (2.9.12 was used)
 
* All other dependencies have been resolved using the standard (smart) repositories for OpenSuSE (wxGTK is 2.6.3.3).
 
* All other dependencies have been resolved using the standard (smart) repositories for OpenSuSE (wxGTK is 2.6.3.3).
 +
 +
Success Report: Confirmed working on OpenSuSE 10.3 and x86_64 architecture.
 +
 +
Success Report: On OpenSuSE 11.0 x86_64.
 +
* you will need to make sure you have all of the build tools. (examples: gcc+ automake)
 +
* Also had to install libXML2 for autopano
 +
 +
For OpenSuSE 11.1:
 +
* On x86_64 systems with libraries in /usr/lib64 or /usr/local/lib64 such as OpenSuSE, redhat or fedora you need to pass LIB_SUFFIX=64 to cmake
  
 
[[Category:Software:Platform:Linux]]
 
[[Category:Software:Platform:Linux]]
 
[[Category:Software:Hugin]]
 
[[Category:Software:Hugin]]
 +
[[Category:Software:Hugin:Compiling]]

Latest revision as of 22:44, 14 July 2011

To build enblend, enfuse, libpano and hugin, follow the instructions below.

Contents

[edit] Dependencies and prerequisites needed for OpenSuSE 10.3

gettext
libjpeg-devel
boost-devel
boost	
wxGTK-devel
wxGTK
OpenEXR-devel
openEXR
libexiv2-devel
libtiff-devel
liblcms-devel
cmake

[edit] Enblend and Enfuse (cvs)

cvs -d:pserver:anonymous@enblend.cvs.sourceforge.net:/cvsroot/enblend login
cvs -z3 -d:pserver:anonymous@enblend.cvs.sourceforge.net:/cvsroot/enblend co -P enblend
cd enblend
make -f Makefile.cvs
./configure
make
sudo make install

[edit] libpano13

mkdir -p /usr/src/panotools/trunk
cd /usr/src/panotools/trunk
svn co https://panotools.svn.sourceforge.net/svnroot/panotools/trunk/libpano libpano13
cd libpano13
sh ./bootstrap
make
sudo make install install-data-am

[edit] Hugin

[edit] Checkout Hugin

mkdir /usr/src/hugin
cd /usr/src/hugin
svn co https://hugin.svn.sourceforge.net/svnroot/hugin/hugin/trunk hugin
  • if you need to build a specific SVN revision, e.g. 2765, you can slightly change the svn command to get it. e.g.:
svn co -r 2765 https://hugin.svn.sourceforge.net/svnroot/hugin/hugin/trunk/ hugin

[edit] Compile Hugin

mkdir /usr/src/hugin/BuildHugin
cd /usr/src/hugin/BuildHugin
ccmake /usr/src/hugin/hugin
cmake /usr/src/hugin/hugin
make && sudo make install

[edit] autopano-sift-C

Needed for automatic control point generation, restricted by software patents in some countries.

cd /usr/src
svn co https://hugin.svn.sourceforge.net/svnroot/hugin/autopano-sift-C/trunk/ autopano-sift-C
cd autopano-sift-C
mkdir build && cd build
cmake -DCMAKE_INSTALL_PREFIX=/usr/local ..
make
sudo make install

[edit] Status reports

Success Report: On OpenSuSE 10.2 ist's really straightforward.

  • clean SVN chechout (version as of 20070204)
  • followed the instructions in INSTALL_cmake.
  • The only non-standard thing is libpano13, (2.9.12 was used)
  • All other dependencies have been resolved using the standard (smart) repositories for OpenSuSE (wxGTK is 2.6.3.3).

Success Report: Confirmed working on OpenSuSE 10.3 and x86_64 architecture.

Success Report: On OpenSuSE 11.0 x86_64.

  • you will need to make sure you have all of the build tools. (examples: gcc+ automake)
  • Also had to install libXML2 for autopano

For OpenSuSE 11.1:

  • On x86_64 systems with libraries in /usr/lib64 or /usr/local/lib64 such as OpenSuSE, redhat or fedora you need to pass LIB_SUFFIX=64 to cmake
Personal tools
Namespaces

Variants
Actions
Navigation
tools
Tools