-
Developer Guides Overview
-
Application Framework Bindings
-
Application Framework Bindings C
- Using the data
- How to write a binding version 4
- Developping bindings on a desktop
- Bindings Version 4 References
- How to write a binding version 3
- Migration from v3 to v4 guide
- Bindings Version 3 References
-
Application Framework
-
Binder's client tool
-
Using the CMAKE Applications Module
-
Controller Guides
-
AFB Helper Guide
-
Monitoring
Installing CMake Templates
You can install CMake templates on your native Linux system.
In order to use the templates, you need to install them as a CMake module. On your native Linux system, use your distribution’s package manager. See the “Prerequisites” section for how to install packages using your distribution’s package manager.
Installing on Debian or Ubuntu
Use the following command to install CMake Application Module on a native Debian or Ubuntu system:
sudo apt-get install afb-cmake-modules
Installing on Fedora
Use the following command to install CMake Application Module on a native Fedora system:
sudo dnf install afb-cmake-modules
Installing on OpenSUSE
Use the following command to install CMake Application Module on a native OpenSUSE system:
sudo zypper install afb-cmake-modules
Troubleshooting
During your building, you may face this error :
CMake Error at conf.d/cmake/config.cmake:189 (include):
include could not find requested file:
CMakeAfbTemplates
Call Stack (most recent call first):
CMakeLists.txt:20 (include)
In the config.cmake
file located in your application’s conf.d/cmake
directory, add the following line at the end of the file before including CMakeAfbTemplates :
set(CMAKE_MODULE_PATH ${CMAKE_MODULE_PATH} /usr/share/cmake-3.16/Modules)