Closed thomas725 closed 1 year ago
Ah sorry I've been missing the export CPATH="$(clang -v 2>&1 | grep "Selected GCC installation: " | cut -d' ' -f4-)/include"
in the terminal session I've used, with that the example included here works fine again. My problem with the template seems to have a different cause: https://github.com/Desdaemon/flutter_rust_bridge_template/issues/16
This thread has been automatically locked since there has not been any recent activity after it was closed. If you are still experiencing a similar issue, please open a new issue.
I've got a clone of this repository (https://github.com/fzyzcjy/flutter_rust_bridge) checked out & up to date @129cafa261c1377ed36685e41ccb7e9330e7614a.
When I run
flutter run -d linux
in thefrb_example/with_flutter/
subfolder, it works fine.But after I run the code generator (in the repositories root folder) it stops working.
Output of code generator:
Error I get with the locally generated code:
More verbose error printed when trying to run with CLI:
Can you help me? Are those warnings about missing modules web & io at fault? I've got very similar problems with https://github.com/Desdaemon/flutter_rust_bridge_template