<div dir="ltr">What is the full path that contains VTKConfig.cmake?<div><br></div></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Wed, Aug 14, 2013 at 8:33 AM, Altamash Abbasi <span dir="ltr">&lt;<a href="mailto:altamashabbasi@gmail.com" target="_blank">altamashabbasi@gmail.com</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">it&#39; name is Software</div><div class="HOEnZb"><div class="h5"><div class="gmail_extra"><br><br><div class="gmail_quote">
On Wed, Aug 14, 2013 at 2:33 PM, Anka Kochanowska <span dir="ltr">&lt;<a href="mailto:pluszcz@gmail.com" target="_blank">pluszcz@gmail.com</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">What is the absolute directory path where you installed vtk 6? <span><font color="#888888"><div>
Anka</div><div><br><div><br></div></div></font></span></div><div><div><div class="gmail_extra"><br><br><div class="gmail_quote">On Wed, Aug 14, 2013 at 8:29 AM, Altamash Abbasi <span dir="ltr">&lt;<a href="mailto:altamashabbasi@gmail.com" target="_blank">altamashabbasi@gmail.com</a>&gt;</span> wrote:<br>


<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">it&#39;s name is VTKBin . . .</div><div><div><div class="gmail_extra"><br><br>
<div class="gmail_quote">On Wed, Aug 14, 2013 at 2:27 PM, Bill Lorensen <span dir="ltr">&lt;<a href="mailto:bill.lorensen@gmail.com" target="_blank">bill.lorensen@gmail.com</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div>What is the name of the directory that contains VTKConfig.cmake?</div><div><br></div>When you configure using cmake, s<span style="font-size:13px;font-family:arial,sans-serif">et the VTK_DIR cmake cache entry to the directory</span><div style="font-size:13px;font-family:arial,sans-serif">




   containing VTKConfig.cmake. </div><div style="font-size:13px;font-family:arial,sans-serif"><br></div><div style="font-size:13px;font-family:arial,sans-serif"><br></div></div><div class="gmail_extra"><div><div>

<br><br><div class="gmail_quote">On Wed, Aug 14, 2013 at 8:17 AM, Altamash Abbasi <span dir="ltr">&lt;<a href="mailto:altamashabbasi@gmail.com" target="_blank">altamashabbasi@gmail.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">




<div dir="ltr"><div>here is my vtkConfig.cmake file . . . . what should i do with it . . . that will help me in running the problem</div><div>#-----------------------------------------------------------------------------</div>





<div>#</div><div># VTKConfig.cmake - VTK CMake configuration file for external projects.</div><div>#</div><div># This file is configured by VTK and used by the UseVTK.cmake module</div><div># to load VTK&#39;s settings for an external project.</div>





<div><br></div><div>set(VTK_MODULES_DIR &quot;/home/stame1/software/VTKBin/lib/cmake/vtk-6.0/Modules&quot;)</div><div><br></div><div># The C and C++ flags added by VTK to the cmake-configured flags.</div><div>SET(VTK_REQUIRED_C_FLAGS &quot;&quot;)</div>





<div>SET(VTK_REQUIRED_CXX_FLAGS &quot; -Wno-deprecated&quot;)</div><div>SET(VTK_REQUIRED_EXE_LINKER_FLAGS &quot;&quot;)</div><div>SET(VTK_REQUIRED_SHARED_LINKER_FLAGS &quot;&quot;)</div><div>SET(VTK_REQUIRED_MODULE_LINKER_FLAGS &quot;&quot;)</div>





<div><br></div><div># The VTK version number</div><div>SET(VTK_MAJOR_VERSION &quot;6&quot;)</div><div>SET(VTK_MINOR_VERSION &quot;0&quot;)</div><div>SET(VTK_BUILD_VERSION &quot;0&quot;)</div><div><br></div><div># The location of the UseVTK.cmake file.</div>





<div>SET(VTK_CMAKE_DIR &quot;/home/stame1/software/VTK6.0.0/CMake&quot;)</div><div>SET(VTK_USE_FILE &quot;${VTK_CMAKE_DIR}/UseVTK.cmake&quot;)</div><div><br></div><div>#-----------------------------------------------------------------------------</div>





<div># Load requested modules.</div><div><br></div><div># List of available VTK modules.</div><div>set(VTK_MODULES_ENABLED)</div><div><br></div><div># Determine list of available VTK-modules by scanning the VTK_MODULES_DIR.</div>





