Giter Site home page Giter Site logo

Comments (7)

GuillaumeGomez avatar GuillaumeGomez commented on May 30, 2024 1

I opened the PR to fix it.

from rust-gsl.

GuillaumeGomez avatar GuillaumeGomez commented on May 30, 2024

I think this is more a problem of version compatibility than a platform issue. On my mac it compiled last time I checked but I guess it needs to be tested again. If I encounter the same issue (and I hope to do so!), I'll push a fix as soon as I can.

from rust-gsl.

go717franciswang avatar go717franciswang commented on May 30, 2024

Hi Guillaume,
Thanks for your help. I imported the crate from github, and got the same error. I also installed GSL from source with the same outcome. I've given up on Mac now, and will use a Linux VM instead.

Thanks,
Francis

from rust-gsl.

GuillaumeGomez avatar GuillaumeGomez commented on May 30, 2024

Did you add the feature as indicated in the README?

from rust-gsl.

go717franciswang avatar go717franciswang commented on May 30, 2024

Just tried it, and got the same error. Not sure if I enabled the feature correctly though. I added the following lines to Cargo.toml

[features]
v2 = []

and ran cargo build --features v2

from rust-gsl.

GuillaumeGomez avatar GuillaumeGomez commented on May 30, 2024

The good thing is:

[features]
v2 = ["GSL/v2"]

Then you can build with cargo build --features v2.

from rust-gsl.

go717franciswang avatar go717franciswang commented on May 30, 2024

It worked. Thank you very much!

from rust-gsl.

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.