Skip to content

Latest commit

 

History

History
68 lines (52 loc) · 1.51 KB

File metadata and controls

68 lines (52 loc) · 1.51 KB

Building OpenEEBUS by NIBE for Linux

This document explains how to build and run OpenEEBUS by NIBE on a Linux system for development and testing.

Dependencies Installation

Make sure you have installed the required dependencies. This includes the development files needed, such as headers and CMake configuration files.

You also need to make sure you have a GCC toolchain with CMake installed.

Building One of the Examples

  1. Create a build subdirectory under the repository and change working directory to it
    mkdir build && cd build
  2. Run CMake to configure the project. In the example we use the ninja build tool, but other build tools should work similarly.
    cmake -GNinja ..
  3. Build the application
    ninja

Running the Examples

The examples are built within the OpenEEBUS repository and no additional repository is needed.

hems Example

cd build
./hems

heat_pump Example

cd build
./heat_pump

Building and Running the Unit Tests

  1. Start by creating a build subdirectory under the tests
    cd tests && mkdir build && cd build
  2. Configure the project using CMake. In this example we use the ninja build tool.
    cmake -GNinja ..
  3. Build the project
    ninja
  4. Run the unit tests
    ctest