Open Carnildo opened 2 years ago
It looks like you haven't successfully set up the git submodules, which is why the build produced this error:
CMake Error at CMakeLists.txt:29 (message):
Missing submodules - Please run:
'git submodule update --init'
Try running git submodule update --init
from the root directory of your local tangram-es
repo. You won't be able to build the project until you set up the submodules correctly.
So Tangram-ES only supports building from a git repository, not from the source tarball? If so, the documentation should mention this.
This is more of a problem with GitHub, not Tangram ES. The GitHub source archive does not include submodule sources, but if you also download archives of the repo's submodules and move them into their respective locations in the project then it will still build correctly. However it is significantly easier to use git for this so that's what I advise users to do!
TO REPRODUCE THE ISSUE, FOLLOW THESE STEPS:
I'm following the instructions at https://github.com/tangrams/tangram-es/tree/main/platforms/linux adapted for Gentoo's package naming.
RESULT:
After running
git submodule update --init
I getAfter ignoring that error and attempting to continue with
make linux
, I getEXPECTED RESULT:
The library and demo will successfully compile
ENVIRONMENT:
Gentoo Linux on x86-64, attempting to compile release 0.17.1