1)
first step install gcc with the next guide:
http://www.codebind.com/cprogramming/install-mingw-windows-10-gcc/
2)
install software (e.g. FX3) SDK I downloaded the installer from here:
http://dlm.cypress.com.edgesuite.net/akdlm/downloadmanager/software/FX3SDKSetup_1.3.4.exe
3)
clone or download the c++ project
4)
make a "build" folder in the main code directory
5)
write command:
cmake .. -G "MinGW Makefiles"
and then
mingw32-make