You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Trying to build on ARM linux with rustc 1.7 nightly:
Compiling zgl v0.0.1(file:///tmp/zoc-master)
src/zgl/src/font_stash.rs:112:63:112:74 error: no method named `mul_s` found for type `cgmath::vector::Vector3<f32>` in the current scope
src/zgl/src/font_stash.rs:112VertexCoord{v:Vector3{x: i,y: yoff,z:0.0}.mul_s(size)},
^~~~~~~~~~~
src/zgl/src/font_stash.rs:113:67:113:78 error: no method named `mul_s` found for type `cgmath::vector::Vector3<f32>` in the current scope
src/zgl/src/font_stash.rs:113VertexCoord{v:Vector3{x: i,y: yoff - h,z:0.0}.mul_s(size)},
^~~~~~~~~~~
src/zgl/src/font_stash.rs:114:71:114:82 error: no method named `mul_s` found for type `cgmath::vector::Vector3<f32>` in the current scope
src/zgl/src/font_stash.rs:114VertexCoord{v:Vector3{x: w + i,y: yoff - h,z:0.0}.mul_s(size)},
^~~~~~~~~~~
src/zgl/src/font_stash.rs:115:67:115:78 error: no method named `mul_s` found for type `cgmath::vector::Vector3<f32>` in the current scope
src/zgl/src/font_stash.rs:115VertexCoord{v:Vector3{x: w + i,y: yoff,z:0.0}.mul_s(size)},
^~~~~~~~~~~
src/zgl/src/lib.rs:145:21:145:33 error: no associated item named `one` found for type `cgmath::matrix::Matrix4<_>` in the current scope
src/zgl/src/lib.rs:145 let mut t = Matrix4::one();
^~~~~~~~~~~~
src/zgl/src/lib.rs:146:9:146:13 error: the type of this value must be known in this context
src/zgl/src/lib.rs:146t[3][0] = v.x;
^~~~
src/zgl/src/lib.rs:149:11:149:20 error: no method named `mul_m` found for type `cgmath::matrix::Matrix4<f32>` in the current scope
src/zgl/src/lib.rs:149m.mul_m(&t)
^~~~~~~~~
src/zgl/src/lib.rs:153:21:153:33 error: no associated item named `one` found for type `cgmath::matrix::Matrix4<_>` in the current scope
src/zgl/src/lib.rs:153 let mut t = Matrix4::one();
^~~~~~~~~~~~
src/zgl/src/lib.rs:154:9:154:13 error: the type of this value must be known in this context
src/zgl/src/lib.rs:154t[0][0] = scale;
^~~~
src/zgl/src/lib.rs:157:11:157:20 error: no method named `mul_m` found for type `cgmath::matrix::Matrix4<f32>` in the current scope
src/zgl/src/lib.rs:157m.mul_m(&t)
^~~~~~~~~
src/zgl/src/lib.rs:162:11:162:20 error: no method named `mul_m` found for type `cgmath::matrix::Matrix4<f32>` in the current scope
src/zgl/src/lib.rs:162m.mul_m(&r)
^~~~~~~~~
src/zgl/src/lib.rs:167:11:167:20 error: no method named `mul_m` found for type `cgmath::matrix::Matrix4<f32>` in the current scope
src/zgl/src/lib.rs:167m.mul_m(&r)
^~~~~~~~~
error: aborting due to 12 previous errors
The text was updated successfully, but these errors were encountered:
I'd asked you about gles on linux a while ago (can't remember the issue) but now that I've tried to build zoc for OpenGL, it's obvious another Makefile target is going to be needed.
I managed to compile zoc using stable 1.5 after hackishly fixing glutin due to this ARM issue.
However under 1.7 that wouldn't work so easily due to wayland not compiling so it had to be updated to 0.5.8 first and then cargo update'd. That must have broken some dependencies.
I've already got used to doing this and so I completely forgot to mention the fact. Sorry for that.
Trying to build on ARM linux with
rustc 1.7
nightly:The text was updated successfully, but these errors were encountered: