Panini on ubuntu 12.04

648 views
Skip to first unread message

Carlos Eduardo G. Carvalho (Cartola)

unread,
Aug 12, 2012, 9:00:07 PM8/12/12
to hugi...@googlegroups.com
Hi,

I have compiled Panini 0.71.104 on Ubuntu 12.04. For those who does't know, this is a very good visualizer for many projections, like equirectangular, cube faces and many others. As it was not an obvious task I decided to share the final recipe at the internet.

In English:
http://www.cartola.org/cartola/index.php?title=Installing_Panini

In Portuguese (Brazilian):
http://www.cartola.org/cartola/index.php?title=Instalando_o_Panini

Cheers,

Carlos E G Carvalho (Cartola)
http://cartola.org/360
http://www.panoforum.com.br/
Gnugraf 2012 - 17 e 18 de agosto, CEFET Maracanã, Rio de Janeiro

Yili Zhao

unread,
Aug 18, 2012, 3:31:20 AM8/18/12
to hugi...@googlegroups.com
Hi,
thanks for the recipe.

May you add it to "http://wiki.panotools.org/"?

2012/8/13 Carlos Eduardo G. Carvalho (Cartola) <cart...@gmail.com>:
> --
> You received this message because you are subscribed to the Google Groups
> "Hugin and other free panoramic software" group.
> A list of frequently asked questions is available at:
> http://wiki.panotools.org/Hugin_FAQ
> To post to this group, send email to hugi...@googlegroups.com
> To unsubscribe from this group, send email to
> hugin-ptx+...@googlegroups.com
> For more options, visit this group at
> http://groups.google.com/group/hugin-ptx



--
Yili Zhao

Doug

unread,
Aug 18, 2012, 6:57:33 AM8/18/12
to hugi...@googlegroups.com
FYI it also works fine with Linux Mint Debian Edition Update
4, so long as one also installs package 'subversion' before
running 'qmake panini.pro'.

Many thanks!


On 18/08/12 08:31, Yili Zhao wrote:
> Hi,
> thanks for the recipe.
>
> May you add it to "http://wiki.panotools.org/"?
>
> 2012/8/13 Carlos Eduardo G. Carvalho (Cartola) <cart...@gmail.com>:
>> Hi,
>>
>> I have compiled Panini 0.71.104 on Ubuntu 12.04. For those who does't know,
>> this is a very good visualizer for many projections, like equirectangular,
>> cube faces and many others. As it was not an obvious task I decided to share
>> the final recipe at the internet.
>>
>> In English:
>> http://www.cartola.org/cartola/index.php?title=Installing_Panini
>>
>> In Portuguese (Brazilian):
>> http://www.cartola.org/cartola/index.php?title=Instalando_o_Panini
>>
>> Cheers,
>>
>> Carlos E G Carvalho (Cartola)
>> http://cartola.org/360
>> http://www.panoforum.com.br/
>> Gnugraf 2012 - 17 e 18 de agosto, CEFET Maracan�, Rio de Janeiro

Yili Zhao

