are you sure target.bmp is surrounded by quotation marks?

and BMAP* is lite-c, so you will have to rename your file to have a .c extenstion.