Talk:LDC

From D Wiki
Revision as of 18:24, 24 January 2015 by Taylorh140 (talk | contribs)
Jump to: navigation, search

So I was attempting to get the prebuilt binaries up and running for MSVC but ran into some trouble.

I did the following:

Downloaded ldc2-0.15.1-win64-msvc.zip Extracted contents to a folder on the c:\ drive added the bin folder to the path Tried to compile Helloworld.d with "ldc2 Helloworld.d"

Got "missing dll" error so

Installed MS C++ 2013 redistributable. Tried to compile Helloworld.d with "ldc2 Helloworld.d"

Noticed that it was "*d.dll" that was missing meaning debug

Installed MS Visual studio express 2013 Tried to compile Helloworld.d with "ldc2 Helloworld.d"

Got "cannot find link.exe"

Added "C:\Program Files\Microsoft Visual Studio 12.0\VC\bin" to the path

Got "LINK : fatal error LNK1181: cannot open input file 'kernel32.lib'"

and now I have no idea what to do next? If there is a guide to get setup that would be nice to link here :)

So I found that this may be has to do with not having the Windows sdk installed.

I installed the windows sdk and added the C:\Program Files (x86)\Microsoft SDKs\Windows\v7.0A\Lib\ to the path ( it contains kernel32.lib )

I still get

LINK : fatal error LNK1181: cannot open input file 'kernel32.lib'