Reputation: 1
I am trying to utilize Pigeon within Flutter to establish communication with C++ code on the Windows platform. While there are ample examples online for communication with Android and iOS, I haven't found any regarding Windows interaction. Following examples related to Android and iOS, I have successfully implemented communication with Kotlin. However, I haven't come across examples for Windows interaction. The official documentation for Pigeon seems to focus on writing plugins rather than apps. I have generated code according to Pigeon's documentation and written C++ implementation. However, I am unsure of how to compile the code, especially modifying the CMakeLists.txt, and successfully run the Windows program. Can someone provide a simple yet comprehensive example, such as calling the C++ add() function and displaying the result on the screen?
I have followed the Pigeon documentation to generate code and written the C++ implementation. However, I am struggling with compiling the code, particularly modifying the CMakeLists.txt, and running the Windows program successfully. I expected to find examples or documentation specifically addressing Windows platform interaction using Pigeon, but I haven't found any so far.
Upvotes: 0
Views: 177