I am working my way up to building NanoVG per my previous post.
I am able to compile hello world using dmd2. I am running in
cygwin because I understand bash way better than cmd.exe.
I am unable to compile hello world using ldc2. I am interested in
ldc because I am interested in compiling to different arch-es and
I happen to be a FreeBSD guy which uses LLVM by default. I figure
that what I learn in LDC under windows will be portable for me.
I received this error:
$ ldc2 hello.d
Using Visual C++: C:\Program Files (x86)\Microsoft Visual Studio
LINK : fatal error LNK1104: cannot open file 'libucrt.lib'
Error: `C:\Windows\system32\cmd.exe /s /c
"C:\Users\jcw\Documents\Projects\Programming\dlang\ldc2-1.1.0-beta3-win64-msvc\bin\amd64.bat link.exe"` failed with status: 1104
The file "libucrt.lib" is found in several VS folders.
I am sure that this is some path issue, but I'm not savvy on
VisualStudio. I read some scary messages about this error in
other parts of the forum from about a year ago. Hopefully the
solution is easier than what I read in that thread.
I see mention of a "vcvarsall.bat" file that might set my paths
correctly, but this file is not found on my system.
I see mention of a VCINSTALLDIR variable which is not set on my
Jason C. Wells