diff options
author | Huan Song <huans@google.com> | 2021-05-03 17:40:24 +0000 |
---|---|---|
committer | Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com> | 2021-05-03 17:40:24 +0000 |
commit | 894b48220d230fb0dcd53d2ca18a50640b3a301c (patch) | |
tree | a9940acb78c9ff6e6ad3ff251cca2eb98e3ec6ea | |
parent | c77f5176503df0f182b6d2db2e8e6f087e88a171 (diff) | |
parent | 07af0f20b2cfe75d137045dacd3494647bdb93ef (diff) | |
download | vulkan-cereal-894b48220d230fb0dcd53d2ca18a50640b3a301c.tar.gz |
Update build instruction, fix build on Linux am: 07af0f20b2
Original change: https://android-review.googlesource.com/c/device/generic/vulkan-cereal/+/1692658
Change-Id: Ie77067067eb779ac54b2a4e9fec46c939d7cce32
-rw-r--r-- | README.md | 4 | ||||
-rw-r--r-- | base/MruCache.h | 1 | ||||
-rw-r--r-- | stream-servers/glestranslator/EGL/ShaderCache.cpp | 1 |
3 files changed, 5 insertions, 1 deletions
@@ -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> |