MRPT / mrpt

:zap: The Mobile Robot Programming Toolkit (MRPT)
https://docs.mrpt.org/reference/latest/
BSD 3-Clause "New" or "Revised" License
1.89k stars 627 forks source link

Source packages release do not contain submodules #1274

Closed roncapat closed 1 year ago

roncapat commented 1 year ago

When building from source archives (not using git clone) the build fails with:

CMake Error at CMakeLists.txt:50 (message):
  git submodules missing! You probably did not clone the project with
  --recursive.  It is possible to recover by calling:

    git submodule update --init --recursive

but of course this can't be done since the distributed archive is not a git repository.

jlblancoc commented 1 year ago

Hi @roncapat

Yes, that's a limitation of the automatic github source archives in releases. That's why we also provide alternative TGZs / ZIPs with the whole thing (incl. submodules), they are here:

Screenshot from 2023-06-15 11-25-31

If those don't contain the submodules then it's a real bug...

roncapat commented 1 year ago

Ok thanks! Clear :)