Code Monkey home page Code Monkey logo

Comments (6)

bvssvni avatar bvssvni commented on July 28, 2024

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.

bvssvni avatar bvssvni commented on July 28, 2024

Perhaps __gfx_extern_crate_hack causes some problems?

from gfx_graphics.

bvssvni avatar bvssvni commented on July 28, 2024

https://github.com/gfx-rs/gfx-rs/blob/8a935c84b67f4efed90eb8e4e82c354eed091a37/src/gfx_macros/vertex_format.rs#L95

from gfx_graphics.

bvssvni avatar bvssvni commented on July 28, 2024

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.

bvssvni avatar bvssvni commented on July 28, 2024

It might be I'm on and "old" rustc. Got lots of other errors now.

from gfx_graphics.

bvssvni avatar bvssvni commented on July 28, 2024

This should be fixed now.

from gfx_graphics.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.