native_cpp
A new Flutter plugin project.
Getting Started
This project is a starting point for a Flutter plug-in package, a specialized package that includes platform-specific implementation code for Android and/or iOS.
For help getting started with Flutter development, view the online documentation, which offers tutorials, samples, guidance on mobile development, and a full API reference.
Environment
Android
macOS - Android Studio
iOS
macOS - XCode
macOS
macOS - XCode
Windows
macOS - Parallels - Windows 11
Linux
macOS - Parallels - Ubuntu 20.04
-
Install cmake
sudo apt install cmake
-
Install flutter
mkdir ~/development && \ cd ~/development && \ git clone https://github.com/flutter/flutter.git -b stable && \ echo 'export PATH="$PATH:$HOME/development/flutter/bin"' >> ~/.bashrc && \ source ~/.bashrc && \ sudo apt install curl && \ flutter precache
-
Build cppRobotics
cd ~/development && \ git clone git@github.com:finani/EasyRobotics.git && \ cd EasyRobotics/cppRobotics && \ git submodule update --init && \ mkdir build && \ cd build && \ cmake .. && \ cmake --build .
-
Run flutter
cd ~/development && \ cd EasyRobotics/example && \ sudo apt install clang ninja-build libgtk-3-dev && \ flutter doctor -v && \ flutter run -d linux