<div dir="ltr">From the build directory inside the example you are building type:<div><br></div><div style>cmake -DVTK_DIR:PATH=<span style="color:rgb(0,0,0);font-family:arial,sans-serif;font-size:13px">/home/stame1/software/VTKBin ..</span></div>
<div style><span style="color:rgb(0,0,0);font-family:arial,sans-serif;font-size:13px">make</span></div><div style><span style="color:rgb(0,0,0);font-family:arial,sans-serif;font-size:13px"><br></span></div></div><div class="gmail_extra">
<br><br><div class="gmail_quote">On Wed, Aug 14, 2013 at 8:35 AM, Altamash Abbasi <span dir="ltr"><<a href="mailto:altamashabbasi@gmail.com" target="_blank">altamashabbasi@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div dir="ltr">/home/stame1/software/VTKBin</div><div class="HOEnZb"><div class="h5"><div class="gmail_extra"><br><br><div class="gmail_quote">On Wed, Aug 14, 2013 at 2:34 PM, Bill Lorensen <span dir="ltr"><<a href="mailto:bill.lorensen@gmail.com" target="_blank">bill.lorensen@gmail.com</a>></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 full path that contains VTKConfig.cmake?<div><br></div></div><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"><<a href="mailto:altamashabbasi@gmail.com" target="_blank">altamashabbasi@gmail.com</a>></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' name is Software</div><div><div><div class="gmail_extra"><br><br><div class="gmail_quote">
On Wed, Aug 14, 2013 at 2:33 PM, Anka Kochanowska <span dir="ltr"><<a href="mailto:pluszcz@gmail.com" target="_blank">pluszcz@gmail.com</a>></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"><<a href="mailto:altamashabbasi@gmail.com" target="_blank">altamashabbasi@gmail.com</a>></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'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"><<a href="mailto:bill.lorensen@gmail.com" target="_blank">bill.lorensen@gmail.com</a>></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"><<a href="mailto:altamashabbasi@gmail.com" target="_blank">altamashabbasi@gmail.com</a>></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's settings for an external project.</div>
<div><br></div><div>set(VTK_MODULES_DIR "/home/stame1/software/VTKBin/lib/cmake/vtk-6.0/Modules")</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 "")</div>
<div>SET(VTK_REQUIRED_CXX_FLAGS " -Wno-deprecated")</div><div>SET(VTK_REQUIRED_EXE_LINKER_FLAGS "")</div><div>SET(VTK_REQUIRED_SHARED_LINKER_FLAGS "")</div><div>SET(VTK_REQUIRED_MODULE_LINKER_FLAGS "")</div>
<div><br></div><div># The VTK version number</div><div>SET(VTK_MAJOR_VERSION "6")</div><div>SET(VTK_MINOR_VERSION "0")</div><div>SET(VTK_BUILD_VERSION "0")</div><div><br></div><div># The location of the UseVTK.cmake file.</div>
<div>SET(VTK_CMAKE_DIR "/home/stame1/software/VTK6.0.0/CMake")</div><div>SET(VTK_USE_FILE "${VTK_CMAKE_DIR}/UseVTK.cmake")</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 "${VTK_MODULES_DIR}" "${VTK_MODULES_DIR}/*.cmake")</div><div>foreach (_file ${config_files})</div><div> if (NOT "${_file}" MATCHES "[^\\-]+-[a-zA-Z]+\\.cmake")</div>
<div> string(REGEX REPLACE "\\.cmake$" "" _module "${_file}")</div><div> list(APPEND VTK_MODULES_ENABLED "${_module}")</div><div> endif()</div><div>endforeach()</div><div><br>
</div><div># Import VTK targets.</div><div>set(VTK_CONFIG_TARGETS_FILE "/home/stame1/software/VTKBin/VTKTargets.cmake")</div><div>if(NOT TARGET vtkCommonCore)</div><div> include("${VTK_CONFIG_TARGETS_FILE}")</div>
<div>endif()</div><div><br></div><div># Load module interface macros.</div><div>include("/home/stame1/software/VTK6.0.0/CMake/vtkModuleAPI.cmake")</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 "${VTK_FIND_COMPONENTS}")</div><div>elseif(NOT "${CMAKE_VERSION}" 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_<mod> will</div><div> # have leaked through.</div><div> set(VTK_MODULES_REQUESTED "")</div><div> get_cmake_property(_vars VARIABLES)</div>
<div> foreach(v IN LISTS _vars)</div><div> if("x${v}" MATCHES "^xVTK_FIND_REQUIRED_" AND ${v})</div><div> string(REGEX REPLACE "^VTK_FIND_REQUIRED_" "" _mod "${v}")</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 "${VTK_MODULES_ENABLED}")</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 "ON")</div><div>
SET(VTK_LEGACY_REMOVE "OFF")</div><div>SET(VTK_LEGACY_SILENT "OFF")</div><div>SET(VTK_WRAP_PYTHON "OFF")</div><div>SET(VTK_WRAP_TCL "OFF")</div><div>SET(VTK_WRAP_JAVA "OFF")</div>
<div><br></div><div># Do not add options or information here that is specific to a</div><div># particular module. Instead set <module>_EXPORT_OPTIONS and/or</div><div># <module>_EXPORT_CODE_BUILD and <module>_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"><<a href="mailto:altamashabbasi@gmail.com" target="_blank">altamashabbasi@gmail.com</a>></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> <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" 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"><<a href="mailto:pluszcz@gmail.com" target="_blank">pluszcz@gmail.com</a>></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"><<a href="mailto:altamashabbasi@gmail.com" target="_blank">altamashabbasi@gmail.com</a>></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'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"><<a href="mailto:pluszcz@gmail.com" target="_blank">pluszcz@gmail.com</a>></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"><<a href="mailto:altamashabbasi@gmail.com" target="_blank">altamashabbasi@gmail.com</a>></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>
</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>