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.
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
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 :)
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.
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.
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).
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.