Hugin Compiling OpenSuse

From PanoTools.org Wiki
(Difference between revisions)
Jump to: navigation, search
m (cleanup formatting)
m (Undo revision 10944 by Richlv (Talk) - it nicely broke numbering instead...)
Line 2: Line 2:
 
* 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.:
 
* 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>
 +
  
svn co -r 2765 https://hugin.svn.sourceforge.net/svnroot/hugin/hugin/trunk/ hugin
 
  
 
# Dependencies needed for OpenSuSE 10.3
 
# Dependencies needed for OpenSuSE 10.3
:gettext
+
#:<pre>
:libjpeg-devel
+
#:gettext
:boost-devel
+
#:libjpeg-devel
:boost
+
#:boost-devel
:wxGTK-devel
+
#:boost
:wxGTK
+
#:wxGTK-devel
:OpenEXR-devel
+
#:wxGTK
:openEXR
+
#:OpenEXR-devel
:libexiv2-devel
+
#:openEXR
:libtiff-devel
+
#:libexiv2-devel
:liblcms-devel
+
#:libtiff-devel
 +
#:liblcms-devel
 +
#:</pre>
 
#Enblend and Enfuse (cvs):
 
#Enblend and Enfuse (cvs):
 
+
#:<pre>
cvs -d:pserver:anonymous@enblend.cvs.sourceforge.net:/cvsroot/enblend login
+
#: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
+
#:cvs -z3 -d:pserver:anonymous@enblend.cvs.sourceforge.net:/cvsroot/enblend co -P enblend
cd enblend
+
#:cd enblend
make -f Makefile.cvs
+
#:make -f Makefile.cvs
./configure
+
#:./configure
make
+
#:make
sudo make install
+
#:sudo make install
 
+
#:</pre>
 
#compile and install pano13
 
#compile and install pano13
 
+
#:<pre>
mkdir -p /usr/src/panotools/trunk
+
#:mkdir -p /usr/src/panotools/trunk
cd /usr/src/panotools/trunk
+
#:cd /usr/src/panotools/trunk
svn co https://panotools.svn.sourceforge.net/svnroot/panotools/trunk/libpano libpano13
+
#:svn co https://panotools.svn.sourceforge.net/svnroot/panotools/trunk/libpano libpano13
cd libpano13
+
#:cd libpano13
sh ./bootstrap
+
#:sh ./bootstrap
make
+
#:make
sudo make install install-data-am
+
#:sudo make install install-data-am
 
+
#:</pre>
 
# Install cmake
 
# Install cmake
 
# create the svn-source-directory  /usr/src/hugin
 
# create the svn-source-directory  /usr/src/hugin
 
+
#:<pre>
mkdir /usr/src/hugin
+
#:mkdir /usr/src/hugin
cd  /usr/src/hugin
+
#:cd  /usr/src/hugin
svn co https://hugin.svn.sourceforge.net/svnroot/hugin/hugin/trunk hugin
+
#:svn co https://hugin.svn.sourceforge.net/svnroot/hugin/hugin/trunk hugin
 
+
#:</pre>
 
# create build-directory
 
# create build-directory
 
+
#:<pre>mkdir /usr/src/hugin/BuildHugin
mkdir /usr/src/hugin/BuildHugin
+
#:</pre>
 
+
 
# configure
 
# configure
 
+
#:<pre>cd /usr/src/hugin/BuildHugin
cd /usr/src/hugin/BuildHugin
+
#:ccmake /usr/src/hugin/hugin
ccmake /usr/src/hugin/hugin
+
#:cmake /usr/src/hugin/hugin
cmake /usr/src/hugin/hugin
+
#:</pre>
 
+
 
# make and install
 
# make and install
 
+
#:<pre>make
make
+
#:sudo make install
make install
+
#:</pre>
 
+
 
#compile and install autopano-sift-C<br>Needed for automatic control point generation, restricted by software patents in some countries
 
#compile and install autopano-sift-C<br>Needed for automatic control point generation, restricted by software patents in some countries
 
+
#:<pre>
cd /usr/src
+
#:cd /usr/src
svn co https://hugin.svn.sourceforge.net/svnroot/hugin/autopano-sift-C/trunk/ autopano-sift-C
+
#:svn co https://hugin.svn.sourceforge.net/svnroot/hugin/autopano-sift-C/trunk/ autopano-sift-C
cd autopano-sift-C
+
#:cd autopano-sift-C
mkdir build && cd build
+
#:mkdir build && cd build
cmake -DCMAKE_INSTALL_PREFIX=/usr/local ..
+
#:cmake -DCMAKE_INSTALL_PREFIX=/usr/local ..
make
+
#:make
sudo make install
+
#:sudo make install
 +
#:</pre>
  
 
Success Report: On OpenSuSE 10.2 ist's really straightforward.
 
Success Report: On OpenSuSE 10.2 ist's really straightforward.

Revision as of 14:12, 4 January 2009

  • Confirmed working on OpenSuSE 10.3 and x86_64 architecture.
  • 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.:
    svn co -r 2765 https://hugin.svn.sourceforge.net/svnroot/hugin/hugin/trunk/ hugin


  1. Dependencies needed for OpenSuSE 10.3
    gettext
    libjpeg-devel
    boost-devel
    boost
    wxGTK-devel
    wxGTK
    OpenEXR-devel
    openEXR
    libexiv2-devel
    libtiff-devel
    liblcms-devel
  2. 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
  3. compile and install pano13
    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
  4. Install cmake
  5. create the svn-source-directory /usr/src/hugin
    mkdir /usr/src/hugin
    cd /usr/src/hugin
    svn co https://hugin.svn.sourceforge.net/svnroot/hugin/hugin/trunk hugin
  6. create build-directory
    mkdir /usr/src/hugin/BuildHugin
    
  7. configure
    cd /usr/src/hugin/BuildHugin
    
    ccmake /usr/src/hugin/hugin
    cmake /usr/src/hugin/hugin
  8. make and install
    make
    
    sudo make install
  9. compile and install 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

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: 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
Personal tools
Namespaces

Variants
Actions
Navigation
tools
Tools