Code Monkey home page Code Monkey logo

lite's People

Contributors

xtyxtyx avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

lite's Issues

Can't build Terminal Studio Lite on Windows 10

I tried to build Terminal Studio Lite and got this error message. I use Flutter 1.23 master channel on Windows 10 version 2004, build 20201.1000.

>  flutter run --release
Launching lib\main.dart on Windows in release mode...
~\flutter\lite\windows\runner\flutter_window.cpp(23,44): error C2664: 'void RegisterPlugins(flutter::PluginRegistry *)': 
    cannot convert argument 1 from 'flutter::FlutterViewController *' to 'flutter::PluginRegistry *'
    [~\flutter\lite\build\windows\runner\lite.vcxproj]

~\flutter\lite\windows\runner\run_loop.cpp(63,29):
    error C2039: 'ProcessMessages': is not a member of 'flutter::FlutterViewController' 
    [~\flutter\lite\build\windows\runner\lite.vcxproj]
Building Windows application...
Exception: Build process failed.

Add LICENSE file

Thank you for your great work. There isn't a license file. Could you add it?

Build error by using the latest Flutter SDK

I got the following errors when I try to build with the latest Flutter sdk. I think the version of ffi which is used in lite is old.

ERROR: ../.pub-cache/git/pty-798e2ac6a56c6760a6cb8f985794d554e7b50a9b/lib/src/unistd.dart:5471:7: Error: Struct '__fsid_t' is empty. Empty structs are undefined behavior.
ERROR: class __fsid_t extends ffi.Struct {}                             
ERROR:       ^                                                          
ERROR: ../.pub-cache/git/pty-798e2ac6a56c6760a6cb8f985794d554e7b50a9b/lib/src/unistd.dart:5473:7: Error: Struct 'dirent' is empty. Empty structs are undefined behavior.
ERROR: class dirent extends ffi.Struct {}                               
ERROR:       ^                                                          
ERROR: ../.pub-cache/git/pty-798e2ac6a56c6760a6cb8f985794d554e7b50a9b/lib/src/unistd.dart:5475:7: Error: Struct '__dirstream' is empty. Empty structs are undefined behavior.
ERROR: class __dirstream extends ffi.Struct {}                          
ERROR:       ^                                                          
ERROR: ../.pub-cache/git/pty-798e2ac6a56c6760a6cb8f985794d554e7b50a9b/lib/src/unistd.dart:5502:7: Error: Struct 'stat' is empty. Empty structs are undefined behavior.
ERROR: class stat extends ffi.Struct {}                                 
ERROR:       ^                                                          
ERROR: ../.pub-cache/git/pty-798e2ac6a56c6760a6cb8f985794d554e7b50a9b/lib/src/unistd.dart:5504:7: Error: Struct 'siginfo_t' is empty. Empty structs are undefined behavior.
ERROR: class siginfo_t extends ffi.Struct {}                            
ERROR:       ^                                                          
ERROR: ../.pub-cache/git/pty-798e2ac6a56c6760a6cb8f985794d554e7b50a9b/lib/src/unistd.dart:5506:7: Error: Struct 'sigevent' is empty. Empty structs are undefined behavior.
ERROR: class sigevent extends ffi.Struct {}                             
ERROR:       ^                                                          
ERROR: ../.pub-cache/git/pty-798e2ac6a56c6760a6cb8f985794d554e7b50a9b/lib/src/unistd.dart:5508:7: Error: Struct 'sigevent_t' is empty. Empty structs are undefined behavior.
ERROR: class sigevent_t extends ffi.Struct {}                           
ERROR:       ^                                                          
ERROR: ../.pub-cache/git/pty-798e2ac6a56c6760a6cb8f985794d554e7b50a9b/lib/src/unistd.dart:5510:7: Error: Struct 'sigaction' is empty. Empty structs are undefined behavior.
ERROR: class sigaction extends ffi.Struct {}                            
ERROR:       ^                                                          
ERROR: ../.pub-cache/git/pty-798e2ac6a56c6760a6cb8f985794d554e7b50a9b/lib/src/unistd.dart:5512:7: Error: Struct '_fpx_sw_bytes' is empty. Empty structs are undefined behavior.
ERROR: class _fpx_sw_bytes extends ffi.Struct {}                        
ERROR:       ^                                                          
ERROR: ../.pub-cache/git/pty-798e2ac6a56c6760a6cb8f985794d554e7b50a9b/lib/src/unistd.dart:5514:7: Error: Struct '_fpreg' is empty. Empty structs are undefined behavior.
ERROR: class _fpreg extends ffi.Struct {}                               
ERROR:       ^                                                          
ERROR: ../.pub-cache/git/pty-798e2ac6a56c6760a6cb8f985794d554e7b50a9b/lib/src/unistd.dart:5516:7: Error: Struct '_fpxreg' is empty. Empty structs are undefined behavior.
ERROR: class _fpxreg extends ffi.Struct {}                              
ERROR:       ^                                                          
ERROR: ../.pub-cache/git/pty-798e2ac6a56c6760a6cb8f985794d554e7b50a9b/lib/src/unistd.dart:5518:7: Error: Struct '_xmmreg' is empty. Empty structs are undefined behavior.
ERROR: class _xmmreg extends ffi.Struct {}                              
ERROR:       ^                                                          
ERROR: ../.pub-cache/git/pty-798e2ac6a56c6760a6cb8f985794d554e7b50a9b/lib/src/unistd.dart:5520:7: Error: Struct '_fpstate' is empty. Empty structs are undefined behavior.
ERROR: class _fpstate extends ffi.Struct {}                             
ERROR:       ^                                                          
ERROR: ../.pub-cache/git/pty-798e2ac6a56c6760a6cb8f985794d554e7b50a9b/lib/src/unistd.dart:5522:7: Error: Struct 'sigcontext' is empty. Empty structs are undefined behavior.
ERROR: class sigcontext extends ffi.Struct {}                           
ERROR:       ^                                                          
ERROR: ../.pub-cache/git/pty-798e2ac6a56c6760a6cb8f985794d554e7b50a9b/lib/src/unistd.dart:5524:7: Error: Struct '_xsave_hdr' is empty. Empty structs are undefined behavior.
ERROR: class _xsave_hdr extends ffi.Struct {}                           
ERROR:       ^                                                          
ERROR: ../.pub-cache/git/pty-798e2ac6a56c6760a6cb8f985794d554e7b50a9b/lib/src/unistd.dart:5526:7: Error: Struct '_ymmh_state' is empty. Empty structs are undefined behavior.
ERROR: class _ymmh_state extends ffi.Struct {}                          
ERROR:       ^                                                          
ERROR: ../.pub-cache/git/pty-798e2ac6a56c6760a6cb8f985794d554e7b50a9b/lib/src/unistd.dart:5528:7: Error: Struct '_xstate' is empty. Empty structs are undefined behavior.
ERROR: class _xstate extends ffi.Struct {}                              
ERROR:       ^                                                          
ERROR: ../.pub-cache/git/pty-798e2ac6a56c6760a6cb8f985794d554e7b50a9b/lib/src/unistd.dart:5540:7: Error: Struct '_libc_fpxreg' is empty. Empty structs are undefined behavior.
ERROR: class _libc_fpxreg extends ffi.Struct {}                         
ERROR:       ^                                                          
ERROR: ../.pub-cache/git/pty-798e2ac6a56c6760a6cb8f985794d554e7b50a9b/lib/src/unistd.dart:5542:7: Error: Struct '_libc_xmmreg' is empty. Empty structs are undefined behavior.
ERROR: class _libc_xmmreg extends ffi.Struct {}                         
ERROR:       ^                                                          
ERROR: ../.pub-cache/git/pty-798e2ac6a56c6760a6cb8f985794d554e7b50a9b/lib/src/unistd.dart:5544:7: Error: Struct '_libc_fpstate' is empty. Empty structs are undefined behavior.
ERROR: class _libc_fpstate extends ffi.Struct {}                        
ERROR:       ^                                                          
ERROR: ../.pub-cache/git/pty-798e2ac6a56c6760a6cb8f985794d554e7b50a9b/lib/src/unistd.dart:5546:7: Error: Struct 'mcontext_t' is empty. Empty structs are undefined behavior.
ERROR: class mcontext_t extends ffi.Struct {}                           
ERROR:       ^                                                          
ERROR: ../.pub-cache/git/pty-798e2ac6a56c6760a6cb8f985794d554e7b50a9b/lib/src/unistd.dart:5559:7: Error: Struct 'ucontext_t' is empty. Empty structs are undefined behavior.
ERROR: class ucontext_t extends ffi.Struct {}                           
ERROR:       ^                                                          
ERROR: ../.pub-cache/git/pty-798e2ac6a56c6760a6cb8f985794d554e7b50a9b/lib/src/unistd.dart:5568:7: Error: Struct '__pthread_rwlock_arch_t' is empty. Empty structs are undefined behavior.
ERROR: class __pthread_rwlock_arch_t extends ffi.Struct {}              
ERROR:       ^                                                          
ERROR: ../.pub-cache/git/pty-798e2ac6a56c6760a6cb8f985794d554e7b50a9b/lib/src/unistd.dart:5582:7: Error: Struct '__pthread_mutex_s' is empty. Empty structs are undefined behavior.
ERROR: class __pthread_mutex_s extends ffi.Struct {}                    
ERROR:       ^                                                          
ERROR: ../.pub-cache/git/pty-798e2ac6a56c6760a6cb8f985794d554e7b50a9b/lib/src/unistd.dart:5584:7: Error: Struct '__pthread_cond_s' is empty. Empty structs are undefined behavior.
ERROR: class __pthread_cond_s extends ffi.Struct {}                     
ERROR:       ^                                                          
ERROR: ../.pub-cache/git/pty-798e2ac6a56c6760a6cb8f985794d554e7b50a9b/lib/src/unistd.dart:5586:7: Error: Struct '_IO_FILE' is empty. Empty structs are undefined behavior.
ERROR: class _IO_FILE extends ffi.Struct {}                             
ERROR:       ^                                                          
ERROR: ../.pub-cache/git/pty-798e2ac6a56c6760a6cb8f985794d554e7b50a9b/lib/src/unistd.dart:5588:7: Error: Struct '__mbstate_t' is empty. Empty structs are undefined behavior.
ERROR: class __mbstate_t extends ffi.Struct {}                          
ERROR:       ^                                                          
ERROR: ../.pub-cache/git/pty-798e2ac6a56c6760a6cb8f985794d554e7b50a9b/lib/src/unistd.dart:5590:7: Error: Struct '_G_fpos_t' is empty. Empty structs are undefined behavior.
ERROR: class _G_fpos_t extends ffi.Struct {}                            
ERROR:       ^                                                          
ERROR: ../.pub-cache/git/pty-798e2ac6a56c6760a6cb8f985794d554e7b50a9b/lib/src/unistd.dart:5592:7: Error: Struct '_G_fpos64_t' is empty. Empty structs are undefined behavior.
ERROR: class _G_fpos64_t extends ffi.Struct {}                          
ERROR:       ^                                                          
ERROR: ../.pub-cache/git/pty-798e2ac6a56c6760a6cb8f985794d554e7b50a9b/lib/src/unistd.dart:5594:7: Error: Struct '_IO_jump_t' is empty. Empty structs are undefined behavior.
ERROR: class _IO_jump_t extends ffi.Struct {}                           
ERROR:       ^                                                          
ERROR: ../.pub-cache/git/pty-798e2ac6a56c6760a6cb8f985794d554e7b50a9b/lib/src/unistd.dart:5612:7: Error: Struct '_IO_FILE_plus' is empty. Empty structs are undefined behavior.
ERROR: class _IO_FILE_plus extends ffi.Struct {}                        
ERROR:       ^                                                          
ERROR: ../.pub-cache/git/pty-798e2ac6a56c6760a6cb8f985794d554e7b50a9b/lib/src/unistd.dart:5652:7: Error: Struct 'fd_set' is empty. Empty structs are undefined behavior.
ERROR: class fd_set extends ffi.Struct {}                               
ERROR:       ^                                                          
ERROR: ../.pub-cache/git/pty-798e2ac6a56c6760a6cb8f985794d554e7b50a9b/lib/src/unistd.dart:5673:7: Error: Struct 'drand48_data' is empty. Empty structs are undefined behavior.
ERROR: class drand48_data extends ffi.Struct {}                         
ERROR:       ^                                                          
ERROR: ../.pub-cache/git/pty-798e2ac6a56c6760a6cb8f985794d554e7b50a9b/lib/src/unistd.dart:5675:7: Error: Struct '__locale_data' is empty. Empty structs are undefined behavior.
ERROR: class __locale_data extends ffi.Struct {}                        
ERROR:       ^                                                          
ERROR: ../.pub-cache/git/pty-798e2ac6a56c6760a6cb8f985794d554e7b50a9b/lib/src/unistd.dart:5677:7: Error: Struct '__locale_struct' is empty. Empty structs are undefined behavior.
ERROR: class __locale_struct extends ffi.Struct {}                      
ERROR:       ^                                                          
ERROR: ../.pub-cache/git/pty-798e2ac6a56c6760a6cb8f985794d554e7b50a9b/lib/src/unistd.dart:5693:7: Error: Struct 'termio' is empty. Empty structs are undefined behavior.
ERROR: class termio extends ffi.Struct {}                               
ERROR:       ^                                                          
ERROR: ../.pub-cache/git/pty-798e2ac6a56c6760a6cb8f985794d554e7b50a9b/lib/src/unistd.dart:5695:7: Error: Struct 'rusage' is empty. Empty structs are undefined behavior.
ERROR: class rusage extends ffi.Struct {}                               
ERROR:       ^                                                          
ERROR: ../.pub-cache/hosted/pub.dartlang.org/ffi-0.1.3/lib/src/utf8.dart:23:7: Error: Struct 'Utf8' is empty. Empty structs are undefined behavior.
ERROR: class Utf8 extends Struct {                                      
ERROR:       ^                                                          
ERROR: ../.pub-cache/hosted/pub.dartlang.org/ffi-0.1.3/lib/src/utf16.dart:16:7: Error: Struct 'Utf16' is empty. Empty structs are undefined behavior.
ERROR: class Utf16 extends Struct {                                     
ERROR:       ^                                                          
ERROR: ../.pub-cache/hosted/pub.dartlang.org/win32-1.7.3/lib/src/structs.dart:1083:7: Error: Struct 'ENUMLOGFONTEX' is empty. Empty structs are undefined behavior.
ERROR: class ENUMLOGFONTEX extends Struct {                             
ERROR:       ^                                                          
ERROR: ../.pub-cache/hosted/pub.dartlang.org/win32-1.7.3/lib/src/structs.dart:2807:7: Error: Struct 'BLUETOOTH_PIN_INFO' is empty. Empty structs are undefined behavior.
ERROR: class BLUETOOTH_PIN_INFO extends Struct {                        
ERROR:       ^                                                          
ERROR: ../.pub-cache/hosted/pub.dartlang.org/win32-1.7.3/lib/src/structs.dart:2932:7: Error: Struct 'EXCEPINFO' is empty. Empty structs are undefined behavior.
ERROR: class EXCEPINFO extends Struct {}                                
ERROR:       ^                                                          
ERROR: ../.pub-cache/hosted/pub.dartlang.org/win32-1.7.3/lib/src/structs.dart:2938:7: Error: Struct 'PROPERTYKEY' is empty. Empty structs are undefined behavior.
ERROR: class PROPERTYKEY extends Struct {}                              
ERROR:       ^                                                          
ERROR: ../.pub-cache/hosted/pub.dartlang.org/win32-1.7.3/lib/src/structs.dart:2945:7: Error: Struct 'PROPVARIANT' is empty. Empty structs are undefined behavior.
ERROR: class PROPVARIANT extends Struct {}                              
ERROR:       ^                                                          
ERROR: ../.pub-cache/hosted/pub.dartlang.org/win32-1.7.3/lib/src/structs.dart:2950:7: Error: Struct 'SAFEARRAY' is empty. Empty structs are undefined behavior.
ERROR: class SAFEARRAY extends Struct {}                                
ERROR:       ^                                                          
ERROR: ../.pub-cache/hosted/pub.dartlang.org/win32-1.7.3/lib/src/structs.dart:2957:7: Error: Struct 'CLSID' is empty. Empty structs are undefined behavior.
ERROR: class CLSID extends Struct {}                                    
ERROR:       ^                                                          
ERROR: ../.pub-cache/hosted/pub.dartlang.org/win32-1.7.3/lib/src/structs.dart:2964:7: Error: Struct 'STATSTG' is empty. Empty structs are undefined behavior.
ERROR: class STATSTG extends Struct {}                                  
ERROR:       ^                                                          
ERROR: ../.pub-cache/hosted/pub.dartlang.org/win32-1.7.3/lib/src/structs.dart:2971:7: Error: Struct 'NLM_SIMULATED_PROFILE_INFO' is empty. Empty structs are undefined behavior.
ERROR: class NLM_SIMULATED_PROFILE_INFO extends Struct {}               
ERROR:       ^                                                          
ERROR: ../.pub-cache/hosted/pub.dartlang.org/ffi-0.1.3/lib/src/allocation.dart:47:33: Error: Expected type 'T' to be a valid and instantiated subtype of 'NativeType'.
ERROR:   final int totalSize = count * sizeOf<T>();                     
ERROR:                                 ^                                
Building Linux application...                                           
Build process failed

can't build in flutter 3.0.

Launching lib\main.dart on Windows in debug mode...
Building Windows application...
CUSTOMBUILD : error : Cannot run with sound null safety, because the following dependencies [D:\flutter_prj\lite\build\windows\flutter\flutter_assemble.vcxproj]
C:\Program Files (x86)\Microsoft Visual Studio\2019\Professional\MSBuild\Microsoft\VC\v160\Microsoft.CppCommon.targets(241,5): error MSB8066: ��D:\flutter_prj\lite\build\windows\CMakeFiles\4d91a3ed8709c7d531e931a023fe3b1a\flutter_windows.dll.rule;D:\flutter_prj\lite\build\windows\CMakeFiles\eaeb6bfad0e0fb05e106ef00705c0a0a\flutter_assemble.rule�����Զ����������˳�������Ϊ 1�� [D:\flutter_prj\lite\build\windows\flutter\flutter_assemble.vcxproj]
Exception: Build process failed.

cant run it getting No supported devices connected.

i have flutter 1.22 but getting below

image

C:\Users\kotai\AndroidStudioProjects\lite-master>flutter doctor
Doctor summary (to see all details, run flutter doctor -v):
[√] Flutter (Channel stable, 1.22.0, on Microsoft Windows [Version 10.0.18363.1082], locale en-IL)
[!] Android toolchain - develop for Android devices (Android SDK version 29.0.3)
X Android license status unknown.
Run flutter doctor --android-licenses to accept the SDK licenses.
See https://flutter.dev/docs/get-started/install/windows#android-setup for more details.
[√] Android Studio (version 4.0)
[!] IntelliJ IDEA Ultimate Edition (version 2019.3)
X Flutter plugin not installed; this adds Flutter specific functionality.
X Dart plugin not installed; this adds Dart specific functionality.
[!] Connected device
! No devices available

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.