android 编译错误001_cm9 for onda elite vi10
2012-05-16 14:15
363 查看
external/mesa4d/src/glsl/linker.cpp:1394:50: error: ‘varyings’ was not declared
in this scope
external/mesa3d/src/glsl/linker.cpp:1394:58: error: ‘offsetof’ was not declared
in this scope
external/mesa3d/src/glsl/linker.cpp:1395:48: error: expected
primary-expression before ‘,’ token
external/mesa3d/src/glsl/linker.cpp:1412:47: error: expected
primary-expression before ‘,’ token
external/mesa3d/src/glsl/linker.cpp:1412:48: error: ‘position’ was not declared
in this scope
external/mesa3d/src/glsl/linker.cpp:1414:47: error: expected
primary-expression before ‘,’ token
external/mesa3d/src/glsl/linker.cpp:1414:48: error: ‘pointSize’ was not declared
in this scope
external/mesa3d/src/glsl/linker.cpp:1424:47: error: expected
primary-expression before ‘,’ token
external/mesa3d/src/glsl/linker.cpp:1424:48: error: ‘position’ was not declared
in this scope
external/mesa3d/src/glsl/linker.cpp:1428:47: error: expected
primary-expression before ‘,’ token
external/mesa3d/src/glsl/linker.cpp:1428:48: error: ‘frontFacingPointCoord’ was not
declared in this scope
external/mesa3d/src/glsl/linker.cpp:1431:47: error: expected
primary-expression before ‘,’ token
external/mesa3d/src/glsl/linker.cpp:1431:48: error: ‘frontFacingPointCoord’ was not
declared in this scope
external/mesa3d/src/glsl/linker.cpp: In function ‘void link_shaders(const
gl_context*, gl_shader_program*)’:
external/mesa3d/src/glsl/linker.cpp:1734:49: error: expected
primary-expression before ‘,’ token
external/mesa3d/src/glsl/linker.cpp:1734:50: error: ‘fragColor’ was not declared
in this scope
external/mesa3d/src/glsl/linker.cpp:1734:59: error: ‘offsetof’ was not declared
in this scope
make: ***
[out/host/linux-x86/obj/STATIC_LIBRARIES/libMesa_intermediates/src/glsl/linker.o]
Error 1
出现以上错误的解决办法:
in this scope
external/mesa3d/src/glsl/linker.cpp:1394:58: error: ‘offsetof’ was not declared
in this scope
external/mesa3d/src/glsl/linker.cpp:1395:48: error: expected
primary-expression before ‘,’ token
external/mesa3d/src/glsl/linker.cpp:1412:47: error: expected
primary-expression before ‘,’ token
external/mesa3d/src/glsl/linker.cpp:1412:48: error: ‘position’ was not declared
in this scope
external/mesa3d/src/glsl/linker.cpp:1414:47: error: expected
primary-expression before ‘,’ token
external/mesa3d/src/glsl/linker.cpp:1414:48: error: ‘pointSize’ was not declared
in this scope
external/mesa3d/src/glsl/linker.cpp:1424:47: error: expected
primary-expression before ‘,’ token
external/mesa3d/src/glsl/linker.cpp:1424:48: error: ‘position’ was not declared
in this scope
external/mesa3d/src/glsl/linker.cpp:1428:47: error: expected
primary-expression before ‘,’ token
external/mesa3d/src/glsl/linker.cpp:1428:48: error: ‘frontFacingPointCoord’ was not
declared in this scope
external/mesa3d/src/glsl/linker.cpp:1431:47: error: expected
primary-expression before ‘,’ token
external/mesa3d/src/glsl/linker.cpp:1431:48: error: ‘frontFacingPointCoord’ was not
declared in this scope
external/mesa3d/src/glsl/linker.cpp: In function ‘void link_shaders(const
gl_context*, gl_shader_program*)’:
external/mesa3d/src/glsl/linker.cpp:1734:49: error: expected
primary-expression before ‘,’ token
external/mesa3d/src/glsl/linker.cpp:1734:50: error: ‘fragColor’ was not declared
in this scope
external/mesa3d/src/glsl/linker.cpp:1734:59: error: ‘offsetof’ was not declared
in this scope
make: ***
[out/host/linux-x86/obj/STATIC_LIBRARIES/libMesa_intermediates/src/glsl/linker.o]
Error 1
出现以上错误的解决办法:
Adding a "#include <stddef.h>" to linker.cpp fixes the issue for me. 来自google code :https://code.google.com/p/android/issues/detail?id=23206
相关文章推荐
- Android 编译错误::app:transformClassesWithPreJackPackagedLibrariesForDebug
- Android编译错误, Ignoring InnerClasses attribute for an anonymous inner class
- [android]编译时出现/usr/bin/ld: skipping incompatible /usr/lib/gcc/x86_64-linux-gnu/4.4.5/../../../libz.so when searching for -lz错误信息
- [Android]编译错误:Could not get unknown property 'release' for SigningConfig container
- 编译Android系统AIDL模块出现couldn't find import for class错误的解决办法
- [Android]编译错误:Could not get unknown property 'release' for SigningConfig container
- android studio some file crunching failed,se logs for datails编译错误的解决办法
- [android]编译时出现/usr/bin/ld: skipping incompatible /usr/lib/gcc/x86_64-linux-gnu/4.4.5/../../../libz.so when searching for -lz错误信息
- Android aidl 编译错误:couldn't find import for class
- AndroidStudio编译错误,Execution failed for task ':app:packageDebug'.
- android cmake编译faad库,出现 invalid operand for inline asm constraint 'M'错误
- [Android]编译错误:Could not get unknown property 'release' for SigningConfig container
- JNI_OnLoad编译错误:request for member 'GetEnv' in something not a structure or union
- 加快QT工程编译速度(还可给Qt for Android设置)
- Android 源码编译make的错误处理
- Android 源码编译make的错误处理
- Android使用ndk-r13出现编译错误。
- Android编译错误处理 make ......./noproguard.classes-with-local.dex] 已杀死