<div dir="ltr">Andrew,<div><br></div><div>If you haven't gotten it configured yet, it is probably best if I just walk you through it in a v-con. Send me a google hangout, Skype or FaceTime invitation off off list please. You will need to be able to share your desktop with me.</div><div><br></div><div>cheers</div></div><div class="gmail_extra"><br clear="all"><div><div class="gmail_signature">David E DeMarle<br>Kitware, Inc.<br>R&D Engineer<br>21 Corporate Drive<br>Clifton Park, NY 12065-8662<br>Phone: 518-881-4909</div></div>
<br><div class="gmail_quote">On Sat, Feb 27, 2016 at 4:30 PM, Gib Bogle <span dir="ltr"><<a href="mailto:g.bogle@auckland.ac.nz" target="_blank">g.bogle@auckland.ac.nz</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">




<div>
<div style="direction:ltr;font-family:Tahoma;color:#000000;font-size:10pt">Hi Andrew,<br>
<br>
I use VTK and cmake on Windows.  I have VTK installed thus:<br>
C:\VTK-VS10<br>
C:\VTK-VS10\bin<br>
C:\VTK-VS10\include<br>
C:\VTK-VS10\lib<br>
and I have set VTK_DIR as an environment variable:<br>
C:\VTK-VS10<br>
i.e. as the directory under which the bin, include and lib subdirectories are to be found.<br>
Setting VTK_DIR in CMakeLists.txt in my case would be<br>
SET(VTK_DIR C:/VTK-VS10)<br>
For my money, cmake is the best way to set up the VS project files.<br>
<br>
Cheers, Gib<br>
<br>
<div style="font-family:Times New Roman;color:#000000;font-size:16px">
<hr>
<div style="direction:ltr"><font face="Tahoma" color="#000000" size="2"><b>From:</b> vtkusers [<a href="mailto:vtkusers-bounces@vtk.org" target="_blank">vtkusers-bounces@vtk.org</a>] on behalf of cfd new via vtkusers [<a href="mailto:vtkusers@vtk.org" target="_blank">vtkusers@vtk.org</a>]<br>
<b>Sent:</b> Sunday, 28 February 2016 9:44 a.m.<br>
<b>To:</b> Nie, Andrew (MU-Student); David Gobbi<br>
<b>Cc:</b> <a href="mailto:vtkusers@vtk.org" target="_blank">vtkusers@vtk.org</a><br>
<b>Subject:</b> [FORGED] Re: [vtkusers] Why there is no FindVTK.cmake in CMAKE_MODULE_PATH<br>
</font><br>
</div><div><div class="h5">
<div></div>
<div>
<div style="color:#000;background-color:#fff;font-family:HelveticaNeue,Helvetica Neue,Helvetica,Arial,Lucida Grande,sans-serif;font-size:16px">
<div><span>This is what I said. In your vtk build, these files are not there on Windows. On Linux they are available.</span></div>
<div><span>On Windows, you do not need cmake for build the examples. I do not use cmake in my VS applications either.</span></div>
<div><br>
<span></span></div>
<div><span>   Joe<br>
</span></div>
<div><br>
<br>
</div>
<div style="display:block">
<div style="font-family:HelveticaNeue,Helvetica Neue,Helvetica,Arial,Lucida Grande,sans-serif;font-size:16px">
<div style="font-family:HelveticaNeue,Helvetica Neue,Helvetica,Arial,Lucida Grande,sans-serif;font-size:16px">
<div dir="ltr"><font face="Arial" size="2">On Saturday, February 27, 2016 12:20 PM, "Nie, Andrew (MU-Student)" <<a href="mailto:znhc5@mail.missouri.edu" target="_blank">znhc5@mail.missouri.edu</a>> wrote:<br>
</font></div>
<br>
<br>
<div>
<div>
<div dir="ltr">
<div style="font-size:12pt;color:#000000;background-color:#ffffff;font-family:Calibri,Arial,Helvetica,sans-serif">
<div>Dear David,</div>
<div><br clear="none">
</div>
<div>I set VTK_DIR as you said. But it still cannot work. Please the screenshot below:</div>
<div><img src="cid:LpWkbdTe2Ysh8R37JZRR" style="max-width:99.9%"><br clear="none">
</div>
<div><br clear="none">
</div>
<div><img src="cid:SHWZUmizJ2wbgPOlj0og" style="max-width:99.9%"><br clear="none">
</div>
<div><br clear="none">
</div>
<div>
<div style="font-family:Calibri,Arial,Helvetica,sans-serif;margin:0">
<div style="font-family:Tahoma;font-size:13px">
<div style="line-height:22px">
<div style="margin:0px"><font face="Calibri,sans-serif"><span style="font-size:11pt"><span style="font-size:12pt"><font face="Lucida Calligraphy" color="#003366" size="2"><strong>Nie, Zhengwei Andrew</strong></font></span></span></font></div>
<div style="margin:0px"><font size="2"><font size="2"><span style="font-size:11pt"><span style="font-size:10pt"><i><font face="Times New Roman">Ph.D Candidate</font></i></span></span></font></font></div>
<div style="margin:0px"><font size="2"><font face="Times New Roman,serif" size="2"><span style="font-size:10pt"><i>Mechanical & Aerospace Engineering</i></span></font></font></div>
<div style="margin:0px"><font face="Times New Roman,serif"><span style="font-size:10pt"><span style="font-size:10pt"><em>University of Missouri</em></span></span></font><font face="Times New Roman,serif"><span style="font-size:10pt"><br clear="none">
<u><font style="background-color:rgb(255,255,255)" color="#003366"><a href="tel:573-239-6981" value="+15732396981" target="_blank">573-239-6981</a></font></u></span></font></div>
<font face="Times New Roman,serif"></font>
<div style="margin:0px"><a rel="nofollow" shape="rect" href="mailto:znhc5@mail.missouri.edu" target="_blank"><font face="Times New Roman" color="#003366" size="2">znhc5@mail.missouri.edu</font></a><font size="2"><font face="Calibri,sans-serif" size="2"><span style="font-size:11pt"><font face="Times New Roman,serif" size="2"><span style="font-size:10pt"><span style="white-space:pre-wrap"></span></span></font></span></font></font></div>
<font size="2"><font face="Calibri,sans-serif" size="2"><font face="Times New Roman,serif" size="2"></font></font></font></div>
<div><font color="#003366"></font></div>
<br clear="none">
</div>
</div>
</div>
<br clear="none">
<br clear="none">
<div>
<div style="color:rgb(0,0,0)">
<hr style="display:inline-block;width:98%">
<div dir="ltr"><font style="font-size:11pt" face="Calibri, sans-serif" color="#000000"><b>From:</b> David Gobbi <<a href="mailto:david.gobbi@gmail.com" target="_blank">david.gobbi@gmail.com</a>><br clear="none">
<b>Sent:</b> Friday, February 26, 2016 21:20<br clear="none">
<b>To:</b> Nie, Andrew (MU-Student)<br clear="none">
<b>Cc:</b> <a href="mailto:vtkusers@vtk.org" target="_blank">vtkusers@vtk.org</a><br clear="none">
<b>Subject:</b> Re: [vtkusers] Why there is no FindVTK.cmake in CMAKE_MODULE_PATH</font>
<div> </div>
</div>
<div>
<div dir="ltr">
<div>CMake needs VTK_DIR to be set (either as an environment variable, or in the CMakeCache.txt file).  This will allow CMake to find VTKConfig.cmake.  There is no FindVTK.cmake file.</div>
<div><br clear="none">
</div>
<div>VTK_DIR=C:/MyVTKProject/VTK-7.0.0/VTK-bin</div>
<div><br clear="none">
</div>
<div>Packages that have a XYZConfig.cmake file do not have a FindXYZ.cmake file.  The CMake error message doesn't explain this very well, unfortunately.<br clear="none">
</div>
<div><br clear="none">
</div>
<div> - David</div>
<div><br clear="none">
<div>On Fri, Feb 26, 2016 at 7:35 PM, Nie, Andrew (MU-Student)
<span dir="ltr"><<a rel="nofollow" shape="rect" href="mailto:znhc5@mail.missouri.edu" target="_blank">znhc5@mail.missouri.edu</a>></span> wrote:<br clear="none">
<blockquote style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">
<div dir="ltr">
<div style="font-size:12pt;color:rgb(0,0,0);font-family:Calibri,Arial,Helvetica,sans-serif;background-color:rgb(255,255,255)">
<div>Hi there,</div>
<div><br clear="none">
</div>
<div>I used CMake 3.5.0 and VS 2013 to build VTK 7.0.0. Why there is no FindVTK.cmake in C:\MyVTKProjects\VTK-7.0.0\VTK-bin\lib\cmake\vtk-7.0\Modules. All of examples of VTK cannot work because no FindVTK.cmake. </div>
<div><br clear="none">
</div>
<div></div>
<div style="font-family:'Helvetica Neue',Helvetica,Arial,sans-serif;font-size:12.79px;margin:1em 0px;padding:0px;border-width:0px">
<font face="Helvetica Neue,Helvetica,Arial,sans-serif"><font color="red">CMake Error at CMakeLists.txt:6 (find_package):</font><font color="red"><br clear="none">
  By not providing "FindVTK.cmake" in CMAKE_MODULE_PATH this project has</font><font color="red"><br clear="none">
  asked CMake to find a package configuration file provided by "VTK", but</font><font color="red"><br clear="none">
  CMake did not find one.</font></font></div>
<div style="font-family:'Helvetica Neue',Helvetica,Arial,sans-serif;font-size:12.79px;margin:1em 0px;padding:0px;border-width:0px">
<font face="Helvetica Neue,Helvetica,Arial,sans-serif"><font color="red">  Could not find a package configuration file provided by "VTK" with any of</font><font color="red"><br clear="none">
  the following names:</font></font></div>
<div style="font-family:'Helvetica Neue',Helvetica,Arial,sans-serif;font-size:12.79px;margin:1em 0px;padding:0px;border-width:0px">
<font face="Helvetica Neue,Helvetica,Arial,sans-serif"><font color="red">    VTKConfig.cmake</font><font color="red"><br clear="none">
    vtk-config.cmake</font></font></div>
<div style="font-family:'Helvetica Neue',Helvetica,Arial,sans-serif;font-size:12.79px;margin:1em 0px;padding:0px;border-width:0px">
<font face="Helvetica Neue,Helvetica,Arial,sans-serif"><font color="red">  Add the installation prefix of "VTK" to CMAKE_PREFIX_PATH or set "VTK_DIR"</font><font color="red"><br clear="none">
  to a directory containing one of the above files.  If "VTK" provides a</font><font color="red"><br clear="none">
  separate development package or SDK, be sure it has been installed.</font></font></div>
