Skip to content

VectorPacked has no member named 'data' #14

@marulka

Description

@marulka

`ERROR: /home/user/Documents/lullaby-master/lullaby/systems/text/BUILD:35:1: C++ compilation of rule '//lullaby/systems/text:flatui' failed (Exit 1) gcc failed: error executing command /usr/bin/gcc -U_FORTIFY_SOURCE -fstack-protector -Wall -Wunused-but-set-parameter -Wno-free-nonheap-object -fno-omit-frame-pointer '-std=c++0x' -MD -MF ... (remaining 197 argument(s) skipped)

Use --sandbox_debug to see verbose messages from the sandbox
In file included from external/flatui/include/flatui/font_manager.h:23:0,
from ./lullaby/systems/text/flatui/font.h:23,
from lullaby/systems/text/flatui/font.cc:17:
external/flatui/include/flatui/font_buffer.h: In constructor 'flatui::FontVertex::FontVertex(float, float, float, float, float)':
external/flatui/include/flatui/font_buffer.h:598:15: error: 'mathfu::vec3_packed {aka struct mathfu::VectorPacked<float, 3>}' has no member named 'data'
position_.data[0] = x;
^~~~
external/flatui/include/flatui/font_buffer.h:599:15: error: 'mathfu::vec3_packed {aka struct mathfu::VectorPacked<float, 3>}' has no member named 'data'
position_.data[1] = y;
^~~~
external/flatui/include/flatui/font_buffer.h:600:15: error: 'mathfu::vec3_packed {aka struct mathfu::VectorPacked<float, 3>}' has no member named 'data'
position_.data[2] = z;
^~~~
external/flatui/include/flatui/font_buffer.h:601:9: error: 'mathfu::vec2_packed {aka struct mathfu::VectorPacked<float, 2>}' has no member named 'data'
uv_.data[0] = u;
^~~~
external/flatui/include/flatui/font_buffer.h:602:9: error: 'mathfu::vec2_packed {aka struct mathfu::VectorPacked<float, 2>}' has no member named 'data'
uv_.data[1] = v;
^~~~
`

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions