On Thu, 30 Apr 2009, Tim Jenness wrote:
> Have you run git submodule update recently?
>
> try this
>
> cd ....kitware/vtk
> git clean -fdx
> cd VTK
> git clean -fdx
> cd ../cmake
> git clean -fdx
> cd ..
> ./bootstrap
> ./configure
> make
>
> and see if it builds then.
Should do the trick. This is one happens when you update a previously
built cmake and then re-configure without cleaning it first (there is a
directory Source/cmsys full of old files that should really be
regenerated).
Peter.
> On Apr 30, 2009, at 1:46 PM, Andy Gibb wrote:
>
>> I get a different error when I run ./configure:
>>
>> g++ -I/aspersa/scuba2/star-build/thirdparty/kitware/vtk/cmake/Source
>> -I/aspersa/scuba2/star-build/thirdparty/kitware/vtk/cmake/Bootstrap.cmk -c
>> /aspersa/scuba2/star-build/thirdparty/kitware/vtk/cmake/Source/cmake.cxx -o
>> cmake.o
>> In file included from
>> /aspersa/scuba2/star-build/thirdparty/kitware/vtk/cmake/Source/cmake.h:43,
>> from
>> /aspersa/scuba2/star-build/thirdparty/kitware/vtk/cmake/Source/cmake.cxx:17:
>> /aspersa/scuba2/star-build/thirdparty/kitware/vtk/cmake/Source/cmSystemTools.h:52:
>> error: 'KeyWOW64' has not been declared
>> /aspersa/scuba2/star-build/thirdparty/kitware/vtk/cmake/Source/cmSystemTools.h:52:
>> error: 'KeyWOW64_Default' was not declared in this scope
>> /aspersa/scuba2/star-build/thirdparty/kitware/vtk/cmake/Source/cmake.cxx:
>> In member function 'int cmake::AddCMakePaths()':
>> /aspersa/scuba2/star-build/thirdparty/kitware/vtk/cmake/Source/cmake.cxx:790:
>> error: 'GetRealPath' is not a member of 'cmSystemTools'
>> /aspersa/scuba2/star-build/thirdparty/kitware/vtk/cmake/Source/cmake.cxx:878:
>> error: 'GetRealPath' is not a member of 'cmSystemTools'
>> /aspersa/scuba2/star-build/thirdparty/kitware/vtk/cmake/Source/cmake.cxx:
>> In static member function 'static int
>> cmake::ExecuteCMakeCommand(std::vector<std::basic_string<char,
>> std::char_traits<char>, std::allocator<char> >,
>> std::allocator<std::basic_string<char, std::char_traits<char>,
>> std::allocator<char> > > >&)':
>> /aspersa/scuba2/star-build/thirdparty/kitware/vtk/cmake/Source/cmake.cxx:1139:
>> error: 'Touch' is not a member of 'cmSystemTools'
>> /aspersa/scuba2/star-build/thirdparty/kitware/vtk/cmake/Source/cmake.cxx:1153:
>> error: 'Touch' is not a member of 'cmSystemTools'
>> gmake: *** [cmake.o] Error 1
>>
>> Any clues? Fedora 10, x86_64.
>>
>> Andy
>
> --
> Tim Jenness
> Joint Astronomy Centre
--
Peter W. Draper, http://astro.dur.ac.uk/~pdraper
|