Difference between revisions of "Hugin Compiling Debian Raspberry"
Jump to navigation
Jump to search
(Created page with "The [http://en.wikipedia.org/wiki/Raspberry_Pi Raspberry Pi] (RPi) is a [http://en.wikipedia.org/wiki/List_of_single-board_computers single board computer] with a 700Mhz ARM C...") |
(there are more then one model) |
||
(2 intermediate revisions by one other user not shown) | |||
Line 1: | Line 1: | ||
− | The [http://en.wikipedia.org/wiki/Raspberry_Pi Raspberry Pi] (RPi) is a [http://en.wikipedia.org/wiki/List_of_single-board_computers single board computer] | + | The [http://en.wikipedia.org/wiki/Raspberry_Pi Raspberry Pi] (RPi) is a [http://en.wikipedia.org/wiki/List_of_single-board_computers single board computer]. |
− | This page explains how to compile Hugin on an RPi running Debian in order to get [[pto_gen]] working. | + | This page explains how to compile Hugin on an RPi running Debian in order to get [[pto_gen]] working. If you just want pto_gen, I have prepared a [http://polcode.cachefly.net/hugin-pto_gen-arm.tar.gz binary package for ARM]. |
+ | |||
+ | Another aproach would be to cross-compile using an ARM gcc toolchain on a faster PC. | ||
<pre> | <pre> | ||
Line 54: | Line 56: | ||
cmake -DCMAKE_INSTALL_PREFIX=/usr/local . | cmake -DCMAKE_INSTALL_PREFIX=/usr/local . | ||
+ | # compiling will take over 24h | ||
make | make | ||
make install | make install | ||
</pre> | </pre> | ||
+ | |||
+ | [[Category:Software:Hugin:Compiling]] |
Latest revision as of 12:08, 22 November 2022
The Raspberry Pi (RPi) is a single board computer.
This page explains how to compile Hugin on an RPi running Debian in order to get pto_gen working. If you just want pto_gen, I have prepared a binary package for ARM.
Another aproach would be to cross-compile using an ARM gcc toolchain on a faster PC.
sudo su - # connect non-flash USB storage device (old HDD) for massive compilation/swapping IO # I busted my SD card without this # assumed this detects as /dev/sda fdisk /dev/sda # add 6GB ext4 partition # add couple GB swap partion mkfs.ext4 /dev/sda1 swapon /dev/sda2 mkdir /mnt/sda1 mount /dev/sda1 /mnt/sda1 # you can add these to /root/.bashrc alias ai=’apt-get install --assume-yes’ alias as=’apt-cache search --only-titles’ # check if libpano13-2 is available in the stable repo ai libpano13 # we need a libpano13-2 from the testing repo (omit if available in stable at the time you read this) vi /etc/apt/source.list # add: deb http://ftp.uk.debian.org/debian testing main # this will update all your packages to testing versions # maybe there is a way to only get libpano13-2 without messing with your whole system? # go get lunch during this command ;) ai python-dev mercurial libwxgtk2.8-dev libtiff4-dev libpng12-dev swig2.0 \ libopenexr-dev libexiv2-dev libglut3-dev libglew-dev libboost-dev \ boost-build libboost-thread-dev libboost-graph-dev libboost-regex-dev \ libboost-iostreams-dev libboost-filesystem-dev gettext liblapack-dev \ libxi-dev libxmu-dev libboost-signals-dev libboost-system-dev \ libtclap-dev liblensfun-dev cmake libpano13-2 libpano13-dev ln -s /usr/lib/arm-linux-gnueabi/libtiff.so.5 /usr/lib/libtiff.so cd /mnt/sda1 hg clone http://hugin.hg.sourceforge.net:8000/hgroot/hugin/hugin cd hugin head -15 INSTALL_cmake | tail -10 # cmake will throw errors if any packages are missing. search & install them using as/ai cmake -DCMAKE_INSTALL_PREFIX=/usr/local . # compiling will take over 24h make make install