diff --git a/examples/lighting-app/linux/BUILD.gn b/examples/lighting-app/linux/BUILD.gn index 1ca00e2f431381..cfa89da29e0594 100644 --- a/examples/lighting-app/linux/BUILD.gn +++ b/examples/lighting-app/linux/BUILD.gn @@ -51,6 +51,7 @@ executable("chip-lighting-app") { deps += [ "${chip_root}/examples/common/imgui_ui", "${chip_root}/examples/common/imgui_ui/windows:light", + "${chip_root}/examples/common/imgui_ui/windows:occupancy_sensing", "${chip_root}/examples/common/imgui_ui/windows:qrcode", ] } diff --git a/examples/lighting-app/linux/main.cpp b/examples/lighting-app/linux/main.cpp index 1a69bd92a930e4..0e51568049b327 100644 --- a/examples/lighting-app/linux/main.cpp +++ b/examples/lighting-app/linux/main.cpp @@ -30,6 +30,7 @@ #if defined(CHIP_IMGUI_ENABLED) && CHIP_IMGUI_ENABLED #include #include +#include #include #endif @@ -94,6 +95,7 @@ int main(int argc, char * argv[]) example::Ui::ImguiUi ui; ui.AddWindow(std::make_unique()); + ui.AddWindow(std::make_unique(chip::EndpointId(1), "Occupancy")); ui.AddWindow(std::make_unique(chip::EndpointId(1))); ChipLinuxAppMainLoop(&ui);