Detect config options for gslc-ex18
Ensure GSLC_FEATURE_COMPOUND enabled
#include "GUIslice_ex.h"
#include "GUIslice_drv.h"
+// Ensure optional compound element feature is enabled in the configuration
+#if !(GSLC_FEATURE_COMPOUND)
+ #error "Config: GSLC_FEATURE_COMPOUND required for this example but not enabled. Please update GUIslice_config."
+#endif
+
// Defines for resources
#define IMG_BKGND "back1_24.bmp"
