zoukankan      html  css  js  c++  java
  • android 编译错误001_cm9 for onda elite vi10

    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
    出现以上错误的解决办法:

    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

    当每天的朝阳洒在我们的脸上,我们要拿什么 来证明自己在这个城市的存在??
  • 相关阅读:
    c++智能指针-shared_ptr
    python全栈学习笔记(二)网络基础之子网划分
    python全栈学习笔记(一)网络基础之网络协议篇
    Fiddler抓包4-工具介绍(request和response)
    python接口自动化5-Json数据处理
    python接口自动化4-绕过验证码登录(cookie) (转载)
    Http status(二)
    python接口自动化1-发送get请求
    Fiddler抓包11-HTTPS证书Actions无法导出问题
    使用idea配置tomcat将web项目跑起来
  • 原文地址:https://www.cnblogs.com/crazymod/p/2503935.html
Copyright © 2011-2022 走看看