Frage

I got a project from my friend and when I try to build it I'm getting following error.

fatal error C1189: #error : Your version of the Windows SDK is earlier than 6.0. Try setting the 'WINVER' and '_WIN32_WINNT' definitions in your project to less than 0x0600.

Using VS2008 on Windows 7 x64

Please help to overcome from this error.

War es hilfreich?

Lösung

The cause of this error is that the version of the Windows SDK built into your VS2008 environment is older than the project you're trying to build. It isn't supposed to work.

What do do? It is unlikely (but not impossible) that editing something somewhere will fix it. I wouldn't do that.

You could update your VS to a later version. That would be the best solution.

You could recreate the project supplied by your friend by transferring the files to a new project created on your VS2008.

Lizenziert unter: CC-BY-SA mit Zuschreibung
Nicht verbunden mit StackOverflow
scroll top