Comments (2)
same error on Windows 11 Arm64 :
`
flutter run -d windows
Running "flutter pub get" in printconf... 4.9s
Launching lib\main.dart on Windows in debug mode...
flutter_libserialport_plugin.obj : error LNK2019: unresolved external symbol __imp_FlutterDesktopPluginRegistrarSetDestructionHandler referenced in function "public: class flutter::PluginRegistrarWindows * __cdecl flutter::PluginRegistrarManager::GetRegistrar(struct FlutterDesktopPluginRegistrar *)" (??$GetRegistrar@VPluginRegistrarWindows@flutter@@@PluginRegistrarManager@flutter@@QEAAPEAVPluginRegistrarWindows@1@PEAUFlutterDesktopPluginRegistrar@@@z) [C:\Users\crylog\project\Malt_IMAC\printconf\build\windows\plugins\flutter_libserialport\flutter_libserialport_plugin.vcxproj]
flutter_libserialport_plugin.obj : error LNK2019: unresolved external symbol __imp_FlutterDesktopPluginRegistrarGetView referenced in function "public: __cdecl flutter::PluginRegistrarWindows::PluginRegistrarWindows(struct FlutterDesktopPluginRegistrar *)" (??0PluginRegistrarWindows@flutter@@qeaa@PEAUFlutterDesktopPluginRegistrar@@@z) [C:\Users\crylog\project\Malt_IMAC\printconf\build\windows\plugins\flutter_libserialport\flutter_libserialport_plugin.vcxproj]
flutter_wrapper_plugin.lib(plugin_registrar.obj) : error LNK2019: unresolved external symbol __imp_FlutterDesktopPluginRegistrarGetMessenger referenced in function "public: __cdecl flutter::PluginRegistrar::PluginRegistrar(struct FlutterDesktopPluginRegistrar *)" (??0PluginRegistrar@flutter@@qeaa@PEAUFlutterDesktopPluginRegistrar@@@z) [C:\Users\crylog\project\Malt_IMAC\printconf\build\windows\plugins\flutter_libserialport\flutter_libserialport_plugin.vcxproj]
flutter_wrapper_plugin.lib(plugin_registrar.obj) : error LNK2019: unresolved external symbol __imp_FlutterDesktopRegistrarGetTextureRegistrar referenced in function "public: __cdecl flutter::PluginRegistrar::PluginRegistrar(struct FlutterDesktopPluginRegistrar *)" (??0PluginRegistrar@flutter@@qeaa@PEAUFlutterDesktopPluginRegistrar@@@z) [C:\Users\crylog\project\Malt_IMAC\printconf\build\windows\plugins\flutter_libserialport\flutter_libserialport_plugin.vcxproj]
flutter_wrapper_plugin.lib(core_implementations.obj) : error LNK2019: unresolved external symbol __imp_FlutterDesktopMessengerSend referenced in function "public: virtual void __cdecl flutter::BinaryMessengerImpl::Send(class std::basic_string<char,struct std::char_traits,class std::allocator > const &,unsigned char const *,unsigned __int64,class std::function<void __cdecl(unsigned char const *,unsigned __int64)>)const " (?Send@BinaryMessengerImpl@flutter@@UEBAXAEBV?$basic_string@DU?$char_traits@D@std@@v?$allocator@D@2@@std@@PEBE_KV?$function@$$A6AXPEBE_K@Z@4@@z) [C:\Users\crylog\project\Malt_IMAC\printconf\build\windows\plugins\flutter_libserialport\flutter_libserialport_plugin.vcxproj]
flutter_wrapper_plugin.lib(core_implementations.obj) : error LNK2019: unresolved external symbol __imp_FlutterDesktopMessengerSendWithReply referenced in function "public: virtual void __cdecl flutter::BinaryMessengerImpl::Send(class std::basic_string<char,struct std::char_traits,class std::allocator > const &,unsigned char const *,unsigned __int64,class std::function<void __cdecl(unsigned char const *,unsigned __int64)>)const " (?Send@BinaryMessengerImpl@flutter@@UEBAXAEBV?$basic_string@DU?$char_traits@D@std@@v?$allocator@D@2@@std@@PEBE_KV?$function@$$A6AXPEBE_K@Z@4@@z) [C:\Users\crylog\project\Malt_IMAC\printconf\build\windows\plugins\flutter_libserialport\flutter_libserialport_plugin.vcxproj]
flutter_wrapper_plugin.lib(core_implementations.obj) : error LNK2019: unresolved external symbol __imp_FlutterDesktopMessengerSendResponse referenextureFrameAvailable referenced in function "public: virtual bool __cdecl flutter::TextureRegistrarImpl::MarkTextureFrameAvailable(__int64)" (?MarkTextureFrameAvailable@TextureRegistrarImpl@flutter@@UEAA_N_J@Z) [C:\Users\crylog\project\Malt_IMAC\printconf\build\windows\plugins\flutter_libserialport\flutter_libserialport_plugin.vcxproj]
C:\Users\crylog\project\Malt_IMAC\printconf\windows\flutter\ephemeral\flutter_windows.dll.lib : warning LNK4272: library machine type 'x64' conflicts with target machine type 'ARM64' [C:\Users\crylog\project\Malt_IMAC\printconf\build\windows\plugins\flutter_libserialport\flutter_libserialport_plugin.vcxproj]C:\Users\crylog\project\Malt_IMAC\printconf\build\windows\plugins\flutter_libserialport\Debug\flutter_libserialport_plugin.dll : fatal error LNK1120: 11 unresolved externals [C:\Users\crylog\project\Malt_IMAC\printconf\build\windows\plugins\flutter_libserialport\flutter_libserialport_plugin.vcxproj]
Building Windows application...Exception: Build process failed.`
`
flutter --version
Flutter 3.3.9 • channel stable • https://github.com/flutter/flutter.git
Framework • revision b8f7f1f986 (7 days ago) • 2022-11-23 06:43:51 +0900
Engine • revision 8f2221fbef
Tools • Dart 2.18.5 • DevTools 2.15.0
`
and Windows 11 x86-64 (error is in french but it's exactly the same)
from flutter_libserialport.
Fixed in 0.4.0
from flutter_libserialport.
Related Issues (20)
- Support for Gradle 8.3.0: Define namespace HOT 2
- Problème lecture et écriture
- android support HOT 5
- Windwos Incomplete writing HOT 1
- read not working on Windows HOT 4
- Cant open port on MacOS HOT 2
- Cant open port on Windows
- Failed to load dynamic library 'libserialport.so' HOT 3
- Android: Namespace not specified
- SerialPortError: Input/output error, errno = 5
- Multiple instances of serial port reader in call stack
- Android support
- It does not send hex numbers 11 and 13 HOT 1
- IOS problem HOT 1
- How to set the baud rate ? HOT 3
- How to read serial data HOT 2
- No running
- Can't read buffer that was not empty before opening serial port (Windows) HOT 3
- How to configure baudrate and port HOT 2
- Can't run android app HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from flutter_libserialport.