compile ok with cursor (gui_export)