From 81e7f619eb6dfcbe226813cd5de939e1f33d3dfd Mon Sep 17 00:00:00 2001 From: Romain Guy Date: Fri, 28 Feb 2020 13:10:16 -0800 Subject: [PATCH] Try to fix compilation error on Android (#2187) * Try to fix compilation error on Android * Try with a newer NDK... --- build/android/build.sh | 4 ++-- libs/geometry/include/geometry/SurfaceOrientation.h | 4 +++- 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/build/android/build.sh b/build/android/build.sh index bc9a0f76d6..3021382cd2 100755 --- a/build/android/build.sh +++ b/build/android/build.sh @@ -11,8 +11,8 @@ set -e set -x -NDK_VERSION="ndk;20.0.5594570" -ANDROID_NDK_VERSION=20 +NDK_VERSION="ndk;21.0.6113669" +ANDROID_NDK_VERSION=21 UNAME=`echo $(uname)` LC_UNAME=`echo $UNAME | tr '[:upper:]' '[:lower:]'` diff --git a/libs/geometry/include/geometry/SurfaceOrientation.h b/libs/geometry/include/geometry/SurfaceOrientation.h index a3ee37a71e..e9ad75bb5b 100644 --- a/libs/geometry/include/geometry/SurfaceOrientation.h +++ b/libs/geometry/include/geometry/SurfaceOrientation.h @@ -21,6 +21,8 @@ #include #include +#include + namespace filament { /** @@ -34,7 +36,7 @@ struct OrientationImpl; /** * The surface orientation helper can be used to populate Filament-style TANGENTS buffers. */ -class SurfaceOrientation { +class UTILS_PUBLIC SurfaceOrientation { public: /**