Skip to content
This repository has been archived by the owner on Dec 29, 2022. It is now read-only.

VectorPacked has no member named 'data' #23

Open
marulka opened this issue Sep 21, 2019 · 0 comments
Open

VectorPacked has no member named 'data' #23

marulka opened this issue Sep 21, 2019 · 0 comments

Comments

@marulka
Copy link

marulka commented Sep 21, 2019

position_.data[0] = x;

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

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant