reason is u havent add right file to project. searching "startup_stm32......." in your project, adding it to your project director.