Thank you very much, Amy. It works properly now.<br><br>Dzung.<br><br><b><i>Amy Squillacote &lt;amy.squillacote@kitware.com&gt;</i></b> wrote:<blockquote class="replbq" style="border-left: 2px solid rgb(16, 16, 255); margin-left: 5px; padding-left: 5px;"> Hi Dzung,<br><br>Did you run ccmake before you tried to build the Cone.cxx example? If <br>not, do that. One of the CMake variables that will be listed is VTK_DIR. <br>Set that variable to the path to VTKConfig.cmake.<br><br>Once you have had ccmake generate the necessary makefiles, then run make <br>to build the example.<br><br>- Amy<br><br>Dzung Manh Chu wrote:<br>&gt; Hello.<br>&gt;<br>&gt; I'm using Fedora and just installed VTK 4.4. I'm running the Cone.cxx <br>&gt; example with the following CMakeLists.txt file:<br>&gt;<br>&gt; PROJECT (Step1)<br>&gt;<br>&gt; INCLUDE (${CMAKE_ROOT}/Modules/FindVTK.cmake)<br>&gt; IF (USE_VTK_FILE)<br>&gt;   INCLUDE(${USE_VTK_FILE})<br>&gt; ENDIF (USE_VTK_FILE)<br>&gt;<br>&gt;
 LINK_LIBRARIES(<br>&gt;         vtkRendering<br>&gt;         vtkGraphics<br>&gt;         vtkImaging<br>&gt;         vtkFiltering<br>&gt;         vtkCommon<br>&gt; )<br>&gt;<br>&gt; ADD_EXECUTABLE(Cone Cone.cxx)<br>&gt; TARGET_LINK_LIBRARIES(Cone vtkRendering)<br>&gt;<br>&gt; It should have run correctly, but I got this error:<br>&gt; CMake Error: VTK not found.  Set the VTK_DIR cmake cache entry to the <br>&gt; directory containing VTKConfig.cmake.  This is either the root of the <br>&gt; build tree, or PREFIX/lib/vtk for an installation.  For VTK 4.0, this <br>&gt; is the location of UseVTK.cmake.  This is either the root of the build <br>&gt; tree or PREFIX/include/vtk for an installation.<br>&gt;<br>&gt; Did any of you also get this problem before? I'v located where <br>&gt; VTKConfig.cmake is. But I donot know where "VTK_DIR cmake cache entry" <br>&gt; is. Any comment would be highly appreciated.<br>&gt;<br>&gt; Dzung.<br>&gt;<br>&gt;
 ------------------------------------------------------------------------<br>&gt; Fussy? Opinionated? Impossible to please? Perfect. Join Yahoo!'s user <br>&gt; panel <br>&gt; <http: //us.rd.yahoo.com/evt="48516/*http://surveylink.yahoo.com/gmrs/yahoo_panel_invite.asp?a=7%20"> <br>&gt; and lay it on us.<br>&gt; ------------------------------------------------------------------------<br>&gt;<br>&gt; _______________________________________________<br>&gt; This is the private VTK discussion list. <br>&gt; Please keep messages on-topic. Check the FAQ at: http://www.vtk.org/Wiki/VTK_FAQ<br>&gt; Follow this link to subscribe/unsubscribe:<br>&gt; http://www.vtk.org/mailman/listinfo/vtkusers<br>&gt;   <br><br>-- <br>Amy Squillacote<br>Kitware, Inc.<br>28 Corporate Drive<br>Clifton Park, NY 12065<br>Phone: (518) 371-3971 x106<br><br></http:></blockquote><br><p>&#32;
      <hr size=1>Got a little couch potato? <br>
Check out fun <a href="http://us.rd.yahoo.com/evt=48248/*http://search.yahoo.com/search?fr=oni_on_mail&p=summer+activities+for+kids&cs=bz">summer activities for kids.</a>