tangram-es: Last Raspberry Pi version to build & work is 0.9.6 branch. Version 0.10.0 branch build errors enclosed:

Build script:

`_pi@raspberrypi85:~/tangram-es-0.10.0$ git clone https://github.com/tangrams/tangram-es.git -b 0.10.0 Cloning into ‘tangram-es’… remote: Enumerating objects: 73, done. remote: Counting objects: 100% (73/73), done. remote: Compressing objects: 100% (55/55), done. remote: Total 62433 (delta 19), reused 32 (delta 10), pack-reused 62360 Receiving objects: 100% (62433/62433), 38.99 MiB | 1.03 MiB/s, done. Resolving deltas: 100% (45013/45013), done. Note: checking out ‘a5fe4b39b41b3a4acaf0b387acfd965a41e2c5d9’.

You are in ‘detached HEAD’ state. You can look around, make experimental changes and commit them, and you can discard any commits you make in this state without impacting any branches by performing another checkout.

If you want to create a new branch to retain commits you create, you may do so (now or later) by using -b with the checkout command again. Example:

git checkout -b <new-branch-name>

pi@raspberrypi85:~/tangram-es-0.10.0 $ cd tangram-es/ pi@raspberrypi85:~/tangram-es-0.10.0/tangram-es $ make rpi cmake -H. -Bbuild/rpi -DCMAKE_BUILD_TYPE=Release -DTANGRAM_PLATFORM=rpi -DCMAKE_EXPORT_COMPILE_COMMANDS=TRUE – The C compiler identification is GNU 6.3.0 – The CXX compiler identification is GNU 6.3.0 – Check for working C compiler: /usr/bin/cc – Check for working C compiler: /usr/bin/cc – works – Detecting C compiler ABI info – Detecting C compiler ABI info - done – Detecting C compile features – Detecting C compile features - done – Check for working CXX compiler: /usr/bin/c++ – Check for working CXX compiler: /usr/bin/c++ – works – Detecting CXX compiler ABI info – Detecting CXX compiler ABI info - done – Detecting CXX compile features – Detecting CXX compile features - done – Build type configuration: Release CMake Error at CMakeLists.txt:18 (message): Missing submodules - Please run:

‘git submodule update --init’

– Configuring incomplete, errors occurred! See also “/home/pi/tangram-es-0.10.0/tangram-es/build/rpi/CMakeFiles/CMakeOutput.log”. Makefile:251: recipe for target ‘cmake-rpi’ failed make: *** [cmake-rpi] Error 1 pi@raspberrypi85:~/tangram-es-0.10.0/tangram-es $ git submodule update --init Submodule ‘external/benchmark’ (https://github.com/google/benchmark) registered for path ‘bench/benchmark’ Submodule ‘external/SQLiteCpp’ (https://github.com/SRombauts/SQLiteCpp.git) registered for path ‘core/deps/SQLiteCpp’ Submodule ‘external/alfons’ (https://github.com/hjanetzek/alfons) registered for path ‘core/deps/alfons’ Submodule ‘core/dependencies/csscolorparser’ (https://github.com/tangrams/css-color-parser-cpp) registered for path ‘core/deps/css-color-parser-cpp’ Submodule ‘core/include/earcut.hpp’ (https://github.com/tangrams/earcut.hpp) registered for path ‘core/deps/earcut’ Submodule ‘core/dependencies/geojson-vt-cpp’ (https://github.com/tangrams/geojson-vt-cpp.git) registered for path ‘core/deps/geojson-vt-cpp’ Submodule ‘external/harfbuzz-icu-freetype’ (https://github.com/tangrams/harfbuzz-icu-freetype.git) registered for path ‘core/deps/harfbuzz-icu-freetype’ Submodule ‘core/include/isect2d’ (https://github.com/tangrams/isect2d.git) registered for path ‘core/deps/isect2d’ Submodule ‘core/include/variant’ (https://github.com/tangrams/variant) registered for path ‘core/deps/variant’ Submodule ‘external/yaml-cpp’ (https://github.com/tangrams/yaml-cpp) registered for path ‘core/deps/yaml-cpp’ Submodule ‘external/glfw’ (https://github.com/glfw/glfw) registered for path ‘platforms/common/glfw’ Cloning into ‘/home/pi/tangram-es-0.10.0/tangram-es/bench/benchmark’… Cloning into ‘/home/pi/tangram-es-0.10.0/tangram-es/core/deps/SQLiteCpp’… Cloning into ‘/home/pi/tangram-es-0.10.0/tangram-es/core/deps/alfons’… Cloning into ‘/home/pi/tangram-es-0.10.0/tangram-es/core/deps/css-color-parser-cpp’… Cloning into ‘/home/pi/tangram-es-0.10.0/tangram-es/core/deps/earcut’… Cloning into ‘/home/pi/tangram-es-0.10.0/tangram-es/core/deps/geojson-vt-cpp’… Cloning into ‘/home/pi/tangram-es-0.10.0/tangram-es/core/deps/harfbuzz-icu-freetype’… Cloning into ‘/home/pi/tangram-es-0.10.0/tangram-es/core/deps/isect2d’… Cloning into ‘/home/pi/tangram-es-0.10.0/tangram-es/core/deps/variant’… Cloning into ‘/home/pi/tangram-es-0.10.0/tangram-es/core/deps/yaml-cpp’… Cloning into ‘/home/pi/tangram-es-0.10.0/tangram-es/platforms/common/glfw’… Submodule path ‘bench/benchmark’: checked out ‘e776aa0275e293707b6a0901e0e8d8a8a3679508’ Submodule path ‘core/deps/SQLiteCpp’: checked out ‘eb065bf741c2422a84de0766fe7fb38cea53f195’ Submodule path ‘core/deps/alfons’: checked out ‘26a4dc693ad35609d4909141f763f1bad32e681f’ Submodule path ‘core/deps/css-color-parser-cpp’: checked out ‘1771826bc3a868e5e23e3ba6d2a024872218812d’ Submodule path ‘core/deps/earcut’: checked out ‘195b2fdae9a354c0f86592f320df4988c896f822’ Submodule path ‘core/deps/geojson-vt-cpp’: checked out ‘12aae692c43590e4f4f2113ab22d4174fd6d9a00’ Submodule path ‘core/deps/harfbuzz-icu-freetype’: checked out ‘e5d9fc8f13040fb1ca83ee60ed9d73fbfceca5f4’ Submodule path ‘core/deps/isect2d’: checked out ‘2e1a75cee09d9949900e926c61c86505b09205b2’ Submodule path ‘core/deps/variant’: checked out ‘e26e56c3e7d5b819702ff71ee57d82be5b097f65’ Submodule path ‘core/deps/yaml-cpp’: checked out ‘172e83072d65fcc0bf66fd8a773c0cb9c36b7a55’ Submodule path ‘platforms/common/glfw’: checked out ‘999f3556fdd80983b10051746264489f2cb1ef16’ pi@raspberrypi85:~/tangram-es-0.10.0/tangram-es $ make rpi cmake -H. -Bbuild/rpi -DCMAKE_BUILD_TYPE=Release -DTANGRAM_PLATFORM=rpi -DCMAKE_EXPORT_COMPILE_COMMANDS=TRUE – The C compiler identification is GNU 6.3.0 – The CXX compiler identification is GNU 6.3.0 – Check for working C compiler: /usr/bin/cc – Check for working C compiler: /usr/bin/cc – works – Detecting C compiler ABI info – Detecting C compiler ABI info - done – Detecting C compile features – Detecting C compile features - done – Check for working CXX compiler: /usr/bin/c++ – Check for working CXX compiler: /usr/bin/c++ – works – Detecting CXX compiler ABI info – Detecting CXX compiler ABI info - done – Detecting CXX compile features – Detecting CXX compile features - done – Build type configuration: Release CMake Error at CMakeLists.txt:18 (message): Missing submodules - Please run:

‘git submodule update --init’

– Configuring incomplete, errors occurred! See also “/home/pi/tangram-es-0.10.0/tangram-es/build/rpi/CMakeFiles/CMakeOutput.log”. Makefile:251: recipe for target ‘cmake-rpi’ failed make: *** [cmake-rpi] Error 1 pi@raspberrypi85:~/tangram-es-0.10.0/tangram-es $ git submodule update --init Submodule ‘external/benchmark’ (https://github.com/google/benchmark) registered for path ‘bench/benchmark’ Submodule ‘external/SQLiteCpp’ (https://github.com/SRombauts/SQLiteCpp.git) registered for path ‘core/deps/SQLiteCpp’ Submodule ‘external/alfons’ (https://github.com/hjanetzek/alfons) registered for path ‘core/deps/alfons’ Submodule ‘core/dependencies/csscolorparser’ (https://github.com/tangrams/css-color-parser-cpp) registered for path ‘core/deps/css-color-parser-cpp’ Submodule ‘core/include/earcut.hpp’ (https://github.com/tangrams/earcut.hpp) registered for path ‘core/deps/earcut’ Submodule ‘core/dependencies/geojson-vt-cpp’ (https://github.com/tangrams/geojson-vt-cpp.git) registered for path ‘core/deps/geojson-vt-cpp’ Submodule ‘external/harfbuzz-icu-freetype’ (https://github.com/tangrams/harfbuzz-icu-freetype.git) registered for path ‘core/deps/harfbuzz-icu-freetype’ Submodule ‘core/include/isect2d’ (https://github.com/tangrams/isect2d.git) registered for path ‘core/deps/isect2d’ Submodule ‘core/include/variant’ (https://github.com/tangrams/variant) registered for path ‘core/deps/variant’ Submodule ‘external/yaml-cpp’ (https://github.com/tangrams/yaml-cpp) registered for path ‘core/deps/yaml-cpp’ Submodule ‘external/glfw’ (https://github.com/glfw/glfw) registered for path ‘platforms/common/glfw’ Cloning into ‘/home/pi/tangram-es-0.10.0/tangram-es/bench/benchmark’… Cloning into ‘/home/pi/tangram-es-0.10.0/tangram-es/core/deps/SQLiteCpp’… Cloning into ‘/home/pi/tangram-es-0.10.0/tangram-es/core/deps/alfons’… Cloning into ‘/home/pi/tangram-es-0.10.0/tangram-es/core/deps/css-color-parser-cpp’… Cloning into ‘/home/pi/tangram-es-0.10.0/tangram-es/core/deps/earcut’… Cloning into ‘/home/pi/tangram-es-0.10.0/tangram-es/core/deps/geojson-vt-cpp’… Cloning into ‘/home/pi/tangram-es-0.10.0/tangram-es/core/deps/harfbuzz-icu-freetype’… Cloning into ‘/home/pi/tangram-es-0.10.0/tangram-es/core/deps/isect2d’… Cloning into ‘/home/pi/tangram-es-0.10.0/tangram-es/core/deps/variant’… Cloning into ‘/home/pi/tangram-es-0.10.0/tangram-es/core/deps/yaml-cpp’… Cloning into ‘/home/pi/tangram-es-0.10.0/tangram-es/platforms/common/glfw’… Submodule path ‘bench/benchmark’: checked out ‘e776aa0275e293707b6a0901e0e8d8a8a3679508’ Submodule path ‘core/deps/SQLiteCpp’: checked out ‘eb065bf741c2422a84de0766fe7fb38cea53f195’ Submodule path ‘core/deps/alfons’: checked out ‘26a4dc693ad35609d4909141f763f1bad32e681f’ Submodule path ‘core/deps/css-color-parser-cpp’: checked out ‘1771826bc3a868e5e23e3ba6d2a024872218812d’ Submodule path ‘core/deps/earcut’: checked out ‘195b2fdae9a354c0f86592f320df4988c896f822’ Submodule path ‘core/deps/geojson-vt-cpp’: checked out ‘12aae692c43590e4f4f2113ab22d4174fd6d9a00’ Submodule path ‘core/deps/harfbuzz-icu-freetype’: checked out ‘e5d9fc8f13040fb1ca83ee60ed9d73fbfceca5f4’ Submodule path ‘core/deps/isect2d’: checked out ‘2e1a75cee09d9949900e926c61c86505b09205b2’ Submodule path ‘core/deps/variant’: checked out ‘e26e56c3e7d5b819702ff71ee57d82be5b097f65’ Submodule path ‘core/deps/yaml-cpp’: checked out ‘172e83072d65fcc0bf66fd8a773c0cb9c36b7a55’ Submodule path ‘platforms/common/glfw’: checked out ‘999f3556fdd80983b10051746264489f2cb1ef16’ pi@raspberrypi85:~/tangram-es-0.10.0/tangram-es $ make rpi cmake -H. -Bbuild/rpi -DCMAKE_BUILD_TYPE=Release -DTANGRAM_PLATFORM=rpi -DCMAKE_EXPORT_COMPILE_COMMANDS=TRUE – Build type configuration: Release – Including platform CMake config file: platforms/rpi/config.cmake – Found PkgConfig: /usr/bin/pkg-config (found version “0.29”) – Checking for module ‘fontconfig’ – Found fontconfig, version 2.11.0 CMake Error at platforms/rpi/config.cmake:56 (add_resources): add_resources Macro invoked with incorrect arguments for macro named: add_resources Call Stack (most recent call first): CMakeLists.txt:63 (include)

– Performing Test FLAG_WEXTRA – Performing Test FLAG_WEXTRA - Success – Creating directory /home/pi/tangram-es-0.10.0/tangram-es/build/rpi/core/deps/harfbuzz-icu-freetype/freetype/include/freetype/config – Creating file /home/pi/tangram-es-0.10.0/tangram-es/build/rpi/core/deps/harfbuzz-icu-freetype/freetype/include/freetype/config/ftconfig.h – Looking for unistd.h – Looking for unistd.h - found – Looking for fcntl.h – Looking for fcntl.h - found – Looking for stdint.h – Looking for stdint.h - found – Creating file /home/pi/tangram-es-0.10.0/tangram-es/build/rpi/core/deps/harfbuzz-icu-freetype/freetype/include/freetype/config/ftoption.h – harfbuzzfreetypeicucommon – Looking for GLM – GLM include /home/pi/tangram-es-0.10.0/tangram-es/core/deps/glm – CMake version: 3.7.2 – CMAKE_CXX_COMPILER ‘/usr/bin/c++’ ‘GNU’ ‘6.3.0’ – CMAKE_CXX_FLAGS ‘’ – CMAKE_CXX_FLAGS_RELEASE ‘-O3 -DNDEBUG’ – SQLITECPP_RUN_CPPLINT OFF – SQLITECPP_RUN_CPPCHECK OFF – SQLITECPP_RUN_DOXYGEN OFF – SQLITECPP_BUILD_EXAMPLES OFF – SQLITECPP_BUILD_TESTS OFF – Configuring incomplete, errors occurred! See also “/home/pi/tangram-es-0.10.0/tangram-es/build/rpi/CMakeFiles/CMakeOutput.log”. Makefile:251: recipe for target ‘cmake-rpi’ failed make: *** [cmake-rpi] Error 1_`

