Git Product home page Git Product logo

Comments (2)

ciborg971 avatar ciborg971 commented on August 19, 2024

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.

lucafabbri avatar lucafabbri commented on August 19, 2024

Fixed in 0.4.0

from flutter_libserialport.

Related Issues (20)

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.