<div dir="ltr">I have already tried it, does not solve it... I will retry it with a fresh build once again...<br></div><div class="gmail_extra"><br><div class="gmail_quote">On Fri, Aug 14, 2015 at 6:11 PM, Matt McCormick <span dir="ltr"><<a href="mailto:matt.mccormick@kitware.com" target="_blank">matt.mccormick@kitware.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi Arnaud,<br>
<br>
Yes, you are probably right.  The suggestion by Zach in this patch (to<br>
use DEPENDS) is promising:<br>
<br>
  <a href="http://review.source.kitware.com/#/c/20078/" rel="noreferrer" target="_blank">http://review.source.kitware.com/#/c/20078/</a><br>
<br>
Thanks,<br>
Matt<br>
<div class="HOEnZb"><div class="h5"><br>
On Fri, Aug 14, 2015 at 2:21 AM, Arnaud Gelas <<a href="mailto:arnaudgelas@gmail.com">arnaudgelas@gmail.com</a>> wrote:<br>
> Hi Matt,<br>
><br>
> It happened while directly building ITK with OpenCV 2.4.9, without any<br>
> superbuild...<br>
> Thanks for the patch, but that does not solve it...<br>
><br>
> I wonder if it could have something to do with the new linking system (note<br>
> it uses COMPILE_DEPENDS) ?<br>
><br>
> Thanks,<br>
> Arnaud<br>
><br>
> On Thu, Aug 13, 2015 at 6:41 PM, Matt McCormick <<a href="mailto:matt.mccormick@kitware.com">matt.mccormick@kitware.com</a>><br>
> wrote:<br>
>><br>
>> Hi Arnaud,<br>
>><br>
>> Is this with building the examples with the superbuild?  I think I was<br>
>> getting this error, too.  Here is a patch that should address it:<br>
>><br>
>>   <a href="http://review.source.kitware.com/#/c/20077/" rel="noreferrer" target="_blank">http://review.source.kitware.com/#/c/20077/</a><br>
>><br>
>> Thanks,<br>
>> Matt<br>
>><br>
>> On Thu, Aug 13, 2015 at 11:40 AM, Arnaud Gelas <<a href="mailto:arnaudgelas@gmail.com">arnaudgelas@gmail.com</a>><br>
>> wrote:<br>
>> > Hi all,<br>
>> ><br>
>> > I have just tried building ITK with BridgeOpenCV on Ubuntu 14.04 and I<br>
>> > get<br>
>> > the following link error<br>
>> ><br>
>> > [2/2] Linking CXX executable bin/ITKVideoBridgeOpenCVHeaderTest1<br>
>> ><br>
>> > [...]<br>
>> ><br>
>> > lib/libITKVideoBridgeOpenCV-4.9.so.1: error: undefined reference to<br>
>> > 'itk::VideoIOBase::VideoIOBase()'<br>
>> > lib/libITKVideoBridgeOpenCV-4.9.so.1: error: undefined reference to<br>
>> > 'itk::VideoIOBase::~VideoIOBase()'<br>
>> > lib/libITKVideoBridgeOpenCV-4.9.so.1: error: undefined reference to<br>
>> > 'itk::VideoIOBase::PrintSelf(std::ostream&, itk::Indent) const'<br>
>> > lib/libITKVideoBridgeOpenCV-4.9.so.1: error: undefined reference to<br>
>> > 'typeinfo for itk::VideoIOBase'<br>
>> > collect2: error: ld returned 1 exit status<br>
>> ><br>
>> > I have checked these methods are implemented in itkVideoIOBase.cxx...<br>
>> ><br>
>> > Any idea?<br>
>> ><br>
>> > Thanks<br>
>> > Arnaud<br>
>> ><br>
>> > _______________________________________________<br>
>> > Powered by <a href="http://www.kitware.com" rel="noreferrer" target="_blank">www.kitware.com</a><br>
>> ><br>
>> > Visit other Kitware open-source projects at<br>
>> > <a href="http://www.kitware.com/opensource/opensource.html" rel="noreferrer" target="_blank">http://www.kitware.com/opensource/opensource.html</a><br>
>> ><br>
>> > Kitware offers ITK Training Courses, for more information visit:<br>
>> > <a href="http://kitware.com/products/protraining.php" rel="noreferrer" target="_blank">http://kitware.com/products/protraining.php</a><br>
>> ><br>
>> > Please keep messages on-topic and check the ITK FAQ at:<br>
>> > <a href="http://www.itk.org/Wiki/ITK_FAQ" rel="noreferrer" target="_blank">http://www.itk.org/Wiki/ITK_FAQ</a><br>
>> ><br>
>> > Follow this link to subscribe/unsubscribe:<br>
>> > <a href="http://public.kitware.com/mailman/listinfo/insight-developers" rel="noreferrer" target="_blank">http://public.kitware.com/mailman/listinfo/insight-developers</a><br>
>> ><br>
><br>
><br>
</div></div></blockquote></div><br></div>