Failed to build.

Raspberry Pi and OS used:

_`pi@raspberrypi85:~/$./about.sh

  • Original Installation Raspberry Pi reference 2017-08-16 Generated using pi-gen, https://github.com/RPi-Distro/pi-gen, aaaf0aea13f1e4f0375c31c87d7389299228598d, stage2
  • Current OS Distributor ID: Raspbian Description: Raspbian GNU/Linux 9.9 (stretch) Release: 9.9 Codename: stretch
  • Kernel 4.19.58+
  • Model Raspberry Pi Zero W Rev 1.1
  • hostname raspberrypi85
  • Firmware Jul 9 2019 14:42:57 Copyright © 2012 Broadcom version 6c3fe3f096a93de3b34252ad98cdccadeb534be2 (clean) (release) (start_x) Filesystem created: Wed Aug 16 01:20:48 2017_ `

Same build error on Raspberry Pi 3B+ with Raspbian stretch 9.11 - details can be given.

About this issue

  • Original URL
  • State: closed
  • Created 5 years ago
  • Comments: 26 (11 by maintainers)

Most upvoted comments

…yes, you solved it - I’d forgotten about the GPU parameter as it is not stated in the config.txt file. You’d think the default would be more than 64MB on 1GB! I’ll do the same change on Buster but this issue can be closed. Thank you.