Build Panini on Other Unixes

From Wiki
Jump to navigation Jump to search

The software "Panini perspective tool" has a relative old version, 0.71.104, that can be downloaded at sourceforge in this link. It needs to be compiled and has some dependencies that are usually updated, so it sometimes makes compiling Panini not an easy task.

Ubuntu 12.04 + Linux Mint Debian Edition Update 4

Follows the recipe for a standard Ubuntu desktop based on my particular experience:

  • Before installing Panini I have installed Hugin using the common ubuntu tools to install packages. I say this cause I don't know if this installation have installed some Panini dependency. I think not, but...
  • Then I installed qt4 with apt-get:
 apt-get -y install qt4-dev-tools
  • Verify if this has also installed qt4-qmake as a dependency, cause when I installed Panini in 11.04 it didn't, but now it seams to install.
 which qmake
  • If you have a "command not found" or something like this, then install qmake:
 apt-get -y install qt4-qmake
  • I had also to install g++ and zlib1g-dev
  • Next step was to download and unzip Panini itself. Then you need to go to the command line and enter the Panini directory.
  • Create the makefiles with the command:
  • Possibly some messages about subversion will be shown if it is not installed. You can ignore them and follow with the compiling process. The messages are like these:
 sh: 1: svnversion: not found
 Project MESSAGE: could not run svnversion -- is it installed?
  • Then you need to edit the Makefile.Release file, created after last given command. To make libz be found edit line 18 putting "-lz -lGLU" at the end. It will be like the line below after that:
 LIBS          = $(SUBLIBS)  -L/usr/lib/x86_64-linux-gnu -L/usr/X11R6/lib64 -lQtOpenGL -lQtGui -lQtCore -lGL -lpthread -lz -lGLU
  • Then you finish compiling Panini with the command:
 make release

A binary executable file called Panini might have been created. You can now test and use it.