I followed [“this tutorial”][1] and had to make minor changes to get it to compile, however I still get the errors below whenever I uncomment lines 20, 27 or 34 from the attached screenshot, I’m doing this from a Mac.
Undefined symbols for architecture x86_64:
“SCompoundWidget::OnPaint(FGeometry const&, FSlateRect const&, FSlateWindowElementList&, int, FWidgetStyle const&, bool) const”, referenced from:
vtable for SMyUIWidget in MyHUD.cpp.o
“SWidget::OnHitTest(FGeometry const&, FVector2D)”, referenced from:
vtable for SMyUIWidget in MyHUD.cpp.o
“SWidget::OnKeyboardFocusReceived(FGeometry const&, FKeyboardFocusEvent const&)”, referenced from:
vtable for SMyUIWidget in MyHUD.cpp.o
“SWidget::OnKeyChar(FGeometry const&, FCharacterEvent const&)”, referenced from:
vtable for SMyUIWidget in MyHUD.cpp.o
and the list of errors
goes on