Problem with electric rules check

I’m having a problem when trying to make a very basic design.
The electric rules check gives errors I don’t really understand.
This is a description of what I do :

Click File -> New Project -> New Project
Save in forder ~/KicadProject/Programmer
Set the name to Programmer
Click Eeschema
Click Place component
Click somewhere in the schematic
Type in filter 2x05, choose the CONN_02X05 and place it somewhere
Click somewhere in the schematic
Type in filter attiny13a-p, choose the ATTINY13A-P and place it somewhere
Connect the following pins by placing wires,
Connector pin - Chip pin
1 - 5 (MOSI)
2 - 8 (VCC)
5 - 1 (RESET)
7 - 7 (SCK)
9 - 6 (MISO)
10 - 4 (GND)
Click the Place not-connected flag and click remaining pins, connector 3/4/6/8 and chip 2/3
Save schematic file
Click annotate schematic components
Click annotate and then ok
Click Perform electrical rules check
Click Run

I now get the errors
ErrType(3): Pin connected to some others pins but no pin to drive it
@(167.64 mm, 85.09mm): Pin 8 (Power input) of component IC1 is not driven (Net 1).
ErrType(3): Pin connected to some others pins but no pin to drive it
@(147.32 mm, 72.39mm): Pin 10 (Passive) of component P1 is not driven (Net 5).

I placed a +5V and a GND symbol using place power port
Then after running the check again I again get the same error with different values for the pin numbers and components so it still isn’t solved.

Using google I’ve found to possible solutions,

  1. Edit the connector and make the pins with the error a power output.
  2. Place the power ports.

For solution 1 I have no idea how to do it and I don’t think it’s a good idea to edit the component. I much prefer to use the standard components from the libraries as they should work.
Solution 2 I’ve done, but it doesn’t solve anything.

So… how do I make this work without the errors?

You must place a “power flag”.

Thanks!
Problem solved :slight_smile: