BMAP* open_bmp ="open.bmp";

you missed the panel* <-- (*)
PANEL* level_pan =
{
pos_x = 0;
pos_y = 0;
layer = 1;
bmap = open_bmp;
flags = SHOW;
}