Requirements¶
IDEA plugins¶
To work comfortably with native code, the following plugins are required:
- Native-Kt Utils (project's plugin)
- C and C++
- CMake
- Native Build Tools
Platform configuration¶
Regardless of platform, you need to have CMake installed.
The project only supports compilation via clang, so please follow the instructions below.
-
Windows
- Install MSYS2, open
clang64.exe - Update packages:
-
Install
clangandmakepackages: -
Check
Pathin environment variables:
- Install MSYS2, open
-
macOS
Install Xcode Command Line Tools or Xcode and run it once.
-
Linux
It is required to have
clangandmakeinstalled. Please follow your own distribution instructions.- Debian:
- Arch:
Additional platform configuration¶
Some targets require special compilation tools.
-
Android
- Install Android SDK
- Install
NDKviasdkmanager - Check
ANDROID_HOMEin environment variables
Tip
You can simply install Android Studio and set up NDK in UI.
-
Web
- Install Emscripten
- Check
EMSDKin environment variables