compile gui with -Wall