Comments (6)
Getting these errors:
<quote expansion>:10:271: 10:344 error: unresolved name `__gfx_extern_crate_hack::gfx::attrib::FloatSubType::Default`.
<quote expansion>:10 name_504,ctxt_0::name_71,ctxt_0::name_510,ctxt_0::name_511,ctxt_0::name_512,ctxt_0(name_504,ctxt_0::name_71,ctxt_0::name_510,ctxt_0::name_508,ctxt_0,
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
note: in expansion of #[vertex_format]
src/g2d.rs:113:1: 113:17 note: expansion site
<quote expansion>:10:271: 10:344 error: unresolved name `__gfx_extern_crate_hack::gfx::attrib::FloatSubType::Default`.
<quote expansion>:10 name_542,ctxt_0::name_71,ctxt_0::name_510,ctxt_0::name_511,ctxt_0::name_512,ctxt_0(name_542,ctxt_0::name_71,ctxt_0::name_510,ctxt_0::name_508,ctxt_0,
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
note: in expansion of #[vertex_format]
src/g2d.rs:116:1: 116:17 note: expansion site
<quote expansion>:10:271: 10:344 error: unresolved name `__gfx_extern_crate_hack::gfx::attrib::FloatSubType::Default`.
<quote expansion>:10 name_551,ctxt_0::name_71,ctxt_0::name_510,ctxt_0::name_511,ctxt_0::name_512,ctxt_0(name_551,ctxt_0::name_71,ctxt_0::name_510,ctxt_0::name_508,ctxt_0,
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
note: in expansion of #[vertex_format]
src/g2d.rs:119:1: 119:17 note: expansion site
error: aborting due to 3 previous errors
Could not compile `gfx_graphics`.
from gfx_graphics.
Perhaps __gfx_extern_crate_hack
causes some problems?
from gfx_graphics.
from gfx_graphics.
Perhaps the enum namespace change does not work properly with extern crate "gfx" as _gfx
such as here https://github.com/gfx-rs/gfx-rs/blob/8a935c84b67f4efed90eb8e4e82c354eed091a37/src/gfx_macros/lib.rs#L177
from gfx_graphics.
It might be I'm on and "old" rustc. Got lots of other errors now.
from gfx_graphics.
This should be fixed now.
from gfx_graphics.
Related Issues (20)
- Correct gamma HOT 4
- Improve performance for colored graphics HOT 3
- Use alpha bit method from Gfx in `has_texture_alpha`
- Convert color to sRGB when drawing glyph HOT 3
- Old graphics cards does not support sRGB conversion HOT 1
- Window content not resizing on Windows HOT 6
- Make `Gfx2d::draw` take closure with generic return type
- Use the new shader output names convention
- Make `GfxGraphics::encoder` public HOT 1
- Use of undeclared type or module `gfx`
- warning: `$crate` may not be imported HOT 3
- Compile error: error[E0432]: unresolved import `` HOT 2
- Breakage in Rust 1.15 Beta HOT 4
- GlyphCache constructor should take in-memory font
- glyph::Error is not std:error::Error HOT 5
- Clipped image not showing up in "draw_state" example
- Can't treat gfx_graphics as Graphics HOT 5
- Cannot compile due to stb_truetype 0.2.5 HOT 5
- `Stencil::Increment` does not seem to work.
- Scissor width and height are not proportional to scale_factor HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from gfx_graphics.