lullaby icon indicating copy to clipboard operation
lullaby copied to clipboard

VectorPacked has no member named 'data'

Open marulka opened this issue 5 years ago • 0 comments

https://github.com/google/lullaby/blob/0b6675c9fc534c606236f40486987540ad098007/lullaby/systems/text/BUILD#L35

`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; ^~~~ `

marulka avatar Sep 21 '19 22:09 marulka