[vtkusers] VTK Example Installation error

JIA Pei jp4work at gmail.com
Thu Jul 2 07:04:09 EDT 2009


Hi, I'm using the default "cmake" dispatched with Ubuntu 9.04, namely,
"cmake version 2.6-patch 2"


Thank you for your prompt reply.

Best Regards
JIA





On Thu, Jul 2, 2009 at 11:58 AM, David Cole <david.cole at kitware.com> wrote:

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


-- 
Welcome to Vision Open
http://www.visionopen.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.vtk.org/pipermail/vtkusers/attachments/20090702/346b1768/attachment.htm>


More information about the vtkusers mailing list