[ptx] hugin and gcc4
Hubert Figuiere
hub at figuiere.net
Fri Jun 24 00:52:29 BST 2005
Hi,
I'm trying to build and package hugin on Ubuntu, using Breezy.
gcc4 is the compiler used.
I'm getting this link error:
MainFrame.o(.text+0x4167): In function `MainFrame::~MainFrame()':
../../src/include/common/utils.h:315: undefined reference to `vtable for
utils::MultiProgressDisplay'
MainFrame.o(.text+0x4265):../../src/include/common/utils.h:315:
undefined reference to `vtable for utils::MultiProgressDisplay'
MainFrame.o(.text+0x44ae):../../src/include/common/utils.h:315:
undefined reference to `vtable for utils::MultiProgressDisplay'
MainFrame.o(.text+0x4947): In function `MainFrame::~MainFrame()':
../../src/include/common/utils.h:315: undefined reference to `vtable for
utils::MultiProgressDisplay'
MainFrame.o(.text+0x4a35):../../src/include/common/utils.h:315:
undefined reference to `vtable for utils::MultiProgressDisplay'
MainFrame.o(.text+0x4c7e):../../src/include/common/utils.h:315: more
undefined references to `vtable for utils::MultiProgressDisplay' follow
MainFrame.o(.gnu.linkonce.r._ZTI9MainFrame+0x20):../../src/include/vigra_ext/Interpolators.h:44:
undefined reference to `typeinfo for utils::MultiProgressDisplay'
MainFrame.o(.gnu.linkonce.t._ZN9vigra_ext22PointFineTuneRotSearchIN5vigra10BasicImageIhEEEENS_17CorrelationResultERKT_NS1_6Diff2DEiS7_S8_iddi+0x5ae):
In function `vigra_ext::CorrelationResult
vigra_ext::PointFineTuneRotSearch<vigra::BasicImage<unsigned char>
>(vigra::BasicImage<unsigned char> const&, vigra::Diff2D, int,
vigra::BasicImage<unsigned char> const&, vigra::Diff2D, int, double,
double, int)':
../../src/include/vigra_ext/Interpolators.h:208: undefined reference to
`vtable for utils::MultiProgressDisplay'
MainFrame.o(.gnu.linkonce.t._ZN9vigra_ext22PointFineTuneRotSearchIN5vigra10BasicImageIhEEEENS_17CorrelationResultERKT_NS1_6Diff2DEiS7_S8_iddi+0x77e):
In function `vigra_ext::CorrelationResult
vigra_ext::PointFineTuneRotSearch<vigra::BasicImage<unsigned char>
>(vigra::BasicImage<unsigned char> const&, vigra::Diff2D, int,
vigra::BasicImage<unsigned char> const&, vigra::Diff2D, int, double,
double, int)':
/usr/lib/gcc/i486-linux/4.0.1/../../../../include/c++/4.0.1/bits/basic_string.h:227:
undefined reference to `vtable for utils::MultiProgressDisplay'
MainFrame.o(.gnu.linkonce.t._ZN9vigra_ext22PointFineTuneRotSearchIN5vigra10BasicImageIhEEEENS_17CorrelationResultERKT_NS1_6Diff2DEiS7_S8_iddi+0x101d):
In function `vigra_ext::CorrelationResult
vigra_ext::PointFineTuneRotSearch<vigra::BasicImage<unsigned char>
>(vigra::BasicImage<unsigned char> const&, vigra::Diff2D, int,
vigra::BasicImage<unsigned char> const&, vigra::Diff2D, int, double,
double, int)':
/home/hub/tmp/hugin-0.4.99.050602/src/hugin/MainFrame.cpp:1062:
undefined reference to `vtable for utils::MultiProgressDisplay'
NonaStitcherPanel.o(.text+0xa9f): In function
`NonaStitcherPanel::Stitch(PT::Panorama const&, PT::PanoramaOptions
const&)':
../../src/include/common/utils.h:312: undefined reference to `vtable for
utils::MultiProgressDisplay'
NonaStitcherPanel.o(.text+0x1355):../../src/include/common/utils.h:315:
undefined reference to `vtable for utils::MultiProgressDisplay'
NonaStitcherPanel.o(.text+0x1f7e):../../src/include/common/utils.h:315:
more undefined references to `vtable for utils::MultiProgressDisplay' follow
./.libs/libhuginwxutils.a(MyProgressDialog.o)(.gnu.linkonce.r._ZTI16MyProgressDialog+0x18):/usr/include/wx/string.h:296:
undefined reference to `typeinfo for utils::MultiProgressDisplay'
./.libs/libhuginwxutils.a(MyProgressDialog.o)(.gnu.linkonce.t._ZN17OptProgressDialogD1Ev+0x28):
In function `OptProgressDialog::~OptProgressDialog()':
/usr/lib/gcc/i486-linux/4.0.1/../../../../include/c++/4.0.1/iostream:76:
undefined reference to `vtable for utils::MultiProgressDisplay'
./.libs/libhuginwxutils.a(MyProgressDialog.o)(.gnu.linkonce.t._ZN16MyProgressDialogD1Ev+0x28):
In function `MyProgressDialog::~MyProgressDialog()':
/usr/lib/gcc/i486-linux/4.0.1/../../../../include/c++/4.0.1/iostream:76:
undefined reference to `vtable for utils::MultiProgressDisplay'
./.libs/libhuginwxutils.a(MyProgressDialog.o)(.gnu.linkonce.t._ZN16MyProgressDialogD0Ev+0x28):
In function `MyProgressDialog::~MyProgressDialog()':
/usr/lib/gcc/i486-linux/4.0.1/../../../../include/c++/4.0.1/iostream:76:
undefined reference to `vtable for utils::MultiProgressDisplay'
./.libs/libhuginwxutils.a(MyProgressDialog.o)(.gnu.linkonce.t._ZN17OptProgressDialogD0Ev+0x28):
In function `OptProgressDialog::~OptProgressDialog()':
/usr/lib/gcc/i486-linux/4.0.1/../../../../include/c++/4.0.1/iostream:76:
undefined reference to `vtable for utils::MultiProgressDisplay'
collect2: ld returned 1 exit status
make[4]: *** [hugin] Error 1
Any idea ?
Thanks
Hub
More information about the ptx
mailing list