VehicleArrowOutline image doesnot load

If i build the source code and then run the ardupilot simulation, QGC is able to get the location of vehicle and the VehicleArrowOutline image appears on the screen.

But if i run the ardupilot simulation and then build the source code, QGC is not able to get the location of vehicle and the VehicleArrowOutline image appears on the screen.
But i am able to create,upload,fly according to the plan. But the logo/image alone doesnot appear.