Set up Error of SharePoint foundation 2012

Hello Guys,
Recently I tried Set up of SharePoint foundation 2012 for windows 8 but failed to install it.The picture of Error is attached below for proper understanding

The Error messages gives below details:
Setup is unable to proceed due to the following error's.
This product requires windows Server 2008 R2 SP1 or above. Correct the issue(s) listed above and re-run setup.
Is there anybody who can help me to figure out this issue so i can come out with solution. Your comments and suggestions will be appreciated.
Sincerely.
