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