TerminalStudio / flutter_pty

Pty for Flutter. Provides the ability to create processes with pseudo terminal file descriptors.
https://pub.dev/packages/flutter_pty
MIT License
22 stars 20 forks source link

Errors on Linux #1

Closed larsb24 closed 2 years ago

larsb24 commented 2 years ago

First, there seems to be a typo in CMakeLists.txt which calls for "flutter_pty.cc" but the file is called "flutter_pty.c"

After fixing that, building on Linux fails with a missing library:

> flutter run -d linux
Launching lib/main.dart on Linux in debug mode...
/home/user/Development/flutter_pty/example/linux/flutter/ephemeral/.plugin_symlinks/flutter_pty/src/flutter_pty.h:11:10: fatal error: 'util.h' file not found
Building Linux application...                                           
Exception: Build process failed
xtyxtyx commented 2 years ago

Hello, thanks for reporting this issue! This has been fixed and published to pub.dev. You can try upgrading to 0.0.7 to see if it works.

larsb24 commented 2 years ago

Yup, seems to be fixed. Thanks a lot!