you did not used wed ok..
but you have a main.c perhaps or wdl file.. that fle must contain in that case the WINDOW definition? or the one you have is wrong