Configuring the development environment
Configuring the development environment
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 solutions based on KasperskyOS:
- Install code editor extensions and plugins for your programming language (C and/or C++).
- Add the header files included in KasperskyOS Community Edition to the development project.
The header files are located in the directory:
/opt/KasperskyOS-Community-Edition-<version>/sysroot-aarch64-kos/include.
Example of how to configure Visual Studio Code
For example, during KasperskyOS development, you can work with source code in Visual Studio Code.
To more conveniently navigate the project code, including the system API:
- Create a new workspace or open an existing workspace in Visual Studio Code.
A workspace can be opened implicitly by using the
File>Open foldermenu options. - Make sure the C/C++ for Visual Studio Code extension is installed.
- In the
Viewmenu, select theCommand Paletteitem. - Select the
C/C++: Edit Configurations (UI)item. - In the
Include pathfield, enter/opt/KasperskyOS-Community-Edition-<version>/sysroot-aarch64-kos/include. - Close the
C/C++ Configurationswindow.
Did you find this article helpful?
What can we do better?
Thank you for your feedback! You're helping us improve.
Thank you for your feedback! You're helping us improve.