From 00dbb0650f505765baad88d6e7a3d4cc496e82f5 Mon Sep 17 00:00:00 2001 From: Andrei Radulescu Date: Tue, 16 Jan 2024 10:23:00 +0000 Subject: [PATCH] temp g++-11 for mapbox-gl-native --- userspace/compile-mapbox-gl-native.sh | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/userspace/compile-mapbox-gl-native.sh b/userspace/compile-mapbox-gl-native.sh index d9271f1..0fee93a 100755 --- a/userspace/compile-mapbox-gl-native.sh +++ b/userspace/compile-mapbox-gl-native.sh @@ -1,5 +1,15 @@ #!/bin/bash -e +g++ --version +dpkg --list | grep gcc | grep -v lib + +apt-get install --no-install-recommends -yq g++-11 + +g++-11 --version +dpkg --list | grep g++ | grep -v lib + +export CXX=g++-11 + # Build mapbox-gl-native cd /tmp git clone --recursive https://github.com/andiradulescu/mapbox-gl-native.git