<div dir="ltr"><div>you need to set path of the VTK_DIR (in the CMake gui) to the directory where you have build your VTK.<br></div>or you add that directory to your computer path.<br><br><div class="gmail_extra"><br><div class="gmail_quote">On Tue, Feb 17, 2015 at 1:00 AM, <span dir="ltr"><<a href="mailto:vtkusers-request@vtk.org" target="_blank">vtkusers-request@vtk.org</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Send vtkusers mailing list submissions to<br>
<a href="mailto:vtkusers@vtk.org">vtkusers@vtk.org</a><br>
<br>
To subscribe or unsubscribe via the World Wide Web, visit<br>
<a href="http://public.kitware.com/mailman/listinfo/vtkusers" target="_blank">http://public.kitware.com/mailman/listinfo/vtkusers</a><br>
or, via email, send a message with subject or body 'help' to<br>
<a href="mailto:vtkusers-request@vtk.org">vtkusers-request@vtk.org</a><br>
<br>
You can reach the person managing the list at<br>
<a href="mailto:vtkusers-owner@vtk.org">vtkusers-owner@vtk.org</a><br>
<br>
When replying, please edit your Subject line so it is more specific<br>
than "Re: Contents of vtkusers digest..."<br>
<br>
<br>
Today's Topics:<br>
<br>
1. Compile Example fails:VTK not found (DEEVANKSHU GARG)<br>
<br>
<br>
----------------------------------------------------------------------<br>
<br>
Message: 1<br>
Date: Mon, 16 Feb 2015 12:03:53 +0530<br>
From: DEEVANKSHU GARG <<a href="mailto:deevankshu096@gmail.com">deevankshu096@gmail.com</a>><br>
To: <a href="mailto:vtkusers@vtk.org">vtkusers@vtk.org</a><br>
Subject: [vtkusers] Compile Example fails:VTK not found<br>
Message-ID:<br>
<CAOtyMmNSydM_ygQW4jazhXfCx+1_OBXSdM1=<a href="mailto:CQw_U17ph_EOhw@mail.gmail.com">CQw_U17ph_EOhw@mail.gmail.com</a>><br>
Content-Type: text/plain; charset="utf-8"<br>
<br>
Hey all!<br>
I am new to VTK and CMake.I was able to successfully build VTK from cmake.I<br>
am now trying to build some examples,the most basic ones like Distance<br>
between points and Distance between a line and a point.<br>
<br>
Every time I configure it using the cmake command,I get the error:<br>
<br>
CMake Error at /usr/share/cmake-2.8/Modules/FindVTK.cmake:135 (message):<br>
VTK not found. Set the VTK_DIR cmake cache entry to the directory<br>
containing VTKConfig.cmake. This is either the root of the build tree, or<br>
PREFIX/lib/vtk for an installation. For VTK 4.0, this is the location of<br>
UseVTK.cmake. This is either the root of the build tree or<br>
PREFIX/include/vtk for an installation.<br>
Call Stack (most recent call first):<br>
CMakeLists.txt:6 (find_package)<br>
<br>
I googled for the error and went across the vtk-users archive where a<br>
solution was provided,that was by running ccmake.<br>
Then I tried to run ccmake before building the example and changed the<br>
VTK_DIR path to the directory containing the VTKConfig.cmake file but it<br>
still gives the same error.It's getting really frustrating now.<br>
<br>
Can somebody please suggest some fix?It would be really appreciated.<br>
<br>
Thanks and Regards!<br>
-------------- next part --------------<br>
An HTML attachment was scrubbed...<br>
URL: <<a href="http://public.kitware.com/pipermail/vtkusers/attachments/20150216/21605e59/attachment-0001.html" target="_blank">http://public.kitware.com/pipermail/vtkusers/attachments/20150216/21605e59/attachment-0001.html</a>><br>
<br>
------------------------------<br>
<br>
Subject: Digest Footer<br>
<br>
_______________________________________________<br>
Powered by <a href="http://www.kitware.com" target="_blank">www.kitware.com</a><br>
<br>
Visit other Kitware open-source projects at <a href="http://www.kitware.com/opensource/opensource.html" target="_blank">http://www.kitware.com/opensource/opensource.html</a><br>
<br>
Please keep messages on-topic and check the VTK FAQ at: <a href="http://www.vtk.org/Wiki/VTK_FAQ" target="_blank">http://www.vtk.org/Wiki/VTK_FAQ</a><br>
<br>
Search the list archives at: <a href="http://markmail.org/search/?q=vtkusers" target="_blank">http://markmail.org/search/?q=vtkusers</a><br>
<br>
Follow this link to subscribe/unsubscribe:<br>
<a href="http://public.kitware.com/mailman/listinfo/vtkusers" target="_blank">http://public.kitware.com/mailman/listinfo/vtkusers</a><br>
<br>
------------------------------<br>
<br>
End of vtkusers Digest, Vol 130, Issue 14<br>
*****************************************<br>
</blockquote></div><br><br clear="all"><br><br></div></div>