in this tutorial i will use NetBeans IDE you can download it from here.
before configuring your IDE you need to install gtkmm first if isn't installed in your computer you need to see this post how to install gtkmm on windows 7/8/10
This installation and cofiguration steps is work on all Windows machines (7, 8 a 10).
go to control panel > System > Advanced system settings > Environment variables and find "Path" under "System variables" select it and click edit button and add ; before "C:\msys32\usr\bin"
click ok, ok, ok.