Giter VIP home page Giter VIP logo

Comments (5)

Daniel-Boll avatar Daniel-Boll commented on June 20, 2024 1

Hello, @Larsouille25. The issue you encountered is primarily related to the inability of llvm_sys to dynamically link with LLVM 15. It appears that Arch Linux only provides dynamically linked LLVM packages.

To address this problem and make your project work, you can make use of the following configuration:

inkwell = { version = "0.2", features = ["llvm15-0"] }
llvm-sys-150 = { package = "llvm-sys", version = "150.1.0", features = ["prefer-dynamic"] }

These configurations should help you resolve the issue and enable a new project to work smoothly with LLVM 15 on Arch Linux. As of the example execution I don't know how one would change the feature to be added automatically in the main cargo.toml from inkwell.

Best Regards,
Daniel Boll. 🎴

from inkwell.

Larsouille25 avatar Larsouille25 commented on June 20, 2024

Hello, @Daniel-Boll, thanks for the solution but, when in my crate I have inkwell = { version = "0.2.0", features = ["llvm15-0"] } in the Cargo.toml file, that's just working fine. But when I try to compile inkwell (on the same PC), that's not working

from inkwell.

TheDan64 avatar TheDan64 commented on June 20, 2024

@Larsouille25 Did you specify --features llvm15-0 via the cli?

from inkwell.

Larsouille25 avatar Larsouille25 commented on June 20, 2024

The error is solved (forgot to close), it's specific to arch linux and LLVM 15.0.7, to solve the issue you need to download headers of llvm and create an env var that points to the llvm headers

from inkwell.

Larsouille25 avatar Larsouille25 commented on June 20, 2024

See issue #405

from inkwell.

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.