SFML community forums

Help => General => Topic started by: lori3 on October 21, 2017, 07:39:50 pm

Title: windows.h and time.h not accepted by the compiler
Post by: lori3 on October 21, 2017, 07:39:50 pm
Hi.
I recently created a super mario game in windows 7.

https://youtu.be/9vcxNRgnGiY

Since then i had to reinstall windows and i choose to install windows 10 instead of 7.
The problem is that the windows.h and time.h packages are accepted no more by the compiler. It says cannot open source file.

How can i fix this ?

(link for download is in the description)
Title: Re: windows.h and time.h not accepted by the compiler
Post by: eXpl0it3r on October 21, 2017, 07:57:09 pm
Make sure you have installed the Windows SDK. And that you're using the right SDK for your project.

If you use VS 2017, then you can simply tick a checkbox in the VS installer.