Compiling hugin under debian woody
Frederic
linux at gbiloba.org
Fri Aug 22 14:06:57 BST 2003
Hello folks,
I'm reading your posts since you started the new hugin project. It seems
that you work pretty fast, so I decided to try your snapshot.
I'm working under debian woody, so I first backported all wxwindow2.4
packages for it (from sid). I will put this files on my web site soon.
I have a little problem during the compilation. Here is the error I have
(I'm using g++-3.0, which is the only g++ >3 version available under
debian woody):
---- Compiling CPEditorPanel.cpp (C++)
g++-3.0 -I. -I../include -Wall -g -I/usr/lib/wx/include/gtk-2.4
-DGTK_NO_CHECK_CASTS -D__WXGTK__ -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES
-I../ -c -o .obj/CPEditorPanel.o CPEditorPanel.cpp
CPEditorPanel.cpp: In member function `bool
CPEditorPanel::globalPNr2LocalPNr(unsigned int&, unsigned int) const':
CPEditorPanel.cpp:330: use of `select1st' is ambiguous
../include/common/stl_utils.h:61: first declared as `template<class
_Pair>
struct select1st' here
/usr/include/g++-v3/bits/stl_function.h:400: also declared as
`template<class
_Pair> struct std::select1st' here
CPEditorPanel.cpp:330: parse error before `>' token
CPEditorPanel.cpp: In method `bool CPEditorPanel::PointFineTune(unsigned
int,
const vigra::Diff2D&, unsigned int, const vigra::Diff2D&, FDiff2D&)':
CPEditorPanel.cpp:467: warning: unused variable `const PT::Lens&l'
I don't like the warning on line 330; the following error probably depend
on this warning, but how to solve it ?
--
Frederic
http://linux.gbiloba.org
More information about the ptX
mailing list