[ITK] [ITK-users] linking error ITK, VTK, Qt5

Arnaud Gelas arnaudgelas at gmail.com
Wed Oct 29 10:48:46 EDT 2014


Bill,

I can also confirm everything builds fine if VTK is not compiled with Qt5
(which is part of my requirements...)



On Wed, Oct 29, 2014 at 3:37 PM, Bill Lorensen <bill.lorensen at gmail.com>
wrote:

> Arnaud,
>
> I just tried an ITK build against an installed VTK and it built just fine.
>
> Bill
>
>
> On Wed, Oct 29, 2014 at 8:32 AM, Bill Lorensen <bill.lorensen at gmail.com>
> wrote:
> > I did not build against an installed VTK.
> >
> > On Wed, Oct 29, 2014 at 8:23 AM, Arnaud Gelas <arnaudgelas at gmail.com>
> wrote:
> >> Bill,
> >>
> >> It seems builds fine as long as Qt5 is not involved in the process (?)
> >>
> >> I just wonder if there is not something missing in vtk's cmake installed
> >> files to help finding Qt5::Widgets (?), or if we could only use required
> >> libraries from vtk which should not depend on Qt5 (?)
> >>
> >> Thanks,
> >> Arnaud
> >>
> >> On Wed, Oct 29, 2014 at 1:15 PM, Bill Lorensen <bill.lorensen at gmail.com
> >
> >> wrote:
> >>>
> >>> Arnaud,
> >>>
> >>> I build ITK with itkVtkGlue fine on my Mac, but I build against the
> >>> nightly VTK. I'm not sure if that makes a difference.
> >>>
> >>> Bill
> >>>
> >>>
> >>> On Wed, Oct 29, 2014 at 6:26 AM, Arnaud Gelas <arnaudgelas at gmail.com>
> >>> wrote:
> >>> > Hi all,
> >>> >
> >>> > I am trying to compile on mac (10.8.5) ITKVtkGlue with vtk 6.1.0
> (built
> >>> > with Qt5). Note I use cmake 2.8.12...
> >>> >
> >>> > I get link 1 error:
> >>> > ld library not found for -lQt5::Widgets
> >>> >
> >>> > Any idea how to fix it?
> >>> >
> >>> > 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://www.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-users
> >>>
> >>>
> >>>
> >>> --
> >>> Unpaid intern in BillsBasement at noware dot com
> >>
> >>
> >
> >
> >
> > --
> > Unpaid intern in BillsBasement at noware dot com
>
>
>
> --
> Unpaid intern in BillsBasement at noware dot com
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://public.kitware.com/pipermail/community/attachments/20141029/c06a5f7a/attachment.html>
-------------- next part --------------
_____________________________________
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://www.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-users


More information about the Community mailing list