<div></div>
<div>How can I deal with this problem? Really appreciated. </div>
</div>
</div>
</blockquote>
</div>
<br clear="none">
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
<br>
<div>_______________________________________________<br clear="none">
Powered by <a href="http://www.kitware.com" target="_blank">www.kitware.com</a><br clear="none">
<br clear="none">
Visit other Kitware open-source projects at <a shape="rect" href="http://www.kitware.com/opensource/opensource.html" target="_blank">
http://www.kitware.com/opensource/opensource.html</a><br clear="none">
<br clear="none">
Please keep messages on-topic and check the VTK FAQ at: <a shape="rect" href="http://www.vtk.org/Wiki/VTK_FAQ" target="_blank">
http://www.vtk.org/Wiki/VTK_FAQ</a><br clear="none">
<br clear="none">
Search the list archives at: <a shape="rect" href="http://markmail.org/search/?q=vtkusers" target="_blank">
http://markmail.org/search/?q=vtkusers</a><br clear="none">
<br clear="none">
Follow this link to subscribe/unsubscribe:<br clear="none">
<a shape="rect" href="http://public.kitware.com/mailman/listinfo/vtkusers" target="_blank">http://public.kitware.com/mailman/listinfo/vtkusers</a><br clear="none">
</div>
<br>
<br>
</div>
</div>
</div>
</div>
</div>
</div>
</div></div></div>
</div>
</div>

<br>_______________________________________________<br>
Powered by <a href="http://www.kitware.com" rel="noreferrer" target="_blank">www.kitware.com</a><br>
<br>
Visit other Kitware open-source projects at <a href="http://www.kitware.com/opensource/opensource.html" rel="noreferrer" 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" rel="noreferrer" 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" rel="noreferrer" 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" rel="noreferrer" target="_blank">http://public.kitware.com/mailman/listinfo/vtkusers</a><br>
<br></blockquote></div><br></div>