Speacial thanks to @Deniz !
- right click on "my computer" => properties .
- on the right select "Advanced system settings".
- open "Enviormentvariables"
- search for "path"
- select Edit
- you'll have a list of paths, hit "end" on your keyboard to make sure you are at the end of this list.
- then add ";" to close the previous path and add the path to your MinGW/bin location. (by default C:\MinGW\bin).
result in adding ";C:\MinGW\bin"