summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHuan Song <huans@google.com>2021-05-03 18:10:12 +0000
committerAutomerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>2021-05-03 18:10:12 +0000
commitb80951b7a4eee0dfeaded9119dcec2957a4318d7 (patch)
treea9940acb78c9ff6e6ad3ff251cca2eb98e3ec6ea
parent2b30760c19203a943d76b6394f74f86a9e70095b (diff)
parent894b48220d230fb0dcd53d2ca18a50640b3a301c (diff)
downloadvulkan-cereal-b80951b7a4eee0dfeaded9119dcec2957a4318d7.tar.gz
Update build instruction, fix build on Linux am: 07af0f20b2 am: 894b48220d
Original change: https://android-review.googlesource.com/c/device/generic/vulkan-cereal/+/1692658 Change-Id: I1a228267b16bb96dee48a371b22722dcbfa4aef4
-rw-r--r--README.md4
-rw-r--r--base/MruCache.h1
-rw-r--r--stream-servers/glestranslator/EGL/ShaderCache.cpp1
3 files changed, 5 insertions, 1 deletions
diff --git a/README.md b/README.md
index ef1f4451..d00d326b 100644
--- a/README.md
+++ b/README.md
@@ -10,7 +10,9 @@ and forward graphics API calls from one place to another:
# Build: Linux
Make sure the latest CMake is installed.
-Make sure you are using Clang as your `CC` and `CXX`. Then
+Make sure the opengl lib is installed. Otherwise, sudo apt-get install
+libglu1-mesa-dev freeglut3-dev mesa-common-dev
+Make sure you are using Clang as your `CC` and clang++ as your`CXX`. Then
mkdir build
cd build
diff --git a/base/MruCache.h b/base/MruCache.h
index 36a09ad3..0649e8e5 100644
--- a/base/MruCache.h
+++ b/base/MruCache.h
@@ -17,6 +17,7 @@
#ifndef ANDROID_BASE_MRUCACHE_
#define ANDROID_BASE_MRUCACHE_
+#include <algorithm>
#include <list>
#include <map>
diff --git a/stream-servers/glestranslator/EGL/ShaderCache.cpp b/stream-servers/glestranslator/EGL/ShaderCache.cpp
index 0a2b031f..ae70137c 100644
--- a/stream-servers/glestranslator/EGL/ShaderCache.cpp
+++ b/stream-servers/glestranslator/EGL/ShaderCache.cpp
@@ -15,6 +15,7 @@
#include "ShaderCache.h"
#include "base/MruCache.h"
+#include <string.h>
#include <cstdio>
#include <map>