In PopupMenu doxygen documentation :
menu.showMenu (PopupMenu::Options().withMaximumWidth (100),
.withMaximumNumColumns (3)
.withTargetComponent (myComp));
Seems wrong, as “withMaximumWidth()” don’t exist.
Also, looks like you also need to remove the comma after
Salvator