Microsoft SDK Compilation Error

Post Reply
Posts: 824
Joined: Tue Mar 13, 2012 9:53 am

Microsoft SDK Compilation Error

Post by mark.monroe »

Below is a screenshot of a Windows 7 machine that only has iX Developer 2.0.356 installed on it. If you uninstall one of the packages that iX needs you may get compilation errors when you Build your project.
Snap 2012-09-24 at 10.03.37.jpg
Snap 2012-09-24 at 10.03.37.jpg (84.86 KiB) Viewed 20766 times
If you do not have Microsoft Windows SDK for Windows 7 installed on your machine you will get the below warning.
Snap 2012-09-24 at 10.09.37.png
Snap 2012-09-24 at 10.09.37.png (193.86 KiB) Viewed 20766 times
Best Regards,
Mark Monroe

Beijer Electronics, Inc. | Applications Engineer

Posts: 0
Joined: Tue Nov 12, 2013 11:46 am

Microsoft SDK Compilation Error

Post by john.raynes »

Referencing Mark's post immediately above, regarding the need to possibly install the Microsoft Windows SDK for Windows 7 in some cases -

You may find that you have issues with the Microsoft SDK installer not successfully completing the installation. There are numerous types of error messages that can occur, and you will find explanations for many of these with a quick Internet search. There is one type of SDK installation failure that occurs with some frequency so we thought it would be worthwhile to post the fix here.

In the screen cap below, this particular computer had one or more Microsoft Visual C++ 2010 Redistributable packages installed. They will typically show up as a version 10.0.3xxxx or 10.0.4xxxx.

VC_Redist_2010 conflicts.png
VC_Redist_2010 conflicts.png (150.48 KiB) Viewed 18718 times

If these are installed PRIOR to attempting to install the Windows 7 SDK, the SDK installer will attempt to copy previous versions of some critical system files during installation, and will fail without any meaningful indication of the problem. The solution is to uninstall the redistributables, install the Windows 7 SDK, then reinstall the redistributables (or re-install/repair the application that originally installed them).
John Raynes
Senior Field Applications Engineer
Beijer Electronics, Inc.

Post Reply