D
D
Dima_Demichev2016-07-07 19:48:25
C++ / C#
Dima_Demichev, 2016-07-07 19:48:25

Error compiling project in c++, how to fix?

When compiling any project, this error occurs.
d315eb9a31984b47b9830a4803721ed8.png
The output says:
1>------ Build started: project: Hello world, Configuration: Debug Win32 ------
1>C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0 \V140\Platforms\Win32\PlatformToolsets\v140\Toolset.targets(34,5): error MSB8036: The Windows SDK version 8.1 was not found. Install the required version of Windows SDK or change the SDK version in the project property pages or by right-clicking the solution and selecting "Retarget solution".
========== Build: Success: 0, Errors: 1, No Change: 0, Skipped: 0 ==========

Answer the question

In order to leave comments, you need to log in

2 answer(s)
G
GavriKos, 2016-07-07
@GavriKos

Well, everything is written in error. The required SDK version was not found. Change solution target or set SDK. Or a mistake in Google and see what they advise.

G
Gokilla, 2018-02-19
@Gokilla

just create a new visual c ++ project, and there you choose to install sdk and stuff

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question