[ITK-dev] link failure ITKVideoBridgeOpenCVHeaderTest1 on Ubuntu 14.04
Arnaud Gelas
arnaudgelas at gmail.com
Fri Aug 14 02:21:19 EDT 2015
Hi Matt,
It happened while directly building ITK with OpenCV 2.4.9, without any
superbuild...
Thanks for the patch, but that does not solve it...
I wonder if it could have something to do with the new linking system (note
it uses COMPILE_DEPENDS) ?
Thanks,
Arnaud
On Thu, Aug 13, 2015 at 6:41 PM, Matt McCormick <matt.mccormick at kitware.com>
wrote:
> Hi Arnaud,
>
> Is this with building the examples with the superbuild? I think I was
> getting this error, too. Here is a patch that should address it:
>
> http://review.source.kitware.com/#/c/20077/
>
> Thanks,
> Matt
>
> On Thu, Aug 13, 2015 at 11:40 AM, Arnaud Gelas <arnaudgelas at gmail.com>
> wrote:
> > Hi all,
> >
> > I have just tried building ITK with BridgeOpenCV on Ubuntu 14.04 and I
> get
> > the following link error
> >
> > [2/2] Linking CXX executable bin/ITKVideoBridgeOpenCVHeaderTest1
> >
> > [...]
> >
> > lib/libITKVideoBridgeOpenCV-4.9.so.1: error: undefined reference to
> > 'itk::VideoIOBase::VideoIOBase()'
> > lib/libITKVideoBridgeOpenCV-4.9.so.1: error: undefined reference to
> > 'itk::VideoIOBase::~VideoIOBase()'
> > lib/libITKVideoBridgeOpenCV-4.9.so.1: error: undefined reference to
> > 'itk::VideoIOBase::PrintSelf(std::ostream&, itk::Indent) const'
> > lib/libITKVideoBridgeOpenCV-4.9.so.1: error: undefined reference to
> > 'typeinfo for itk::VideoIOBase'
> > collect2: error: ld returned 1 exit status
> >
> > I have checked these methods are implemented in itkVideoIOBase.cxx...
> >
> > Any idea?
> >
> > Thanks
> > Arnaud
> >
> > _______________________________________________
> > Powered by www.kitware.com
> >
> > Visit other Kitware open-source projects at
> > http://www.kitware.com/opensource/opensource.html
> >
> > Kitware offers ITK Training Courses, for more information visit:
> > http://kitware.com/products/protraining.php
> >
> > Please keep messages on-topic and check the ITK FAQ at:
> > http://www.itk.org/Wiki/ITK_FAQ
> >
> > Follow this link to subscribe/unsubscribe:
> > http://public.kitware.com/mailman/listinfo/insight-developers
> >
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://public.kitware.com/pipermail/insight-developers/attachments/20150814/a0d5d7b0/attachment.html>
More information about the Insight-developers
mailing list