unread,
Aug 18, 2012, 9:08:03 AM8/18/12
to hugi...@googlegroups.com
Hi Carlos,
the error of compiling pvQtView.cpp:
"build/pvQtView.o: In function `pvQtView::OGLok(char const*)':
pvQtView.cpp:(.text+0x1c1f): undefined reference to `gluErrorString'"

is because Panini doesn't link with libGLU.so (gluErrorString is
defined in this library)

So the solution is to add the libGLU linkage in Makefile.Debug and
Makefile.Release.

For example, in Makefile.Release:
change line 18: LIBS = $(SUBLIBS)
-L/usr/lib/x86_64-linux-gnu -L/usr/X11R6/lib64 -lQtOpenGL -lQtGui
-lQtCore -lGL -lpthread
to: LIBS = $(SUBLIBS) -L/usr/lib/x86_64-linux-gnu
-L/usr/X11R6/lib64 -lQtOpenGL -lQtGui -lQtCore -lGL -lGLU -lpthread
-lz


2012/8/13 Carlos Eduardo G. Carvalho (Cartola) <cart...@gmail.com>:
> --
> You received this message because you are subscribed to the Google Groups
> "Hugin and other free panoramic software" group.
> A list of frequently asked questions is available at:
> http://wiki.panotools.org/Hugin_FAQ
> To post to this group, send email to hugi...@googlegroups.com
> To unsubscribe from this group, send email to
> hugin-ptx+...@googlegroups.com
> For more options, visit this group at
> http://groups.google.com/group/hugin-ptx



--
Yili Zhao

Carlos Eduardo G. Carvalho (Cartola)

unread,
Aug 18, 2012, 10:18:25 AM8/18/12
to hugi...@googlegroups.com
Hi Doug, I have updated yesterday the tutorial mentioning that the subversion messages can be ignored. I forgot to write that at the first time because my machine already had subversion installed. It is mentioned in the panini-build.txt "... Otherwise, just ignore the qmake error message about svnversion."

Thanks!Gnugraf 2012 - 17 e 18 de agosto, CEFET Maracanã, Rio de Janeiro



2012/8/18 Doug <doug_ba...@onetel.com>
FYI it also works fine with Linux Mint Debian Edition Update 4, so long as one also installs package 'subversion' before running 'qmake panini.pro'.

Many thanks!



On 18/08/12 08:31, Yili Zhao wrote:
Hi,
   thanks for the recipe.

   May you add it to "http://wiki.panotools.org/"?

2012/8/13 Carlos Eduardo G. Carvalho (Cartola) <cart...@gmail.com>:
Hi,

I have compiled Panini 0.71.104 on Ubuntu 12.04. For those who does't know,
this is a very good visualizer for many projections, like equirectangular,
cube faces and many others. As it was not an obvious task I decided to share
the final recipe at the internet.

In English:
http://www.cartola.org/cartola/index.php?title=Installing_Panini

In Portuguese (Brazilian):
http://www.cartola.org/cartola/index.php?title=Instalando_o_Panini

Cheers,

Carlos E G Carvalho (Cartola)
http://cartola.org/360
http://www.panoforum.com.br/
Gnugraf 2012 - 17 e 18 de agosto, CEFET Maracanã, Rio de Janeiro


--
You received this message because you are subscribed to the Google Groups
"Hugin and other free panoramic software" group.
A list of frequently asked questions is available at:
http://wiki.panotools.org/Hugin_FAQ
To post to this group, send email to hugi...@googlegroups.com
To unsubscribe from this group, send email to

For more options, visit this group at
http://groups.google.com/group/hugin-ptx
--
You received this message because you are subscribed to the Google Groups "Hugin and other free panoramic software" group.
A list of frequently asked questions is available at: http://wiki.panotools.org/Hugin_FAQ
To post to this group, send email to hugi...@googlegroups.com
To unsubscribe from this group, send email to hugin-ptx+unsubscribe@googlegroups.com

Carlos Eduardo G. Carvalho (Cartola)

unread,
Aug 18, 2012, 10:21:22 AM8/18/12
to hugi...@googlegroups.com
Thank you!

I am gonna test and change the tutorial then.

In fact I tried to find which lib could have that function, but after trying a little to find I gave up and did that change. I was in a rush to install a lab for a workshop I'll do in a few hours.

Probably I will also upgrade the tutorial considering FreeBSD in some weeks when the 9.1 is released and I find some time to install it.

Thanks again!


Carlos E G Carvalho (Cartola)
http://cartola.org/360
http://www.panoforum.com.br/
Gnugraf 2012 - 17 e 18 de agosto, CEFET Maracanã, Rio de Janeiro



2012/8/18 Yili Zhao <pan...@gmail.com>

Carlos Eduardo G. Carvalho (Cartola)

unread,
Aug 18, 2012, 10:44:53 AM8/18/12
to hugi...@googlegroups.com
Well, I hav put it there now, but just copied my personal recipe. I think it is not very well writen as a general recipe, it is more like a personal experience, but anyway, it is there.

It is linked from here: http://wiki.panotools.org/Panorama_Viewers#Stand_alone_Viewers

and I have created this page: http://wiki.panotools.org/Build_Panini_on_Other_Unixes

all (mine and at panotools wiki) updated with the -lGLU detail.

Thanks!


Carlos E G Carvalho (Cartola)
http://cartola.org/360
http://www.panoforum.com.br/
Gnugraf 2012 - 17 e 18 de agosto, CEFET Maracanã, Rio de Janeiro



2012/8/18 Yili Zhao <pan...@gmail.com>

Andreas Metzler

unread,
Aug 18, 2012, 1:19:35 PM8/18/12
to hugi...@googlegroups.com
"Carlos Eduardo G. Carvalho (Cartola)" <cart...@gmail.com> wrote:
> I have compiled Panini 0.71.104 <http://sourceforge.net/projects/pvqt/> on
> Ubuntu 12.04. For those who does't know, this is a very good visualizer for
> many projections, like equirectangular, cube faces and many others. As it
> was not an obvious task I decided to share the final recipe at the internet.
[...]

Just out of interest: Does the binary from the hugin ppa
https://launchpad.net/~hugin/+archive/hugin-builds for oneric not work
on 12.04?

cu andreas

Stefan Peter

unread,
Aug 19, 2012, 7:37:59 AM8/19/12
to hugi...@googlegroups.com
Hi Andreas

On 18.08.2012 19:19, Andreas Metzler wrote:
[...]
> Just out of interest: Does the binary from the hugin ppa
> https://launchpad.net/~hugin/+archive/hugin-builds for oneric not work
> on 12.04?

It should if the missing dependency to libglu-mesa1 is taken care of by
some other application or if this library has been installed manually.

However, I'm currently building a precise package that should take care
of this issue.

Regards

Stefan Peter



--
"In summary, I think you are trying to solve a problem that may not
need to be solved, using a tool that is not meant to solve it, without
understanding what is causing your problems and without knowing how
the tool actually works in the first place :)"
Jeffrey J. Kosowsky on the backuppc mailing list

Carlos Eduardo G. Carvalho (Cartola)

unread,
Aug 19, 2012, 7:53:26 AM8/19/12
to hugi...@googlegroups.com
2012/8/19 Stefan Peter <s_p...@swissonline.ch>

Hi Andreas

On 18.08.2012 19:19, Andreas Metzler wrote:
[...]
> Just out of interest: Does the binary from the hugin ppa
> https://launchpad.net/~hugin/+archive/hugin-builds for oneric not work
> on 12.04?

It should if the missing dependency to libglu-mesa1 is taken care of by
some other application or if this library has been installed manually.

However, I'm currently building a precise package that should take care
of this issue.

Regards

Stefan Peter


I didn't know that source, I have installed linux here only for a workshop.

Thanks,

Andreas Metzler

unread,
Aug 19, 2012, 7:57:38 AM8/19/12
to hugi...@googlegroups.com
Stefan Peter <s_p...@swissonline.ch> wrote:
> Hi Andreas

> On 18.08.2012 19:19, Andreas Metzler wrote:
> [...]
>> Just out of interest: Does the binary from the hugin ppa
>> https://launchpad.net/~hugin/+archive/hugin-builds for oneric not work
>> on 12.04?

> It should if the missing dependency to libglu-mesa1 is taken care of by
> some other application or if this library has been installed manually.
[...]

The dependency on libglu1-mesa (I assume that is what you meant) seems
to be present:

ametzler@argenau:~/GIT/SVN/mapivi$ dpkg --info /tmp/panini_0.71.104-0ubuntu1~oneiric_i386.deb
[...]
Version: 0.71.104-0ubuntu1~oneiric
Architecture: i386
Maintainer: Hugin PPA Packagers <hugi...@googlegroups.com>
Installed-Size: 328
Depends: libc6 (>= 2.4), libgcc1 (>= 1:4.1.1), libgl1-mesa-glx | libgl1, libglu1-mesa | libglu1, libqt4-opengl (>= 4:4.5.3), libqtcore4 (>= 4:4.7.0~beta1), libqtgui4 (>= 4:4.5.3), libstdc++6 (>= 4.1.1), zlib1g (>= 1:1.1.4)
[...]

cu andreas

--
`What a good friend you are to him, Dr. Maturin. His other friends are
so grateful to you.'
`I sew his ears on from time to time, sure'

Stefan Peter

unread,
Aug 19, 2012, 8:29:33 AM8/19/12
to hugi...@googlegroups.com
Hi Andreas

On 19.08.2012 13:57, Andreas Metzler wrote:
> The dependency on libglu1-mesa (I assume that is what you meant) seems
> to be present:
>
> ametzler@argenau:~/GIT/SVN/mapivi$ dpkg --info /tmp/panini_0.71.104-0ubuntu1~oneiric_i386.deb
> [...]
> Version: 0.71.104-0ubuntu1~oneiric
> Architecture: i386
> Maintainer: Hugin PPA Packagers <hugi...@googlegroups.com>
> Installed-Size: 328
> Depends: libc6 (>= 2.4), libgcc1 (>= 1:4.1.1), libgl1-mesa-glx | libgl1, libglu1-mesa | libglu1, libqt4-opengl (>= 4:4.5.3), libqtcore4 (>= 4:4.7.0~beta1), libqtgui4 (>= 4:4.5.3), libstdc++6 (>= 4.1.1), zlib1g (>= 1:1.1.4)
> [...]

Yes, and oneiric did not fail in the same way. I suppose some shuffling
around in the QT libraries has happened and now libglu1-mesa is not a
dependency of any of the standard QT libraries anymore. Therefore, it is
not injected in the makefiles anymore which resulted in the error message.

I have added it as an additional LIBS dependency and at least it
compiled here.

Stefan Peter

unread,
Aug 20, 2012, 3:22:53 PM8/20/12
to hugi...@googlegroups.com
On 19.08.2012 13:37, Stefan Peter wrote:
> However, I'm currently building a precise package that should take care
> of this issue.

Sorry for all Panini users waiting for the ubuntu precise (12.04) or
quantal (12.08) packages to appear on ppa:hugin/hugin-builds : Both
packages are in the launchpad queue for >30 hours now without any sign
to be done sooner or later.

I assume that the upcoming quantal release consumes all the launchpad
resources, so we will have to wait until this is over. But the packages
built using pbuilder locally, so once the gods of launchpad decides that
the service is usable for "normal users" again, I'm positive the
packages will show up immediately.

In the meantime, why don't you add the "latest hugin builds" ppa
(https://launchpad.net/~hugin/+archive/hugin-builds) to your
sources.list in order to be prepared when the time comes? You even can
add the "next Hugin builds ppa"
(https://launchpad.net/~hugin/+archive/next) containing the 2012.02 beta
release builds to your sources.list to gain access to the bleeding edge
in hugin development.

Anyways you will find instructions to to so at the urls mentioned above.

Sorry for the delay

Stefan Peter

unread,
Aug 21, 2012, 2:18:51 PM8/21/12
to hugi...@googlegroups.com
Hi List

On 19.08.2012 13:37, Stefan Peter wrote:
...
> However, I'm currently building a precise package that should take care
> of this issue.
>

The Gods of launchpad had mercy and you will find a brand new ubuntu
panini .deb for both precise(12.04) and quantal (12.08?). Point your
browser to https://launchpad.net/~hugin/+archive/hugin-builds and have fun.

As always, I'd appreciate feedback related to the packaging. I can't
help much with error reports or feature requests. though: If I got that
right, panini is not actively developed anymore.

Cheers
Reply all
Reply to author
Forward
0 new messages