This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

What's wrong with my Keil v5 compiler that target is sometimes gets created and sometimes not?

I want to perform blinky program operation on STM32F103C8T8 using Keil v5 Compiler. I am generating C source code using STM cubemx and making Pin13 on/off with delay of 100ms. My code is https://files.fm/u/n9zbag4t

The problem is that when I click on rebuild option the code the target is created without any error https://imgur.com/a/0amDlDb

and when I click on rebuild option another time(Without any change in anything), the target is not created showing multiple errors https://imgur.com/a/OjSWF1b

The target is created when I click "rebuild" option after N no of trials (sometimes 1 or 2 and sometimes 100)
So what's wrong going with it?

Note: I am running keil as administrator. Also ,I tried to install previous packs but same result. I have formatted my c drive ,installed WINDOWS 7 ultimate setup Then I reinstalled keil v5 too but no change at all