[Mesa-dev] [PATCH] android: fix glcpp building error
Mauro Rossi
issor.oruam at gmail.com
Wed Apr 20 01:45:00 UTC 2016
LOCAL_C_INCLUDES needs an additional path to fix the following build error:
external/mesa/src/compiler/glsl/glcpp/glcpp-lex.l:30:25: fatal error: glcpp-parse.h: No such file or directory
#include "glcpp-parse.h"
^
compilation terminated.
build/core/binary.mk:821: recipe for target 'out/target/product/x86_64/obj/STATIC_LIBRARIES/libmesa_glsl_intermediates/glsl/glcpp/glcpp-lex.o' failed
make: *** [out/target/product/x86_64/obj/STATIC_LIBRARIES/libmesa_glsl_intermediates/glsl/glcpp/glcpp-lex.o] Error 1
make: *** Waiting for unfinished jobs....
---
src/compiler/Android.glsl.gen.mk | 1 +
1 file changed, 1 insertion(+)
diff --git a/src/compiler/Android.glsl.gen.mk b/src/compiler/Android.glsl.gen.mk
index b0df8a1..b2ea12c 100644
--- a/src/compiler/Android.glsl.gen.mk
+++ b/src/compiler/Android.glsl.gen.mk
@@ -33,6 +33,7 @@ LOCAL_SRC_FILES := $(LOCAL_SRC_FILES)
LOCAL_C_INCLUDES += \
$(intermediates)/glsl \
+ $(intermediates)/glsl/glcpp \
$(LOCAL_PATH)/glsl \
$(LOCAL_PATH)/glsl/glcpp \
--
2.7.4
More information about the mesa-dev
mailing list