[vtkusers] Weird link error - possibly 4.7.1??

Andrew Parker andy.john.parker at googlemail.com
Fri Jun 22 11:14:26 EDT 2012


Well that's all the the case, just double checked, and it still fails....II
take it all I have to do is have vtk_use_infovis set to on for it to be
enabled?

Anymore for anymore?

Andy

On 22 June 2012 16:11, David Doria <daviddoria at gmail.com> wrote:

> On Fri, Jun 22, 2012 at 11:09 AM, Andrew Parker
> <andy.john.parker at googlemail.com> wrote:
> > I already have  VTK_USE_INFOVIS  ON  set, and therefore it's built like
> > that.  What do I do now, is there something else I should be linking or
> > including if this is the case?
> >
> > Andy
>
> With VTK5.8+, you should definitely just link against:
>
>  TARGET_LINK_LIBRARIES(EXE ${VTK_LIBRARIES})
>
> and not specify the libraries explicitly. If you are doing that, and
> VTK was built with Infovis enabled as you said, I'm not sure what else
> the problem could be.
>
> David
>



-- 

__________________________________

   Dr Andrew Parker

   Em at il:  andrew.parker at cantab.net
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.vtk.org/pipermail/vtkusers/attachments/20120622/4eac06fe/attachment.htm>


More information about the vtkusers mailing list