<div>file(GLOB config_files RELATIVE &quot;${VTK_MODULES_DIR}&quot; &quot;${VTK_MODULES_DIR}/*.cmake&quot;)</div><div>foreach (_file ${config_files})</div><div>  if (NOT &quot;${_file}&quot; MATCHES &quot;[^\\-]+-[a-zA-Z]+\\.cmake&quot;)</div>





<div>    string(REGEX REPLACE &quot;\\.cmake$&quot; &quot;&quot; _module &quot;${_file}&quot;)</div><div>    list(APPEND VTK_MODULES_ENABLED &quot;${_module}&quot;)</div><div>  endif()</div><div>endforeach()</div><div><br>





</div><div># Import VTK targets.</div><div>set(VTK_CONFIG_TARGETS_FILE &quot;/home/stame1/software/VTKBin/VTKTargets.cmake&quot;)</div><div>if(NOT TARGET vtkCommonCore)</div><div>  include(&quot;${VTK_CONFIG_TARGETS_FILE}&quot;)</div>





<div>endif()</div><div><br></div><div># Load module interface macros.</div><div>include(&quot;/home/stame1/software/VTK6.0.0/CMake/vtkModuleAPI.cmake&quot;)</div><div><br></div><div># Compute set of requested modules.</div>





<div>if(VTK_FIND_COMPONENTS)</div><div>  # Specific modules requested by find_package(VTK).</div><div>  set(VTK_MODULES_REQUESTED &quot;${VTK_FIND_COMPONENTS}&quot;)</div><div>elseif(NOT &quot;${CMAKE_VERSION}&quot; VERSION_GREATER 2.8.4.20110407)</div>





<div>  # CMake 2.8.4 and lower do not forward the components list through</div><div>  # their FindVTK.cmake module, so unless the application called</div><div>  #</div><div>  #   find_package(VTK NO_MODULE ...)</div><div>





  #</div><div>  # then only the per-component variables VTK_FIND_REQUIRED_&lt;mod&gt; will</div><div>  # have leaked through.</div><div>  set(VTK_MODULES_REQUESTED &quot;&quot;)</div><div>  get_cmake_property(_vars VARIABLES)</div>





<div>  foreach(v IN LISTS _vars)</div><div>    if(&quot;x${v}&quot; MATCHES &quot;^xVTK_FIND_REQUIRED_&quot; AND ${v})</div><div>      string(REGEX REPLACE &quot;^VTK_FIND_REQUIRED_&quot; &quot;&quot; _mod &quot;${v}&quot;)</div>





<div>      list(APPEND VTK_MODULES_REQUESTED ${_mod})</div><div>    endif()</div><div>  endforeach()</div><div>endif()</div><div>if(NOT VTK_MODULES_REQUESTED)</div><div>  # No specific modules requested.  Use all of them.</div>





<div>  set(VTK_MODULES_REQUESTED &quot;${VTK_MODULES_ENABLED}&quot;)</div><div>endif()</div><div><br></div><div># Load requested modules and their dependencies into variables:</div><div>#  VTK_DEFINITIONS     = Preprocessor definitions</div>





<div>#  VTK_LIBRARIES       = Libraries to link</div><div>#  VTK_INCLUDE_DIRS    = Header file search path</div><div>#  VTK_LIBRARY_DIRS    = Library search path (for outside dependencies)</div><div>vtk_module_config(VTK ${VTK_MODULES_REQUESTED})</div>





<div><br></div><div>#-----------------------------------------------------------------------------</div><div><br></div><div># VTK global configuration options.</div><div>SET(VTK_BUILD_SHARED_LIBS &quot;ON&quot;)</div><div>





SET(VTK_LEGACY_REMOVE &quot;OFF&quot;)</div><div>SET(VTK_LEGACY_SILENT &quot;OFF&quot;)</div><div>SET(VTK_WRAP_PYTHON &quot;OFF&quot;)</div><div>SET(VTK_WRAP_TCL &quot;OFF&quot;)</div><div>SET(VTK_WRAP_JAVA &quot;OFF&quot;)</div>





<div><br></div><div># Do not add options or information here that is specific to a</div><div># particular module.  Instead set &lt;module&gt;_EXPORT_OPTIONS and/or</div><div># &lt;module&gt;_EXPORT_CODE_BUILD and &lt;module&gt;_EXPORT_CODE_INSTALL</div>





<div># at the top of the module CMakeLists.txt file.</div><div><br></div></div><div><div><div class="gmail_extra"><br><br><div class="gmail_quote">On Wed, Aug 14, 2013 at 2:08 PM, Altamash Abbasi <span dir="ltr">&lt;<a href="mailto:altamashabbasi@gmail.com" target="_blank">altamashabbasi@gmail.com</a>&gt;</span> wrote:<br>





<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div>stame1@itlrstud044:~/software/SimplePointsReader/build&gt; <font color="#ff0000">make</font></div>




<div>
make[2]: *** No rule to make target »/home/stame1/software/VTKBin/lib/libvtkfreetype-6.0.so.1«, </div>
<div> needs of »Simple Point Reader&quot; to create. Closing.</div><div>make[1]: *** [CMakeFiles/SimplePointsReader.dir/all] Error 2</div><div>make: *** [all]  Error 2</div><div><br></div><div>And whats the meaning of this Error . . .</div>






</div><div><div><div class="gmail_extra"><br><br><div class="gmail_quote">On Wed, Aug 14, 2013 at 1:52 PM, Anka Kochanowska <span dir="ltr">&lt;<a href="mailto:pluszcz@gmail.com" target="_blank">pluszcz@gmail.com</a>&gt;</span> wrote:<br>






<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Hi!<div>We have asked you many times to keep the discussion on vtkusers mailing list. You have to select Replay All when you answer messages posted to the list.This way you have better chances to resolve your problem.</div>







<div>You have to pass as VTK_DIR the directory containing VTKConfig.cmake. Surely, you are able to find files on your system?</div><div>Look  in the directory where you installed vtk, in lib, vtk-6...</div><span><font color="#888888"><div>






Anka</div>
<div><br></div><div><br></div></font></span></div><div><div><div class="gmail_extra"><br><br><div class="gmail_quote">On Wed, Aug 14, 2013 at 7:44 AM, Altamash Abbasi <span dir="ltr">&lt;<a href="mailto:altamashabbasi@gmail.com" target="_blank">altamashabbasi@gmail.com</a>&gt;</span> wrote:<br>







<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">no i&#39;m not using cmake-gui???<div>can u tell me the appropriate path of VTK_DIR??</div></div><div>
<div><div class="gmail_extra"><br><br><div class="gmail_quote">On Wed, Aug 14, 2013 at 1:37 PM, Anka Kochanowska <span dir="ltr">&lt;<a href="mailto:pluszcz@gmail.com" target="_blank">pluszcz@gmail.com</a>&gt;</span> wrote:<br>








<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Exactly what it says - you have to set VTK_DIR when you configure cmake.<br>Are you using cmake-gui?<div>








Find the line VTK_DIR  and enter there the path described in the error message.</div><div>Anka</div><div>
<br></div></div><div class="gmail_extra"><br><br><div class="gmail_quote"><div><div>On Wed, Aug 14, 2013 at 7:01 AM, Altamash Abbasi <span dir="ltr">&lt;<a href="mailto:altamashabbasi@gmail.com" target="_blank">altamashabbasi@gmail.com</a>&gt;</span> wrote:<br>









</div></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div><div><div dir="ltr"><div><br></div><div> CMake Error at /usr/share/cmake/Modules/FindVTK.cmake:135 (MESSAGE):</div>








<div>   VTK not found.  Set the VTK_DIR cmake cache entry to the directory</div>
<div>   containing VTKConfig.cmake.  This is either the root of the build tree, or</div>
<div>   PREFIX/lib/vtk for an installation.  For VTK 4.0, this is the location of</div><div>   UseVTK.cmake.  This is either the root of the build tree or</div><div>   PREFIX/include/vtk for an installation.</div><div> Call Stack (most recent call first):</div>










<div>   CMakeLists.txt:6 (find_package)</div><div> </div><div>Whats the meaning of this Error ?????</div></div>
<br></div></div>_______________________________________________<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>
Follow this link to subscribe/unsubscribe:<br>
<a href="http://www.vtk.org/mailman/listinfo/vtkusers" target="_blank">http://www.vtk.org/mailman/listinfo/vtkusers</a><br>
<br></blockquote></div><br></div>
</blockquote></div><br></div>
</div></div></blockquote></div><br></div>
</div></div></blockquote></div><br></div>
</div></div></blockquote></div><br></div>
</div></div><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>
Follow this link to subscribe/unsubscribe:<br>
<a href="http://www.vtk.org/mailman/listinfo/vtkusers" target="_blank">http://www.vtk.org/mailman/listinfo/vtkusers</a><br>
<br></blockquote></div><br><br clear="all"><div><br></div></div></div><span><font color="#888888">-- <br>Unpaid intern in BillsBasement at noware dot com<br>
</font></span></div>
</blockquote></div><br></div>
</div></div></blockquote></div><br></div>
</div></div></blockquote></div><br></div>
</div></div></blockquote></div><br><br clear="all"><div><br></div>-- <br>Unpaid intern in BillsBasement at noware dot com<br>
</div>