[ptx] cvs compile fails
Peter Suetterlin
P.Suetterlin at astro.uu.nl
Wed Mar 29 18:00:27 BST 2006
Hi all,
I've been away from active pano-ing for a while, only checking the
list every now and then, but lately picked it up again, after hooking
a friend to hugin-panos :-)
So I thought compile the latest hugin from CVS.
bootstrap and configure work fine, I don't get missing stuff, however
the compile of ImageCenter.cpp fails:
if g++ -DHAVE_CONFIG_H "-I." -I../../src/include -I../../src/foreign
-I../../src/include -I.. -I/usr/lib/wx/include/gtk2-2.5
-I/usr/include/wx-2.5 -DGTK_NO_CHECK_CASTS -D__WXGTK__
-D_FILE_OFFSET_BITS=64 -D_LARGE_FILES -DXTHREADS -D_REENTRANT
-DXUSE_MTSAFE_API -pthread -I/opt/gnome/include/gtk-2.0
-I/opt/gnome/lib/gtk-2.0/include -I/usr/X11R6/include
-I/opt/gnome/include/atk-1.0 -I/opt/gnome/include/pango-1.0
-I/usr/include/freetype2 -I/usr/include/freetype2/config
-I/opt/gnome/include/glib-2.0 -I/opt/gnome/lib/glib-2.0/include
-I/usr/local/include -DHasPANO -pthread -I/usr/include -g -O2 -MT
ImageCenter.o -MD -MP -MF ".deps/ImageCenter.Tpo" -c -o ImageCenter.o
ImageCenter.cpp; \
then mv -f ".deps/ImageCenter.Tpo" ".deps/ImageCenter.Po"; else rm -f
".deps/ImageCenter.Tpo"; exit 1; fi
ImageCenter.cpp: In constructor `ImgCenter::ImgCenter(wxWindow*)':
ImageCenter.cpp:108: error: no matching function for call to
`wxButton::
wxButton(ImgCenter* const, <anonymous enum>)'
/usr/include/wx-2.5/wx/gtk/button.h:39: error: candidates are:
wxButton::wxButton(const wxButton&)
/usr/include/wx-2.5/wx/gtk/button.h:57: error:
wxButton::wxButton(wxWindow*, int, wxStockItemID, const wxString&,
const
wxPoint&, long int, const wxValidator&, const wxString&)
/usr/include/wx-2.5/wx/gtk/button.h:47: error:
wxButton::wxButton(wxWindow*, int, const wxString&, const wxPoint&,
const
wxSize&, long int, const wxValidator&, const wxString&)
/usr/include/wx-2.5/wx/gtk/button.h:41: error:
wxButton::wxButton()
ImageCenter.cpp:111: error: no matching function for call to
`wxButton::
wxButton(ImgCenter* const, <anonymous enum>)'
/usr/include/wx-2.5/wx/gtk/button.h:39: error: candidates are:
wxButton::wxButton(const wxButton&)
/usr/include/wx-2.5/wx/gtk/button.h:57: error:
wxButton::wxButton(wxWindow*, int, wxStockItemID, const wxString&,
const
wxPoint&, long int, const wxValidator&, const wxString&)
/usr/include/wx-2.5/wx/gtk/button.h:47: error:
wxButton::wxButton(wxWindow*, int, const wxString&, const wxPoint&,
const
wxSize&, long int, const wxValidator&, const wxString&)
/usr/include/wx-2.5/wx/gtk/button.h:41: error:
wxButton::wxButton()
make[3]: *** [ImageCenter.o] Fehler 1
Any hint what is wrong there?
wx is wxGTK-2.5.2.8 on a SuSE-9.2
Cheers,
Pit
--
Dr. Peter "Pit" Suetterlin http://www.astro.uu.nl/~suetter
Sterrenkundig Instituut Utrecht
Tel.: +31 (0)30 253 5225 P.Suetterlin at astro.uu.nl
More information about the ptx
mailing list