<br>Hi, I&#39;m using the default &quot;cmake&quot; dispatched with Ubuntu 9.04, namely,<br>&quot;cmake version 2.6-patch 2&quot;<br><br><br>Thank you for your prompt reply.<br><br>Best Regards<br>JIA<br><br><br><br><br><br>
<div class="gmail_quote">On Thu, Jul 2, 2009 at 11:58 AM, David Cole <span dir="ltr">&lt;<a href="mailto:david.cole@kitware.com">david.cole@kitware.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
What version of CMake are you using?<br><br><br><div class="gmail_quote">On Thu, Jul 2, 2009 at 5:40 AM, jiapei100 <span dir="ltr">&lt;<a href="mailto:jp4work@gmail.com" target="_blank">jp4work@gmail.com</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<br>
<br>
Things move on....<br>
Now, Ubuntu 9.04 + VTK 5.4.2<br>
<br>
Can anybody please help???<br>
Thanks in advance.<br>
<br>
Best Rgds<br>
JIA<br>
<br>
[ 99%] Generating ../VTKExamples<br>
Internal cmake changing into directory:<br>
/media/Elements/Tools/OpenSources/ComputerVision/VTK/VTK/Examples/All<br>
Error: cmake execution failed<div class="im"><br>
<div>CMake Error: Could not find cmake module file:CMakeCInformation.cmake<br>
CMake Error: Could not find cmake module file:CMakeCXXInformation.cmake<br>
CMake Error at<br>
</div></div>/media/Elements/Tools/OpenSources/ComputerVision/VTK/VTK/UseVTK.cmake:12<div class="im"><br>
<div>(INCLUDE):<br>
  include could not find load file:<br>
<br>
</div></div>    /Modules/CMakeImportBuildSettings.cmake<br>
Call Stack (most recent call first):<br>
  CMakeLists.txt:145 (INCLUDE)<br>
<br>
<br>
CMake Error at<br>
/media/Elements/Tools/OpenSources/ComputerVision/VTK/VTK/UseVTK.cmake:13<br>
(CMAKE_IMPORT_BUILD_SETTINGS):<br>
  Unknown CMake command &quot;CMAKE_IMPORT_BUILD_SETTINGS&quot;.<br>
Call Stack (most recent call first):<br>
  CMakeLists.txt:145 (INCLUDE)<br>
