[Insight-developers] Problems building the new ITKExamples
David Doria
daviddoria at gmail.com
Tue Nov 13 11:45:12 EST 2012
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