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

how to use in window platform #1

Open
thitlwincoder opened this issue Jun 26, 2023 · 2 comments
Open

how to use in window platform #1

thitlwincoder opened this issue Jun 26, 2023 · 2 comments

Comments

@thitlwincoder
Copy link

When I use this package in window, I got this error. How I fix ?

CMake Error at flutter/ephemeral/.plugin_symlinks/smart_bluetooth_pos_printer/windows/CMakeLists.txt:11 (add_library):
Cannot find source file:

smart_bluetooth_pos_printer_plugin.cpp
@alexandrousdev
Copy link

Hello, I ran into the same problem, were you able to solve it?

@juanprog
Copy link

juanprog commented Nov 8, 2024

Same problem here!

CMake Error at flutter/ephemeral/.plugin_symlinks/smart_bluetooth_pos_printer/windows/CMakeLists.txt:11 (add_library):
  Cannot find source file:

    smart_bluetooth_pos_printer_plugin.cpp

  Tried extensions .c .C .c++ .cc .cpp .cxx .cu .mpp .m .M .mm .ixx .cppm .h
  .hh .h++ .hm .hpp .hxx .in .txx .f .F .for .f77 .f90 .f95 .f03 .hip .ispc


CMake Error at flutter/ephemeral/.plugin_symlinks/smart_bluetooth_pos_printer/windows/CMakeLists.txt:11 (add_library):
  No SOURCES given to target: smart_bluetooth_pos_printer_plugin


CMake Generate step failed.  Build files cannot be regenerated correctly.
Building Windows application...                                     6,2s
Error: Unable to generate build files

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

3 participants