MATLAB: Sdk error while running mex file

MATLAB

I wish to run mex files in matlab, tired with this code 'mex BruteSearchMex.cpp'. I got run time error'No supported compiler or SDK was found. For options, visit http://www.mathworks.com/support/compilers/R2014a/win64.' then i download the sdk given in the link and got installation arror though i uncheck, the "Visual C++ Compilers" and "Microsoft Visual C++ 2010" components during installation.I am using windows 10. Can someone help me?