On Thursday, 17 October 2013 at 00:03:15 UTC, Manu wrote:
On 16 October 2013 11:15, Brad Anderson <e...@gnuk.net> wrote:

On Tuesday, 15 October 2013 at 06:38:30 UTC, dnewbie wrote:

VS 2010 Express/Windows SDK 7.0:

dmd -m64 hello.d
Can't run 'c:\Program Files (x86)\Microsoft Visual Studio
10.0\VC\bin\amd64\link.exe', check PATH

with dmd-2.064-beta-new-sc.ini-2.**exe


I believe you need the 7.1 SDK. 7.0 does not come with the 64-bit toolset. I'm not certain about the paths in an Express/7.1 setup.


FYI, the 7.1 SDK is a downloadable SDK, it's not included with any version
of Visual Studio.
7.0 and 7.0A (included with VS2008, 2010) certainly do have 64bit libs.

The x64 compiler was available since VS2005 (I don't remember the lib path). VS2008 uses the 'Microsoft SDKs/Windows/v7.0', and VS2010 uses 'Microsoft
SDKs/Windows/v7.0A'.
The 7.1 package that you can download if obviously in 'Microsoft
SDKs/Windows/v7.1'.

VS2012 was the first to support Windows 8 and the 'metro' API, and for some
reason they messed around with the traditional lib paths.
The new location is the weird 'Windows Kits\8.0'.

I was referring only to VS 2010 Express which does not include a compiler/linker capable of building 64 bit code. You can get them with the 7.1 SDK though.

More information: http://stackoverflow.com/questions/1865069/how-to-compile-a-64-bit-application-using-visual-c-2010-express

Reply via email to