On Wednesday, 14 December 2016 at 12:06:01 UTC, rumbu wrote:
On Wednesday, 14 December 2016 at 11:06:10 UTC, aberba wrote:
[...]
If he runs the command in an already open console window,
that's normal. A new console window launch will be enough to
know about the recent environment path change.
[...]
Visual Studio doesn't work directly with source files, but with
project files. This is not D-specific. I'm sure that if you
edit a simple .c file in Visual Studio, it will never launch
the C compiler. Create a new project (Console Application) and
it will work.
[...]
I think this is also a environment variables problem, the
linker needs some libs and does not know how to find them. Ask
Cortana for "D2 32-bit Command Prompt", this batch file will
open a new command prompt with all the environment variables
properly set.
Thanks. The coolest part is cortona. :)