Downloading Windows SDK

May 29, 2012 at 2:17am
Hello I am trying to download the Windows SDK so I can follow a socket programming tutorial. The problem is when I tried to click the link from the Microsoft page to go to the Windows SDK download page it asked me to log in to a Windows Live account. So I created an account, and tried the link again. When I click it, I get taken to my home page on windows live. Any link that I find that says download Windows SDK I get sent to my home page.

on the bottom of that page there is a link that says developers, when I click that the only thing I can find is the LiveSDK which has the ios and the android files.

I get a no such file error on this line: '#include <sdkddkver.h>' when following the tutorial and from searching around I found that I need to get the Windows SDK.
May 29, 2012 at 3:23am
May 29, 2012 at 4:19am
this is so weird...that link also redirects me back to my inbox for windows live

were you able to get that link open..?
Last edited on May 29, 2012 at 4:51am
May 29, 2012 at 6:27am
This is the direct link to ISO image:
http://download.microsoft.com/download/F/1/0/F10113F5-B750-4969-A255-274341AC6BCE/GRMSDK_EN_DVD.iso

Copy and paste in your download manager.

If this does not work could let me know and I will upload somewhere for you.
Last edited on May 29, 2012 at 6:29am
May 29, 2012 at 3:18pm
Thank you very much! I am downloading it right now.
Jun 1, 2012 at 5:42am
Hey modoran I tried installing that ISO image and it says I need to install .NET 4 and gives me this link: http://go.microsoft.com/fwlink/?LinkID=187668 When I try to download that file it asks me to log in and I get the same problem with it re-directing me back to my inbox, I can't download it. Do you have a direct link to that ISO too? Thanks
Jun 1, 2012 at 5:54am
Just use Windows Update from the Start menu. .Net v4 should be listed as an optional download.
Jun 1, 2012 at 6:08am
I don't see it listed in the update list for windows update, is there something I need to do to make it show up?
Jun 1, 2012 at 11:49am
This is .NET Framework 4.0 web installer:
http://download.microsoft.com/download/1/B/E/1BE39E79-7E39-46A3-96FF-047F95396215/dotNetFx40_Full_setup.exe

If it does not work, try the offline version:
http://download.microsoft.com/download/9/5/A/95A9616B-7A37-4AF6-BC36-D6EA96C8DAAE/dotNetFx40_Full_x86_x64.exe

BTW, I think you know there is no such thing as "install ISO image", the ISO content must be either mounted as a virtual CD drive or just extracted to some folder, then execute setup.exe or something :)
Last edited on Jun 1, 2012 at 11:52am
Jun 1, 2012 at 5:22pm
Thanks again for taking the time to help newbies like me who don't even know the lingo :) I do know how to use the ISO by mounting it.

Jun 2, 2012 at 7:54am
I have installed the dotNetFramework4 but when I mount the Windows SDK and go through the setup wizard, after I click install it tells me
1
2
3
4
5
 "Installation Failed -

"A problem occurred while installing selected Windows SDK components.

Setup could not find the file WinSDK_amd64\WinSDK_amd64.msi at any of the specified source locations F:\Setup" 


it says please attempt to resolve the problem and then start Windows SDK Setup again.
Jun 2, 2012 at 3:46pm
Don't know what to say, the same iso image I used myself, on both x64 and x86 windows 7 computers.
Jun 2, 2012 at 5:04pm
Did you partition your main drive (i.e. C:\ for OS , F:\ for programs)? I was receiving similar issues with files not being found(when trying to install MSVS and the DirectX SDK). I wound up having to put both o them on my SSD and now they are functioning properly.
Jun 3, 2012 at 3:06am
F:\ appears to be the virtual drive that it is trying to install setup from, and C: is my hard drive.


Is visual studio 2008 required to make this work? i am using code blocks right now
Last edited on Jun 3, 2012 at 3:34am
Jun 3, 2012 at 3:43am
Would it be possible to extract the sdk from the virtual drive and run the setup on your hard drive?

Also the requirements would be listed on the Window SDK download page - I don't think VS is required.
Jun 3, 2012 at 4:15am
I was able to extract from the virtual drive but when I ran the setup it was no different, Installation Failed with the same message.

Jun 3, 2012 at 4:56am
If you use MinGW then the SDK will not work (you will get an error as sal.h not being found, "fix" that and you get another error), just remove sdkddkver from your code, it is absolutely NOT required (sdkddkver reference that came with the SDK it is generated by Visual Studio templates).

If you want MinGW that came with latest SDK already fixed and can compile both X86 and x64 then download this:
http://tdm-gcc.tdragon.net/download

Choose MinGW-w64 version (it will run on 32 bit winows too).

Read this for how to choose betwen x86 and x64 compilation:
http://tdm-gcc.tdragon.net/start

If wander why I recommend this instead of normal MinGW it is because normal MinGW comes with outdated headers/libraries, some of them are missing.
Jun 3, 2012 at 4:10pm
yes I am using MinGW. I am using code blocks mainly because I couldn't figure out how to set up MinGW manually and code blocks installed it automatically and I was able to start learning and making small games.

I gave it a shot and downloaded the 64 bit version you recommended from http://tdm-gcc.tdragon.net/download but after trying to change my compiler settings in code blocks to make it work but none of my projects I am working on would run so I think I give up on this for now.

I will try again when I have more experience..
Topic archived. No new replies allowed.