Visual Studio Linker Problem

Johan Engelen via Digitalmars-d-learn digitalmars-d-learn at puremagic.com
Tue Oct 18 00:39:39 PDT 2016


On Tuesday, 18 October 2016 at 05:23:15 UTC, Jason C. Wells wrote:
> 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.

Does `ldc2 hello.d` also fail in cmd.exe?

> [snip
>
> I see mention of a "vcvarsall.bat" file that might set my paths 
> correctly, but this file is not found on my system.

LDC's amd64.bat script should complain about it not being able to 
find "vcvarsall.bat".

> I see mention of a VCINSTALLDIR variable which is not set on my 
> system.

That's expected, that variable is set by one of VS's batch 
scripts.

-Johan


More information about the Digitalmars-d-learn mailing list