This section provides brief instructions on configuring the development environment and adding the header files included in KasperskyOS Community Edition to a development project.
Configuring the code editor
Before getting started, you should do the following to simplify your development of KasperskyOS-based solutions:
The header files are located in the following directory: /opt/KasperskyOS-Community-Edition-<platform>-<version>/sysroot-*-kos/include.
Example of how to configure Visual Studio Code
KasperskyOS Community Edition includes the KasperskyOS SDK Extension for Visual Studio Code, which integrates KasperskyOS Community Edition with the source code editor known as Visual Studio Code.
The KasperskyOS SDK Extension for Microsoft Visual Studio Code is provided only in the QEMU emulator SDK and intended only for this SDK version.
Instead of installing the extension, you can also manually add the header files included in KasperskyOS Community Edition to the development project.
To more conveniently navigate the project code, including the system API:
A workspace can be opened implicitly by using the File > Open folder menu options.
View menu, select the Command Palette item.C/C++: Edit Configurations (UI) item.Include path field, add the path /opt/KasperskyOS-Community-Edition-<platform>-<version>/sysroot-*-kos/include.C/C++ Configurations window.