Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error during web build #80

Open
pluzmedia opened this issue Oct 17, 2023 · 1 comment
Open

Error during web build #80

pluzmedia opened this issue Oct 17, 2023 · 1 comment

Comments

@pluzmedia
Copy link

Hi,
When I try to build for web I a getting the following error.

/E:/pub_cache/hosted/pub.dev/libserialport-0.3.0+1/lib/src/bindings.dart:990:19: Error: 'Pointer' isn't a type.
              ffi.Pointer<sp_port_config>, ffi.Int32)>>('sp_set_config_rts');
                  ^^^^^^^
/E:/pub_cache/hosted/pub.dev/libserialport-0.3.0+1/lib/src/bindings.dart:990:48: Error: 'Int32' isn't a type.
              ffi.Pointer<sp_port_config>, ffi.Int32)>>('sp_set_config_rts');

the above error is a sample but I am getting too many errors when I try to build. Any help would be a great relief. Thanks

@higaski
Copy link

higaski commented Nov 30, 2023

FFI doesn't support web.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants