GithubHelp home page GithubHelp logo

Build failure about xi-win HOT 6 CLOSED

xi-editor avatar xi-editor commented on June 23, 2024
Build failure

from xi-win.

Comments (6)

Nokel81 avatar Nokel81 commented on June 23, 2024 2

Could this be added to the readme?

from xi-win.

raphlinus avatar raphlinus commented on June 23, 2024

Right now it needs nightly, because it's using features not in stable. I'd like to fix that one way or other (have the features land, or tweak direct2d not to need them), but for now just do rustup run nightly cargo build or the like.

from xi-win.

pottereric avatar pottereric commented on June 23, 2024

Building with the nightly build worked. Thanks for the help.

from xi-win.

sqweek avatar sqweek commented on June 23, 2024

Also it doesn't build with mingw64 (nightly-2017-10-18-x86_64-pc-windows-gnu). direct2d fails to link with ld: cannot find -lshcore (is there a separate repo for direct2d?).

from xi-win.

sqweek avatar sqweek commented on June 23, 2024

OK I misread that; the linking failure was with xi-win itself not direct2d. I commented out the build::link("shcore", true) line in xi-win/build.rs and now it builds and runs.

(edit: furthermore load_optional_functions still finds shcore.dll, so build::link is apparently superfluous in this configuration)

from xi-win.

raphlinus avatar raphlinus commented on June 23, 2024

Closing as it now builds on stable, and I think the optional functions are now pretty clean.

from xi-win.

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.