DWT Cloning / Build fails

Jacob Carlborg via Digitalmars-d-learn digitalmars-d-learn at puremagic.com
Tue Apr 12 12:20:44 PDT 2016


On 2016-04-12 17:32, Chris wrote:
> This doesn't work:
>
> $ git clone --recursive git://github.com/d-widget-toolkit/dwt.git
>
> $ git clone --recursive https://github.com/d-widget-toolkit/dwt.git
>
> (cf. https://github.com/d-widget-toolkit/dwt)

What errors to you get? This should work unless you have a really old 
version of Git. Seems like the --recursive flag was added in Git 1.6.5 [1].

> If I just download the master or clone without `--recursive`, files are
> missing and I cannot compile it.

The download doesn't contain submodules. If you clone without 
"--recursive" you can to run "git submodule update --init" after you 
have cloned the project.

[1] 
http://stackoverflow.com/questions/3796927/how-to-git-clone-including-submodules

-- 
/Jacob Carlborg


More information about the Digitalmars-d-learn mailing list