hugin on debian woody

Pablo d'Angelo pablo at mathematik.uni-ulm.de
Wed Oct 1 16:45:37 BST 2003


On Wed, 01 Oct 2003, Frederic wrote:

> On Wednesday 01 October 2003 14:58, Pablo d'Angelo wrote:
> 
> > I remember that hugin crashed on debian woody some time ago. Is that
> > still the case?
> 
> Well, I tried to compile it yesterday, but it stops on:

Oh, despite the badly looking error messages (one of the downsides of
using templates), it is just a simple
#include <math.h>
that is missing in PanoramaMemento.cpp

Probably it is included by the new stl code somewhere, and compiled fine
then.

Just strip away all the "instantiated from here" messages and you see
the real errors ;)

Please tell me when compilations fail, its usually simple to fix.
(except for windows specific errors, since I'm not using it usually)

> g++ -I. -I../include -Wall -O2 -I../  -c -o .obj/PanoramaMemento.o PanoramaMemento.cpp
> /usr/lib/gcc-lib/i386-linux/2.95.4/../../../../include/g++-3/stl_pair.h: In method `pair<char[2],PT::Variable>::pair(const char (&)[2], const PT::Variable &)':
> /usr/lib/gcc-lib/i386-linux/2.95.4/../../../../include/g++-3/stl_pair.h:68:   instantiated from `make_pair<char[2], PT::Variable>(const char (&)[2], const PT::Variable &)'
> PanoramaMemento.cpp:48:   instantiated from here
> /usr/lib/gcc-lib/i386-linux/2.95.4/../../../../include/g++-3/stl_pair.h:44: incompatible types in assignment of `const char[2]' to `char[2]'
> /usr/lib/gcc-lib/i386-linux/2.95.4/../../../../include/g++-3/stl_pair.h: In method `pair<char[2],PT::LensVariable>::pair(const char (&)[2], const PT::LensVariable &)':
> /usr/lib/gcc-lib/i386-linux/2.95.4/../../../../include/g++-3/stl_pair.h:68:   instantiated from `make_pair<char[2], PT::LensVariable>(const char (&)[2], const PT::LensVariable &)'
> PanoramaMemento.cpp:126:   instantiated from here
> /usr/lib/gcc-lib/i386-linux/2.95.4/../../../../include/g++-3/stl_pair.h:44: incompatible types in assignment of `const char[2]' to `char[2]'
> PanoramaMemento.cpp: In method `unsigned int PT::PanoramaOptions::getHeight() const':
> PanoramaMemento.cpp:393: implicit declaration of function `int nearbyint(...)'
> make[2]: *** [.obj/PanoramaMemento.o] Error 1
> 
> It seems that it is a problem with stl.
> 
> -- 
>    Frederic
> 
>    http://www.gbiloba.org
ciao
  Pablo
--
http://wurm.wohnheim.uni-ulm.de/~redman/
Please use PGP


More information about the ptX mailing list