[vtkusers] R: Re: Help Me!! vtk compile error!!

Jon Haitz Legarreta jhlegarreta at vicomtech.org
Thu Mar 19 10:58:01 EDT 2015


Hi Alessandro,

I cannot see in your CMake where you look for VTK. Configuring and building
your project gives no errors, but you do not include VTK and set the VTK
binaries' path.

You'd better have a look at the link I mentioned, and change your
CMakeLists accordingly.

That includes following John's piece of advice.

HTH,
JON HAITZ



On 19 March 2015 at 15:46, John Drescher <drescherjm at gmail.com> wrote:

> On Thu, Mar 19, 2015 at 10:44 AM, ale.nonis at libero.it
> <ale.nonis at libero.it> wrote:
> > Hi Jon,
> > yes i'm using CMake.
> > In the attached you can see my project.
> >
>
> I would use ${VTK_LIBRARIES} in your TARGET_LINK_LIBRARIES
>
> John
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://public.kitware.com/pipermail/vtkusers/attachments/20150319/dcbe46ab/attachment.html>


More information about the vtkusers mailing list