Closed SULAPIS closed 1 year ago
Hi! Thanks for opening your first issue here! :smile:
[SEVERE] : C:\Users\P\AppData\Local\Temp.tmpQkjiDZ.h:1:10: fatal error: 'stdbool.h' file not found [Lexical or Preprocessor Issue]
402
Thanks! I finally generated the correct code and run it successfully! I run
flutter_rust_bridge_codegen --rust-input native/src/api.rs --dart-output lib/bridge_generated.dart --c-output ios/Runner/bridge_generated.h --c-output macos/Runner/bridge_generated.h --dart-decl-output lib/bridge_definitions.dart --wasm
in Developer Command Prompt for VS 2022 and it work, maybe I missed some environment variable settings. Feel free to close this issue, thanks for your support !
You are welcome!
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.
Describe the bug
Hi! I downloaded the template according to the tutorial [Generating code] , but the code generated after running just is different from the original and get two errors.
Codegen logs with
RUST_LOG=debug
environment variableTo Reproduce
git clone https://github.com/Desdaemon/flutter_rust_bridge_template.git cd .\flutter_rust_bridge_template\ flutter pub add -d build_runner flutter pub add -d freezed flutter pub add freezed_annotation add flutter pub run build_runner build to justfile just
Expected behavior
Same as the original generated code of flutter_rust_bridge_template
Generated binding code
No response
OS
Windows 11
Version of
flutter_rust_bridge_codegen
1.49.1
Flutter info
Version of
clang++
No response
Version of
ffigen
7.2.0
Additional context