[ITK-dev] link failure ITKVideoBridgeOpenCVHeaderTest1 on Ubuntu 14.04

Matt McCormick matt.mccormick at kitware.com
Fri Aug 14 12:11:48 EDT 2015


Hi Arnaud,

Yes, you are probably right.  The suggestion by Zach in this patch (to
use DEPENDS) is promising:

  http://review.source.kitware.com/#/c/20078/

Thanks,
Matt

On Fri, Aug 14, 2015 at 2:21 AM, Arnaud Gelas <arnaudgelas at gmail.com> wrote:
> 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
>> >
>
>


More information about the Insight-developers mailing list