[Insight-developers] Problems building the new ITKExamples
Matt McCormick
matt.mccormick at kitware.com
Tue Nov 13 13:08:40 EST 2012
Hi Bill, David,
Thanks for the feedback. I made commits to automatically update the submodules:
https://github.com/InsightSoftwareConsortium/ITKExamples/commit/5faf496018b398353d354ed454065af1128574f3
and updated the documentation:
https://github.com/InsightSoftwareConsortium/ITKExamples/commit/3af1623d6d9ce0c76d78e46784e8b68e229333ae
Thanks,
Matt
On Tue, Nov 13, 2012 at 4:45 PM, David Doria <daviddoria at gmail.com> wrote:
> On Tue, Nov 13, 2012 at 11:17 AM, Bill Lorensen <bill.lorensen at gmail.com> wrote:
>> Matt,
>>
>> I cloned the git repo as suggested here:
>> http://itk.org/ITKExamples/Download/index.html
>>
>> But when I run cmake I get this error:
>>
>> CMake Error at CMakeLists.txt:24 (message):
>> The git submodules are not available. Please run
>>
>> git submodule update --init --recursive
>>
>>
>> CMake Error at CMakeLists.txt:30 (message):
>> The git submodules are not available. Please run
>>
>> git submodule update --init --recursive
>>
>>
>> CMake Error at CMakeLists.txt:36 (message):
>> The git submodules are not available. Please run
>>
>> git submodule update --init --recursive
>
> I agree that this step should not be required to do manually (though
> it seems to be common (e.g. Paraview requires it:
> http://www.paraview.org/Wiki/ParaView/Git/Download in the form of
> clone --recursive).
>
> Matt, is there a way to have CMake check for the existence of the
> submodules and run the submodule command automatically? Or perhaps
> CMake could just always run that command automatically, as I believe
> git basically does nothing if it is already in a good state?
>
> David
More information about the Insight-developers
mailing list