<br>
<br>
Configuring<br>
Configuring incomplete, errors occurred!<br>
<br>
make[2]: *** [VTKExamples] Error 1<br>
make[1]: *** [Examples/CMakeFiles/VTKExamplesTarget.dir/all] Error 2<br>
make: *** [all] Error 2<div class="im"><br>
<div><br>
****  Installation failed. Aborting package creation.<br>
<br>
<br>
<br>
<br>
<br>
<br>
</div></div><div><div></div><div class="h5"><div><div></div><div>jiapei100 wrote:<br>
&gt;<br>
&gt; ---------- Forwarded message ----------<br>
&gt; From: JIA Pei &lt;<a href="mailto:jp4work@gmail.com" target="_blank">jp4work@gmail.com</a>&gt;<br>
&gt; Date: Tue, Apr 21, 2009 at 5:21 AM<br>
&gt; Subject: VTK Example Installation error<br>
&gt; To: <a href="mailto:kitware@kitware.com" target="_blank">kitware@kitware.com</a><br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt; Dear VTK developers:<br>
&gt;<br>
&gt;<br>
&gt; I&#39;m seriously sorry but urgent to drop this question. No matter how I<br>
&gt; tried<br>
&gt; to install VTK 5.4.0 on my laptop, Ubuntu 8.10, I always got the following<br>
&gt; error messages:<br>
&gt;<br>
&gt; Well, I used &quot;checkinstall&quot; to actually install the VTK package.<br>
&gt;<br>
&gt; &quot;<br>
&gt; Installing with make install...<br>
&gt;<br>
&gt; ========================= Installation results ===========================<br>
&gt; CMake Error: Could not find cmake module file:CMakeCInformation.cmake<br>
&gt; CMake Error: Could not find cmake module file:CMakeCXXInformation.cmake<br>
&gt; CMake Error at CMakeLists.txt:105 (INCLUDE):<br>
&gt; include could not find load file:<br>
&gt;<br>
&gt; /Modules/CMakeExportBuildSettings.cmake<br>
&gt;<br>
&gt;<br>
&gt; CMake Error: Could not find cmake module file:CMakeCXXInformation.cmake<br>
&gt; CMake Error: Internal CMake error, TryCompile configure of cmake failed<br>
&gt; CMake Error at CMakeLists.txt:228 (CMAKE_EXPORT_BUILD_SETTINGS):<br>
&gt; Unknown CMake command &quot;CMAKE_EXPORT_BUILD_SETTINGS&quot;.<br>
&gt;<br>
&gt;<br>
&gt; -- Configuring incomplete, errors occurred!<br>
&gt; make: *** [cmake_check_build_system] Error 1<br>
&gt;<br>
&gt; **** Installation failed. Aborting package creation.<br>
&gt;<br>
&gt; Restoring overwritten files from backup...OK<br>
&gt;<br>
&gt; Cleaning up...OK<br>
&gt;<br>
&gt; Bye.<br>
&gt; &quot;<br>
&gt;<br>
&gt;<br>
&gt; For sure, it&#39;s not because I forgot to set up the system enviroment<br>
&gt; CMAKE_ROOT. And, as you can see, My $CMAKE_ROOT is pointing to<br>
&gt; &quot;/usr/share/cmake-2.6&quot;<br>
&gt;<br>
&gt; &quot;<br>
&gt; jiapei@jiapei-laptop:/etc$ echo $CMAKE_ROOT<br>
&gt; /usr/share/cmake-2.6<br>
&gt; &quot;<br>
&gt;<br>
&gt;<br>
&gt; What should I do to ensure I don&#39;t have the above error messages during<br>
&gt; &quot;checkinstall&quot; installation.<br>
&gt;<br>
&gt;<br>
&gt; Rgds<br>
&gt; JIA<br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt; --<br>
&gt; Welcome to Vision Open<br>
&gt; <a href="http://www.visionopen.com" target="_blank">http://www.visionopen.com</a><br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt; --<br>
&gt; Welcome to Vision Open<br>
&gt; <a href="http://www.visionopen.com" target="_blank">http://www.visionopen.com</a><br>
&gt;<br>
</div></div></div></div>&gt; _______________________________________________<br>
&gt; Powered by <a href="http://www.kitware.com" target="_blank">www.kitware.com</a><br>
&gt;<br>
&gt; Visit other Kitware open-source projects at<br>
&gt; <a href="http://www.kitware.com/opensource/opensource.html" target="_blank">http://www.kitware.com/opensource/opensource.html</a><br>
&gt;<br>
&gt; Please keep messages on-topic and check the VTK FAQ at:<br>
&gt; <a href="http://www.vtk.org/Wiki/VTK_FAQ" target="_blank">http://www.vtk.org/Wiki/VTK_FAQ</a><br>
&gt;<br>
&gt; Follow this link to subscribe/unsubscribe:<br>
&gt; <a href="http://www.vtk.org/mailman/listinfo/vtkusers" target="_blank">http://www.vtk.org/mailman/listinfo/vtkusers</a><br>
&gt;<br>
&gt;<br>
&gt; -----<div class="im"><br>
<div>&gt; Welcome to Vision Open<br>
&gt; <a href="http://www.visionopen.com" target="_blank">http://www.visionopen.com</a><br>
&gt;<br>
&gt;<br>
<br>
<br>
-----<br>
Welcome to Vision Open<br>
</div></div><a href="http://www.visionopen.com" target="_blank">http://www.visionopen.com</a> <a href="http://www.visionopen.com" target="_blank">http://www.visionopen.com</a><br>
<br>
--<br>
View this message in context: <a href="http://www.nabble.com/VTK-Example-Installation-error-tp23155684p24303921.html" target="_blank">http://www.nabble.com/VTK-Example-Installation-error-tp23155684p24303921.html</a><br>
Sent from the VTK - Users mailing list archive at Nabble.com.<br>
<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>
</blockquote></div><br>
</blockquote></div><br><br clear="all"><br>-- <br>Welcome to Vision Open<br><a href="http://www.visionopen.com">http://www.visionopen.com</a><br>