Closed Roms1383 closed 2 years ago
p.s: in the meantime I'm gonna go through the videos once more to see what I've missed, but I'd gladly write down some installation documentation if it can help other people to get up and running fast, since going through the videos again and again is a bit time-consuming.
given my llvm location:
I've tried the llvm-path
configuration option like so:
// ./agent/plugin/pubspec.yaml
# ...
dependencies:
ffi: ^1.0.0
ffigen:
version: 4.0.0-dev.2
llvm-path:
- '/opt/homebrew/opt/llvm'
# or
# - '/opt/homebrew/opt/llvm/lib'
# - '/opt/homebrew/opt/llvm/bin'
# ...
but then I get:
Thanks for reporting Looks like once #42 is merged this should be fixed. For now you can try to switch to that version. cc @mz2
I just merged it, so if you pull latest master it should work. Please LMK if you still have problems and we'll look into fixing it.
Oh actually I pulled your latest changes and got it running without any crash! 👌
Also, I locally updated ffigen like so: ffigen: ^4.1.0
but I checked and it does work with 4.0.0-dev.2
as well.
Thanks!
Awesome, I wasn't aware ffigen: ^4.1.0
was released. We should switch to that at some point.
But we'd have to update this everywhere, including .github/workflow
, the examples and tests.
LMK if you wanna do a PR with that, otherwise I'll do take care of it at some point.
Done in #49 👌
Hi there ! I'm trying to use
rid
on my personal project and ran into an issue while building:My local environment is:
I'm running
rid
inside a cargo workspace, which I setup as specified :where
agent
is the name of the crate.I already have all the required stuff like Rust, Flutter, Android SDK, etc.
I don't really know where I should set this
llvm-path
, so I've already tried:followed by:
as suggested online, without success.
Some help would be appreciated :)