LifeMeterBar.cpp #define METER_BG_COLOR THEME->GetMetricC(m_sName,"BackgroundColor"); then later, in LifeMeterBar::LifeMeterBar, m_quadBlackBackground.SetDiffuse( METER_BG_COLOR ); This line won't compile.