Building Hugin in Ubuntu (Feisty Fawn and Edgy Eft)
This is a work-in-progress as I figure out what are the necessary steps one has to take to go from a scratch installation of Ubuntu (or Kubuntu, or Xubuntu) to a building environment for source packages of hugin and its related tools (autopano-sift-c, libpano13, enblend). This has been tested in Kubuntu Edgy Eft and Feisty Fawn, but of course no installation is ever the same and I would welcome your comments as to what packages you had to install, or what error messages you are facing.
Hugin is a very versatile software to merge different photos into panoramas. It is open source and its development is quite active so people might benefit from building from the sources. This post is part of a recent push to try to get frequent builds in most operating systems (Linux, Mac OSX and Windows).
Basic setupInstallation of needed components. This is the most difficult part, since once you have all the components you will be able to build hugin as often as you want.
sudo apt-get install subversion
- Install cmake, other building tools and other libraries
sudo apt-get install cmake checkinstallHere is the list as I could work it out from objdump -p /usr/local/bin hugin. Some sound strange, probably because I am building in 64bit linux.
sudo apt-get install libvips10-dev libvips10c2a libgcj7-0 libgcj7-dev
sudo apt-get install ia32-libs lib32gcc1 lib32stdc++6 lib32z1 \
libc6 libc6-i386 libgcc1 \
libjpeg62 libopenexr2c2a libpng12-0 libstdc++6 libtiff4 \
libwxbase2.6-0 libwxgtk2.6-0 zlib1g \
lib32gcc1 libstdc++6-dev lib32z1-dev \
libc6-dev libc6-i386-dev libgcc1-dev \
libjpeg62-dev libopenexr2c2a-dev libpng12-0-dev libstdc++6-dev libtiff4-dev \
libwxbase2.6-0-dev libwxgtk2.6-0-dev zlib1g-de
- Download the source from SVN
svn co https://panotools.svn.sourceforge.net/svnroot/panotools/trunk/libpano libpano13Check if dependencies are missing; install and relaunch the configure process
- Compile and install
- This is the trunk, which has been updated now from the Ippei branch:
svn co https://hugin.svn.sourceforge.net/svnroot/hugin/hugin/trunk/ hugin
- Building hugin: there is only one procedure right now with cmake
cmake -DCMAKE_INSTALL_PREFIX=/usr/local .Sometimes when launching hugin it gives an error that a library is impossible to load. You have to run: