Compiling hugin with gcc 2.95
Frederic Mantegazza
mantegazza at ill.fr
Thu Sep 4 10:27:20 BST 2003
On Thursday 04 September 2003 07:38, Frederic wrote:
> That's it. I've compiled wxwindows with 2.95, and hugin with 3.0. I will
> try to see if I can compile hugin with 2.95 too.
Well, gcc 2.95 does not know the vector::at() method. So, I get a lot of:
no matching function for call to
`vector<PT::OptimizerSettings,allocator<PT::OptimizerSettings> >::at
(unsigned int &)'
A also get:
../include/common/stl_utils.h: In function `class string tolower(const
string &)':
../include/common/stl_utils.h:47: `::transform' undeclared (first use here)
../include/common/stl_utils.h:47: parse error before `,'
The rest is ok.
I don't know if there is a way to get all that working under gcc 2.95. You
are not going to re-write the stl lib !!!
If you have an idea...
--
Frederic
More information about the ptX
mailing list